summaryrefslogtreecommitdiff
path: root/java/common/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5903 : [Java Broker] allow character escaping for JSON in configured ↵Robert Godfrey2014-07-182-10/+132
| | | | | | object attribute interpolation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1611657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5892: SSL Sender may spuriously timeout if SSL negotiation failsKeith Wall2014-07-131-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1610251 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5754 : [Java Broker] Make state change operations methods rather than ↵Robert Godfrey2014-05-085-71/+36
| | | | | | calls to setDesiredState git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1593264 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5702: upgrade JUnit dependency from version 3.8.1 to 4.11, change ↵Robert Gemmell2014-04-221-32/+32
| | | | | | | | imports etc to remove deprecation notices Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1589144 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5715: [Java Broker] Add virtual host node to the model and refactor ↵Keith Wall2014-04-211-0/+4
| | | | | | existing broker functionality to conform the new model. Save configuration model version as VHN attribute and refactor the upgraders and configuration recovery. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1588886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5672 : [Java Broker] move variable interpolation to the configured objectRobert Godfrey2014-04-091-13/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1585979 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5600: Advance the version number on trunk to 0.29Justin Ross2014-03-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1579690 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5611 : [Java Broker] remove LogActorsRobert Godfrey2014-03-071-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1575315 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5602: change log level to info, include socket address in message, ↵Robert Gemmell2014-03-051-1/+1
| | | | | | report only the exception type and message rather than logging full stackrace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1574506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5596 : [Java] Address bugs found by FindBugsRobert Godfrey2014-03-031-22/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1573586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5551 : Remove uses of AMQException, add ServerScopedRuntimeException ↵Robert Godfrey2014-02-142-89/+0
| | | | | | and ConnectionScopedRuntimeException git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1568235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : refactring of queues, and introduce management node and ↵Robert Godfrey2014-02-111-2/+2
| | | | | | amqp-management module git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1567026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5512: suppress exception sometimes seen due to race while closing the ↵Robert Gemmell2014-01-241-1/+6
| | | | | | | | socket on Windows, prevent erroneous ConnectionTest failures. Patch supplied by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1561000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : initial refactoring to move common code into shared classes, ↵Robert Godfrey2014-01-2211-407/+12
| | | | | | make transports work similarly with respect to message routing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560424 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: logging and build output cleanupRobert Gemmell2014-01-223-8/+43
| | | | | | Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5065: modifications to get more tests running on windows (both ant and ↵Keith Wall2014-01-174-7/+90
| | | | | | | | | | | | maven). Also - Fixed the jca/rar pom module name, it should be qpid-ra not qpid-rar. - Added project details such as Website, Mailing List, SCM. Patch submitted by Andrew MacBean <andymacbean@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1559096 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5342 : [Java Client] 0-10 client does not close connection when ↵Robert Godfrey2014-01-153-6/+27
| | | | | | heartbeat timeout interval has been exceeded git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5478: elapsed time calculation should use a simple assignment, rather ↵Robert Gemmell2014-01-141-1/+1
| | | | | | than a compound addition+assignment which could lead to erroneous accumulation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5472: [Java Broker] Exceptions used to report bind port failure ↵Keith Wall2014-01-121-1/+1
| | | | | | (AMQP/HTTP) now includes port id/name/number too git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1557591 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5373: move retrieval of the peer Principal into the connection IO ↵Robert Gemmell2014-01-114-35/+28
| | | | | | thread, retrieving from the NetworkConnection during the AMQP handshak after the SSL handshake must have already been completed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1557467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5420: Restore ability to consume using BURLs specifying default exchange.Keith Wall2014-01-071-0/+6
| | | | | | | | | | | | * Java Broker: Changed AbstractVirtualHost so that createExchange throws ExchangeExistException before checking for a reserved exchnage name. The effect will be that the Java Broker will again accept active declaration of the built in exchanges (amq.*, qpid.* and default). * Java Broker: Changed the 0-8..0-9-1 ExchangeBoundHandler so that a null exchnage name is treated to mean the default exchange. This matches the behaviour of ServerSessionDelegate#exchangeBound() on the 0-10 path. This allows the Java client to query bindings on the default exchange. * Client: Changed AbstractAMQMessageDelegate.java so that 0-10 knows the type of the default exchange when populating the JMSDestination on received messages. * Client: Introduced system property qpid.bind_queues system property so that the exchange/queue bind side effect can be suppressed on consumer creation. Like qid.declare_exchanges and declare_queues, this system propery has effect when using BURLs. Might be useful if using a new client with older broker. * Added new system tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556292 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5282: Change IoSender to cause the socket to be closed after a sender ↵Keith Wall2013-11-201-28/+52
| | | | | | | | | | timeout IoSender#send now causes the socket to be closed in response to a sender timeout (in addition to the SenderException). Note that this code path avoids the close causing the sender thread join (as this would most likely timeout too). Also improved log/exception messages to include the remote socket address (to aid problem diagnosis). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1543721 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5255: Change trunk version to 0.27Justin Ross2013-11-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1541283 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4534: unify client heartbeat system properties/connection url options.Keith Wall2013-10-308-148/+202
| | | | | | | | | | | * Connection url 'heartbeat' broker-option (and deprecated 'idle_timeout') now understood for all protocols * System property 'qpid.heartbeat' (and deprecated 'amqj.heartbeat.delay' and 'idle_timeout') now understood for all protocols * Enhanced heartbeat system tests * Docbook updates Original patch from Keith Wall, plus updates from Robbie Gemmell git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1537313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5223: add system property to toggle populating the 'expiration' header ↵Robert Gemmell2013-10-131-0/+7
| | | | | | with the raw TTL value instead of the actual expiration time, for interop with e.g. RabbitMQ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1531761 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5192: commit the protocol and logging files output by running the ↵Robert Gemmell2013-09-29491-0/+63972
| | | | | | updated explicit generation process git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1527366 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5184 : Setting message expiration to 0 should lead to the header ↵Robert Godfrey2013-09-272-17/+94
| | | | | | property being unset - not being set as the empty string git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1526904 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5160: add a qpid-test-utils module instead of making every modules ↵Robert Gemmell2013-09-236-809/+0
| | | | | | tests rely on the tests dir from the common module git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1525738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5157: remove unused test-only mock implementationRobert Gemmell2013-09-231-105/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1525728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5088 : [Java Broker] Isolate use of AMQShortString and FieldTable to ↵Robert Godfrey2013-08-219-149/+53
| | | | | | 0-8/9/9-1 protocol specific plugins git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1516058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5056 : [Java Broker] Change configuration model to allow for ↵Robert Godfrey2013-08-082-114/+32
| | | | | | KeyStores/TrustStores which are not JKS files on the filesystem git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1511825 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4875 : The parsing logic for certificate subjects does not work ↵Robert Godfrey2013-07-303-48/+121
| | | | | | properly in all cases git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1508680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4961: Change trunk version to 0.25Justin Ross2013-07-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1504343 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4994: Remove redundant binding URL options for subscription name and ↵Alex Rudyy2013-07-173-27/+0
| | | | | | client id git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1504185 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4659 : [Java Broker] move amqp 0-8 implementation into a pluginRobert Godfrey2013-07-161-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1503651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4943: Introduce a feature for 0-8/0-9/0-9-1 protocols to close a ↵Alex Rudyy2013-06-214-7/+57
| | | | | | connection on receiving a mandatory unroutable message in a transacted session git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1495511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4937 : [Java Broker] separate virtualhosts into different typesRobert Godfrey2013-06-191-6/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1494667 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4934 : [Java XA] Stop redundant session creation for XA Sessions, ↵Robert Godfrey2013-06-181-1/+16
| | | | | | improve logging for XA git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1494214 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4925 : [Java Broker] Timeout connections which do not complete ↵Robert Godfrey2013-06-142-1/+10
| | | | | | connection handshake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1493240 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4900: Add the server properties to the AMQP 1.0 SASL ProtocolEngine as ↵Robert Gemmell2013-06-061-5/+11
| | | | | | well. Use the same base property names for all protocol versions, using the standard 'version' and 'product' property names from AMQP 0-x specs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1490260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4904 : [Java] AMQShortString.equals should on return true if it is ↵Robert Godfrey2013-06-032-22/+15
| | | | | | being compared to another AMQShortString git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1488957 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4900 : [Java Broker] Broker should return its version to the client as ↵Robert Godfrey2013-06-021-0/+7
| | | | | | informational property in connection initiation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1488655 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4897 : [Java Broker] Allow selectors on bindings fro non-topic exchangesRobert Godfrey2013-06-011-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1488561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4873 Commiting patch by Helen Kwong.Rajith Muditha Attapattu2013-05-233-5/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1485878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4849 The previous code was assuming that "CN" was the first entryRajith Muditha Attapattu2013-05-151-2/+3
| | | | | | | in the name string. Changed the code to first find "CN" and then extract from there. testMultipleCertsInSingleStore verifies this change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1483079 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4831 : [Java Broker] Fix closedown on SSL when SSL and TCP can use same ↵Robert Godfrey2013-05-121-6/+9
| | | | | | port git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1481502 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4382 : [Java Broker] Implement the default exchange as a facade on top ↵Robert Godfrey2013-05-111-1/+1
| | | | | | of the queue registry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1481350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4831 : [Java Broker] Allow SSL and non-SSL connections on the same portRobert Godfrey2013-05-112-1/+272
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1481331 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: add missing licence headers to various java filesRobert Gemmell2013-05-051-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1479398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4739: complete support for defining multiple key/trust stores and ↵Robert Gemmell2013-04-122-2/+37
| | | | | | assigning them on a port-specific basis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1467334 13f79535-47bb-0310-9956-ffa450edef68