summaryrefslogtreecommitdiff
path: root/java/client
Commit message (Collapse)AuthorAgeFilesLines
* Merge from trunk up to r1494530Robert Godfrey2013-06-193-30/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-vhost-refactor@1494534 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4904 : [Java] AMQShortString.equals should on return true if it is ↵Robert Godfrey2013-06-032-46/+46
| | | | | | being compared to another AMQShortString git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1488957 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4897 : [Java Broker] Allow selectors on bindings fro non-topic exchangesRobert Godfrey2013-06-015-139/+206
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1488561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4896: Change Drain/Spout not to assume a virtualhost named testKeith Wall2013-05-311-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1488133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4873 Commiting patch by Helen Kwong.Rajith Muditha Attapattu2013-05-234-15/+108
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1485878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4864 The JMS client needlessly holds the failover mutex whenRajith Muditha Attapattu2013-05-171-7/+4
| | | | | | creating a text message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1483877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3838 If stric-jms flag is used qpid.subject is prefixed with "JMS_"Rajith Muditha Attapattu2013-05-092-6/+56
| | | | | | | to ensure we are in compliance with the JMS spec. Without this fix we fail the JEE TCK. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1480656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4714 Moved _delegate.closeConnection method inside a finally blockRajith Muditha Attapattu2013-04-251-3/+12
| | | | | | | to ensure the TCP connection is closed in case an exception is thrown from any of the methods above. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1475810 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4751: change Hello example to remove mention of 'test' virtualhostRobert Gemmell2013-04-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1470474 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3769 Modified the equals and hashcode methods in AMQTopic to fallRajith Muditha Attapattu2013-04-012-5/+36
| | | | | | | back to AMQDestination for address strings. For BURL the existing impl will continue to work. Added AMQAnyDestination to the tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1463158 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3769 Addressed concerns raised by Alex. Expanded the tests toRajith Muditha Attapattu2013-03-261-2/+6
| | | | | | verify subject equality when determining equality for destinations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1461329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3769 Added a check to see if the subject is equal.Rajith Muditha Attapattu2013-03-261-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1461324 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4637: Change the Qpid version to 0.23Justin Ross2013-03-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1460486 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4000 : [Java Broker] Add conversion of 0-x messages to 1-0 subscriptionsRobert Godfrey2013-03-176-1122/+212
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1457482 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4549 Applying Pavel's patch.Rajith Muditha Attapattu2013-03-131-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1456131 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3769 Modified the hashcode impl to match equals. Added a test caseRajith Muditha Attapattu2013-03-132-5/+57
| | | | | | to verify equals and hashcode for ADDR based destinations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1456008 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3769 Applying a modified version of a patch from Siddesh Poyarekar.Rajith Muditha Attapattu2013-03-131-7/+25
| | | | | | | | The original patch did a literal comparison of the address strings which can cause issues if it had white spaces. The modified version matches the type and name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1456007 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4274 Applied the same fix when an exchange is deleted as the sameRajith Muditha Attapattu2013-03-071-0/+1
| | | | | | | situation could arise if the exchange gets deleted by a receiver or a producer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1454135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4274 Applied Pavel's fix of setting the resolved time to zero, butRajith Muditha Attapattu2013-03-071-0/+1
| | | | | | in a different location where the node deletes are handled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1454134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Changed the test cases to relect that username and passwordRajith Muditha Attapattu2013-03-062-5/+4
| | | | | | is optional. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1453559 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Modified the URLParser to not throw an exception if theRajith Muditha Attapattu2013-03-063-5/+16
| | | | | | | | username and password is empty. Instead once a SASL mechanism is selected we check if that mechanism needs user/pass and then throw an exception at that point. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1453558 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4617 Added a null check to clear ReplyTo.Rajith Muditha Attapattu2013-03-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1453041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4617 null is now returned when exchange and routingkey are set toRajith Muditha Attapattu2013-03-011-1/+1
| | | | | | null in a replyTo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1451727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4608 Added code to handle TransportException and any otherRajith Muditha Attapattu2013-02-281-0/+8
| | | | | | RuntimeException. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1451362 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4608 Moved the exception handling code to a method. The method alsoRajith Muditha Attapattu2013-02-282-22/+26
| | | | | | | | | | checks for authorization denied exceptions and throws a JMSSecurityException instead of a regular JMSException. This allows applications that are specifically looking for authorization failures to handle that situation.There will not be any changes required for other applications. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1451047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312: use the JMS Queue#getQueueName() implementation instead of ↵Robert Gemmell2013-02-051-1/+1
| | | | | | getName to ensure we actually report the queue name git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1442647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312: reduce visibility and narrow argument type for new check methods, ↵Robert Gemmell2013-02-053-10/+78
| | | | | | add some unit testing of config and cleanup IDT systest a little git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1442602 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4566 Allow a non UUID String to be set as message-id. This isRajith Muditha Attapattu2013-02-041-10/+9
| | | | | | | | | required when Qpid Messages are sent using a 3rd party JMS Message Producer. Ex a Message Bridge. This doesn't affect AMQP 0-10 compliance as the sender implementation will always assign an UUID string as the message-id. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1442364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312 : [Java Client] add option for verification of queue existence ↵Robert Godfrey2013-02-045-13/+76
| | | | | | during creation of a MessageProducer git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1442128 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4541 Added the ability to turn off replay at the time the sessionRajith Muditha Attapattu2013-01-252-2/+2
| | | | | | | | is created. The XASessionImpl will use this feature to turn off replay on the underlying JMS session. This prevents messages being replayed outside the boundaries of the XA transaction. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1438725 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4540 The deletion of the subscription queue is now handledRajith Muditha Attapattu2013-01-162-0/+5
| | | | | | | separately. Enchnaced an existing test case to ensure this is handled properly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1434492 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4432: addressed excessive logging in AMQStateManagerPhil Harvey2013-01-161-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433911 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4513: improve client handling of discovery that its SASL Provider has ↵Robert Gemmell2012-12-203-10/+204
| | | | | | | | | | already been registered when it attemts to do so, as occurs in cases with multiple classloaders. Verifies if the previously registered Provider matches the new Provider trying to be registerered; accepts it if it does, logs a warning if it doesnt (and logs the properties at debug to aid discovering why), and now only logs the error if we cant determine either way (rather than all the time as it did previously). Also corrects and clarifies some of the other existing logging to make it clearer. Work by Alex (orudyy) and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1424556 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: add missing licence headers to various files in the Java treeRobert Gemmell2012-12-111-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1420285 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4496 Fixed a typo in the error message and adjusted the ifRajith Muditha Attapattu2012-12-101-2/+8
| | | | | | condition to confirm to the Qpid coding style. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1419708 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4497 Allow the exclusive property to be set for the subscriptionRajith Muditha Attapattu2012-12-072-1/+6
| | | | | | | | queue. QPID-3317 We now throw an exception if a subscription queue is marked durable without providing a queue name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1418541 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4496 Added error handling to cover the cases mentioned in the JIRA.Rajith Muditha Attapattu2012-12-071-10/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1418539 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA added consumer.close() and producer.close() to Drain and Spout.Rajith Muditha Attapattu2012-12-052-1/+2
| | | | | | | | | | This allows proper demonstration of the delete keyword in addressing. Allthough session.close() does call consumer and producer close, the session is marked closed, thereby preventing the qeueue or exchange delete being sent. This is a safety mechanism to prevent a deadlock situation in the client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1417692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4473: Resolve 'stream might not be closed' issue reported by findbugs ↵Alex Rudyy2012-11-261-1/+8
| | | | | | tool in JMSObjectMessage git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1413642 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Added Java system test for heartbeatingRobert Godfrey2012-11-269-131/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1413539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2796 : Implement hearbeating in Java Broker (all protocol versions) and ↵Robert Godfrey2012-11-253-2/+24
| | | | | | Java Client (0-8/9/9-1 path) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1413376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4468: restore connection level ssl option to provide compatibility with ↵Robert Gemmell2012-11-255-3/+98
| | | | | | older client configuration, add ability to override brokerlist ssl option git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1413364 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4469: remove the unused sslContext parameter in ↵Robert Gemmell2012-11-251-23/+1
| | | | | | OutgoingNetworkTransport#connect() and cleanup associated dead code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1413363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4377: Update trunk versions to 0.21Justin Ross2012-11-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1411381 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4289, QPID-4344: restore catching of TransportExceptions when trying to ↵Robert Gemmell2012-11-032-7/+29
| | | | | | | | | close the sender in CCMH. Add TransportException to the 'connection problem' types, and catch any exceptions when trying to close the network connection as a result. Patch from Philip Harvey <phil@philharveyonline.com> plus some additional modifications of my own. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1405354 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4389: Send the selector of durable subscriber in arguments of ↵Alex Rudyy2012-10-241-7/+12
| | | | | | ExchangeBind command git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1401515 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3317 Modified the code to implement correct behavior for linkRajith Muditha Attapattu2012-10-1214-341/+589
| | | | | | | | | bindings. Added unit tests for Address Helper and two specific test cases for verifying link behavior (bindings and customization of subscription queues). Review request : https://reviews.apache.org/r/7412/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1397651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4335, QPID-4353: Refactored broker plugins to use simplified ↵Robert Gemmell2012-10-121-1/+1
| | | | | | | | | | | | | | | | ServiceLoader-based model rather than embedding Felix to use OSGi. Removed the ability to reload security configuration because this feature is not very useful in its current form and was making our code hard to refactor. Modified all tests to use jars rather than classes. This makes them closer to real-world deployments, e.g. the META-INF/services file is read from within the jar. Also moved various system tests from their respective modules into "systests". This removes the need for most modules to depend on systests, thus simplifying our dependency graph. Applied patch from myself, Keith Wall and Phil Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1397519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4352: fix break in ConnectionFactory following SSL truststore/keystore ↵Robert Gemmell2012-10-021-1/+1
| | | | | | | | | password masking in URL toString(). Makes SSLTest use a ConnectionFactory instead of instantiating AMQConnections directly, exposing this issue. Replaces horrible use of an AMQConnectionURL objects in MultipleBrokersFailoverTest and FailoverBehaviourTest (which both broke after this fix) with fully string-generated connection strings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1393034 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4352: Java client logs key_store_password/trust_store_password at debugKeith Wall2012-09-293-45/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1391916 13f79535-47bb-0310-9956-ffa450edef68