summaryrefslogtreecommitdiff
path: root/qpid/java/client
Commit message (Collapse)AuthorAgeFilesLines
...
* | QPID-4090: Bug fix: allow Java client to make connections to Java Broker ↵Keith Wall2012-06-302-3/+93
| | | | | | | | | | | | using CRAM-MD5-HASHED mechanism. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1355775 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4034: XASessionImpl should override resubscribe() for correct XAWeston M. Price2012-06-111-5/+10
| | | | | | | | | | | | | | | | failover behavior *Implemented resubscribe() in XASessionImpl *Minor cleanup, fixed typos etc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1348825 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3971: minor cleanup to remove unused variable and stop logging null ↵Robert Gemmell2012-06-041-4/+1
| | | | | | | | | | | | when no provider URL is set as this case is later logged explicitly and more clearly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346171 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4039: move some implementation-detail log statements on the ↵Robert Gemmell2012-06-042-3/+6
| | | | | | | | | | | | 0-8/0-9/0-9-1 path from info to debug to reduce verbosity and/or user confusion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346170 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4038: log the Connection number and its local and remote addresses ↵Robert Gemmell2012-06-043-3/+12
| | | | | | | | | | | | after each [re]connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1346169 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4033: remove 'Channel' from the name as it is somewhat redundantRobert Gemmell2012-05-311-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344677 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4033: update the Dispatcher thread name to include a connection id to ↵Robert Gemmell2012-05-312-6/+19
| | | | | | | | | | | | ease identifying work for individual sessions on different connections during log analysis git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1344632 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3986, QPID-4009, QPID-4017: add constants for system ↵Robert Gemmell2012-05-292-7/+9
| | | | | | | | | | | | | | | | properties/defaults. Update default values for flow control timeouts to be consistent between 0-8/9/9-1 and 0-10 client paths (60sec). Increase the 'failover method timeout' for 0-8/9/9-1 client path to 120sec. Update documentation accordingly. Work by Philip Harvey <phil@philharveyonline.com> and myself, based on review feedback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343680 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4017: reset the session flow control blocked status during failover.Robert Gemmell2012-05-291-0/+7
| | | | | | | | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343678 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4009: Make failover method invocation timeout configurable for ↵Robert Gemmell2012-05-291-1/+1
| | | | | | | | | | | | | | | | 0-8/0-9/0-9-1 amqp clients Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343677 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3986: Improved tests and resolved some potential thread-safety issuesRobert Gemmell2012-05-292-4/+5
| | | | | | | | | | | | Applied patch from Oleksandr Rudyy <orudyy@gmail.com>, Philip Harvey <phil@philharveyonline.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343675 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-4023: restore connection URL setter, add check that URL details have ↵Robert Gemmell2012-05-282-6/+34
| | | | | | | | | | | | been set before calling connect(), add unit+sys test to verify operation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1343220 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3973 : [Java] Add support for non JKS key store types (patch supplied ↵Robert Godfrey2012-05-181-0/+2
| | | | | | | | | | | | by jsightle@redhat.com) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1340191 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3990:Weston M. Price2012-05-141-4/+5
| | | | | | | | | | | | *Fixed inefficient and unnecessary log entry in XAResourceImpl.javal git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338369 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3990: Multiple XAResources isSameRM behaviorWeston M. Price2012-05-142-28/+102
| | | | | | | | | | | | | | | | | | *Track XAResource siblings in start/end methods *Added AMQXAResource interface *Added systemtest for new XAResource behavior *Refactored XAResourceTest to extend AbstractXATest git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1338355 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3994: trivial changes to the build.xml files to aid people regenerating ↵Robert Gemmell2012-05-131-0/+1
| | | | | | | | | | | | their Eclipse project files using Ant Eclipse following the Ivy related changes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337925 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3971: resolve CI failure (hopefully), make misc test improvementsRobert Gemmell2012-05-132-69/+58
| | | | | | | | | | | | | | | | | | | | | | - Use File.createTempFile to target the tmp dir, hopefully resolving the CI failure, ensure it is deleted even if the test subsequently fails. - Use QpidTestCase system property handling, ensuring modified properties are unset/restored to prior values following the test. - Move the properties used in the test internally as opposed to loading from another file. - Verify the values returned from the loaded Context are as expected an not only non-null. - Remove unused imports, fields. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337871 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3971:PropertiesFileInitialContextFactory cannot open file URIWeston M. Price2012-05-131-1/+0
| | | | | | | | | | | | | | | | *Fixed issue with unit test and temp file *Cleaned up PropertiesFileInitialContext getInitialContext() method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337830 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3994: add support for optionally retrieving FindBugs using IvyWeston M. Price2012-05-132-35/+51
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337829 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3941 Moved the printing of header information into it's ownRajith Muditha Attapattu2012-05-091-29/+34
| | | | | | | | | | | | function so that it can be reused by the other classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1336277 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3986 : [Java Broker] Add producer flow control based on total disk usageRobert Godfrey2012-05-072-0/+13
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1335290 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3791: PropertiesFileInitialContextFactory cannot open file URLWeston M. Price2012-05-031-19/+0
| | | | | | | | | | | | | | | | | | | | *Removing new test for now as absolute file path is not working on test machine *Excludes mechanism did not work to remove a single test, or the entire class *Will rework git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1333645 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3971: PropertiesFileInitialContextFactory cannot open file URLWeston M. Price2012-05-034-39/+114
| | | | | | | | | | | | | | | | | | | | *Added capability to read java.naming.provider.url from file:// URI *Added PropertiesFileInitialContextFactoryTest *Moved functionaly from old JNDIPropertiesTest to new test class *Minor cleanup. Added @SuppressWarnings annotation to PropertiesFileInitialContext git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1333586 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3864: fix licence URLRobert Gemmell2012-04-191-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1327912 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3911: Fix deadlock on concurrent invocation of MessageConsumer#close() ↵Robert Gemmell2012-04-062-21/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and Session#rollback() from consumer MessageListener This patch contains the following changes: - Add synchronization on AMSession#_messageDeliveryLock into MessageConsumer#close() in order to block until message listener in progress has completed(as required in JMS javadoc for MessageConsumer#close()). - Change the session dispatcher to stop messages delivery into consumer local message queue if the consumer in the process of closing. This eliminates the need to stop the dispatcher on rejecting pending messages for closing consumer. - Remove the synchronization on the dispatcher lock from AMQSession.Dispatcher#rejectPending and code to stop the dispatcher, as we are synchronizing on the deliveryLock now and incoming messages are not dispatched into closing consumers anymore. - Add a system test to reproduce the deadlock and verify its resolution. Applied patch from Oleksandr Rudyy <orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1310275 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3912: Client failover fails to reconnect if a previous attempted ↵Keith Wall2012-03-282-1/+7
| | | | | | | | | | | | | | | | reconnection has failed 'late' in the connection start process. Applied patch from Andrew MacBean <andymacbean@gmail.com> and myself. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1306208 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3913: Add functionality to upgrade bdbstore automatically on broker ↵Keith Wall2012-03-271-2/+5
| | | | | | | | | | | | | | | | start-up. Store message content using single chunk. Change store version to 6. Remove implementations of tuple bindings for previous versions. Applied patch from Phil Harvey<phil@philharveyonline.com> Oleksandr Rudyy<orudyy@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1305809 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3903: Session#close() should not wait forever if broker fails to ↵Keith Wall2012-03-252-22/+20
| | | | | | | | | | | | respond to channel close (0-8..0-9-1 protocols) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1304971 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3905: NullPointerException is thrown on rejecting messages whilst ↵Keith Wall2012-03-251-3/+3
| | | | | | | | | | | | closing the connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1304970 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3904: Java client should set AMQConnection#_closed flag on receipt of ↵Keith Wall2012-03-211-0/+2
| | | | | | | | | | | | 0-10 connection.close git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1303360 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3879: Session#close() on session can produce spurious "dispatcher is ↵Keith Wall2012-03-111-1/+1
| | | | | | | | | | | | not started" messages at ERROR to client logs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1299426 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3884 Applying a patch by Kevin Conner.Rajith Muditha Attapattu2012-03-082-0/+24
| | | | | | | | | | | | | | The message-acks are now sent when we "end" the transaction as opposed to sending them synchronously after each message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298564 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3885 Changed the log level for flow control messages to info (wasRajith Muditha Attapattu2012-03-081-4/+4
| | | | | | | | | | | | debug). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298556 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3885 Applying a patch by Kevin Conner.Rajith Muditha Attapattu2012-03-088-43/+81
| | | | | | | | | | | | | | | | | | For the most part it reduces noise by downgrading most log messages from info to debug. It also adds a if(logger.isDebugEnabled()) to save on any unnecessary (and potentially expensive) string concatenations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298555 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3864: Adjust version numbers on trunk for development toward 0.18Justin Ross2012-03-081-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1298340 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3605 : [Java Broker] Durable subscriber with no-local true receives ↵Robert Godfrey2012-02-282-0/+8
| | | | | | | | | | | | messages on re-connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294884 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-2621 : [Java Client] Calling QueueBrowser.getEnumeration on a stopped ↵Robert Godfrey2012-02-271-0/+4
| | | | | | | | | | | | connection will hang git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294397 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-2020 : [Java Client] create[Durable]ConnectionConsumer should throw ↵Robert Godfrey2012-02-271-4/+5
| | | | | | | | | | | | JMSException, not return null (until such time as QPID-3693 is completed) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294370 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-792 : [Java Client] Validate queue browser selector on client side, not ↵Robert Godfrey2012-02-275-34/+101
| | | | | | | | | | | | broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294194 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-509 : [Java Client] Messages sent to topics should not default to mandatoryRobert Godfrey2012-02-276-129/+150
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294135 13f79535-47bb-0310-9956-ffa450edef68
* | AMQP-24 : [Java Broker] Implement distributed transactions for AMQP 0-10Robert Godfrey2012-02-231-7/+10
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292984 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3095 : AMQBrokerDetails equals() and hashCode() methods do not adhere ↵Robert Godfrey2012-02-201-4/+4
| | | | | | | | | | | | to contract git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291353 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-2660 : AMQMessageDelegate_0_10 uses Byte.valueOf() when converting ↵Robert Godfrey2012-02-202-0/+57
| | | | | | | | | | | | String properties to short, int, and long values git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291260 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3836 Modified the address handling code to pass the noLocalRajith Muditha Attapattu2012-02-134-10/+19
| | | | | | | | | | | | argument to queue-declare method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243719 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3817: remove unnecessary cast to AMQQueue from the QueueBrowser ↵Robert Gemmell2012-02-132-3/+6
| | | | | | | | | | | | | | | | | | creation path to allow their use with Address syntax 'destination.<address>' entries in JNDI properties files. Applied patch from Praveen Murugesan git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243389 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3830: remove stale reference to old examples READMERobert Gemmell2012-02-131-2/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243388 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3830: remove stale/confusing old 'examples' for the java clientRobert Gemmell2012-02-1327-2874/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243385 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3831: use AcquireMode=PRE_ACQUIRED when using server-side selectors and ↵Robert Gemmell2012-02-136-16/+12
| | | | | | | | | | | | consuming from Queues. Remove unused method parameter for selector filter. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243384 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3440: add test to verify issue by ensuring that the reply-to ↵Robert Gemmell2012-02-132-14/+85
| | | | | | | | | | | | Destination cache results in use of the same Destination objects for subsequent messages. Implement equals() and hashCode() for the generated ReplyTo class to let it function properly as an index in the hashmap to resolve the issue. Update PropertyValueTest to remember the initial reply-to destination it sets and compare it with the value returned after sending/receiving the message, rather than constituting its own test destination for comparison. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243380 13f79535-47bb-0310-9956-ffa450edef68
* | QPID-3819: ExhaustiveACLTests seen to timeoutKeith Wall2012-02-091-24/+1
| | | | | | | | | | | | | | | | | | Backout changes to AMQStateManager made by QPID-3512 as these changes were causing the client to hang for 30 seconds after the Broker closed connection due to ACL violation. Refactored ConnectionCloseTest (now called BrokerClosesClientConnectionTest) to avoid the sporadic failure by verifying that the closed connection is reported correctly to the client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242338 13f79535-47bb-0310-9956-ffa450edef68