summaryrefslogtreecommitdiff
path: root/qpid/java/client
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@1391916 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3906 Fixed an error with the default. Added unit tests for testingRajith Muditha Attapattu2012-09-283-4/+31
| | | | | | | | | | | | StreamMessage encoding defaults. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391567 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3906 Switched the default to legacy stream message format.Rajith Muditha Attapattu2012-09-283-15/+155
| | | | | | | | | | | | | | Allows the lists to contain elements of different types. Added a set of unit tests in place of the system tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391566 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3906 List Message support for JMS.Rajith Muditha Attapattu2012-09-2811-10/+1286
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1391565 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4146 Applying patch attached by Pavel Moravec with modifications.Rajith Muditha Attapattu2012-09-251-0/+9
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1389991 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4277 The address handling code is now using the auto-deleteRajith Muditha Attapattu2012-09-211-1/+1
| | | | | | | | | | | | property when declaring the exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388650 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4340 The durable parameter from the address string is now used whenRajith Muditha Attapattu2012-09-211-1/+3
| | | | | | | | | | | | declaring the exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1388642 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4302: 0-8..0-9-1 client should sync after message.acknowledge()Keith Wall2012-09-132-10/+21
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384512 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4296: Push down 0-8..0-9-1 flow control implementation to ↵Keith Wall2012-09-113-79/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | AMQSession_0_8 (refactoring) Move method impls. isFlowBlocked(), setFlowBlocked() and checkFlowBlocked() and their associated fields down to AMQSession_0_8. On 0-10, isFlowBlocked() was already overridden to delegate to the 0-10 transport layer. The operation setFlowBlocked() makes no sense to 0-10, so will be implemented to throw UnsupportedOperationException. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1383638 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4289: Fix 0-8/0-9/0-9-1 failover issuesRobert Gemmell2012-09-105-49/+91
| | | | | | | | | | | | Applied patch from Philip Harvey <phil@philharveyonline.com> and Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1382799 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4261: extend BindingURLs to allow specifying exchange ↵Robert Gemmell2012-09-0115-224/+310
| | | | | | | | | | | | | | | | | | durable/autodelete/internal options, use the values when sending exchange declares during producer and consumer creation. Fix ExchangeDeclareHandler to set auto-delete properly (though we dont actually support it, and it was removed from the protocol in 0-9-1). Isolate AMQProtocolHandler use to the 0-8/0-9/0-9-1 specific Session/Producer/Consumer implementations that actually need it instead of letting it bleed through the abstraction and 0-10 implementations that dont use it. Add some other clarifying comments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1379748 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4250: ensure producer creation on 0-8/0-9/0-9-1 connections respects ↵Robert Gemmell2012-08-262-10/+9
| | | | | | | | | | | | the qpid.declare_exchanges system property. Add systest to highlight the issue and verify the fix. Add constants for the system properties. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1377521 13f79535-47bb-0310-9956-ffa450edef68
* | NO-JIRA: remove unused client/test folderRobert Gemmell2012-08-1424-879/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372769 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4051: use the connecttimeout option value from the BrokerDetails object ↵Robert Gemmell2012-08-123-12/+29
| | | | | | | | | | | | to control the connect() timeout via the produced ConnectionSettings object git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1372147 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3575 Changed the name of the system prop toRajith Muditha Attapattu2012-07-301-9/+12
| | | | | | | | | | | | | | "qpid.session.legacy_exception_behaviour". The system prop will now restore the old behavior. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1367241 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3575Rajith Muditha Attapattu2012-07-161-2/+3
| | | | | | | | | | | | | | | | The added a system prop to revert to the previous behavior if need be. Modified the SelectorTest#testRuntimeSelectorError test case to suit the new behavior. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362162 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3575 SessionExceptions (0-10 code path) are now marked as softRajith Muditha Attapattu2012-07-162-11/+29
| | | | | | | | | | | | | | | | | | errors. When a Session receives an exception it is closed and the exception is notified via the ConnectionListener as well. However the exception is marked as a soft-error, therefore the connection will not be closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1362161 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4111: Move trunk version numbers to 0.19Justin Ross2012-07-091-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1359235 13f79535-47bb-0310-9956-ffa450edef68
* | NO-JIRA: Add missing Apache licenses to Java source files; correct ↵Keith Wall2012-07-0211-30/+30
| | | | | | | | | | | | positioning of the license wrt to the package statement git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1356257 13f79535-47bb-0310-9956-ffa450edef68