summaryrefslogtreecommitdiff
path: root/qpid/java/client/src/test
Commit message (Collapse)AuthorAgeFilesLines
* QPID-6481: Move java source tree to top levelAlex Rudyy2015-04-1544-8253/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1673693 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2836 : [Java Broker] Use slf4j facade for logging in the Java BrokerRobert Godfrey2015-03-121-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1666234 13f79535-47bb-0310-9956-ffa450edef68
* merge from trunkKeith Wall2015-02-101-2/+8
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1658748 13f79535-47bb-0310-9956-ffa450edef68
| * QPID-6374 : Always call exception listener from connection task pool, rather ↵Robert Godfrey2015-02-101-2/+8
| | | | | | | | | | | | than from within the failover mutex git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1658689 13f79535-47bb-0310-9956-ffa450edef68
* | Separate Byte and ProtocolEvent sender/receivers, add server specific 0-10 ↵Robert Godfrey2015-01-313-11/+11
| | | | | | | | | | | | encoder git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1656248 13f79535-47bb-0310-9956-ffa450edef68
* | Remove dead setIdleTimeout methodKeith Wall2014-12-122-6/+1
|/ | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-6262-JavaBrokerNIO@1644950 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6125 : [Java Broker] AMQP 0-8/9/9-1 protocol handler refactoringRobert Godfrey2014-10-172-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1632583 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3678 : Fix testRobert Godfrey2014-09-231-57/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1627040 13f79535-47bb-0310-9956-ffa450edef68
* QPID-6052 : Address review comments from Robbie GemmellRobert Godfrey2014-09-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1621826 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5960: Turn on SSL host name verification by defaultAlex Rudyy2014-08-071-3/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2969: Make AMQConnectionFactory and AMQDestination (and subclasses) ↵Keith Wall2014-07-203-2/+128
| | | | | | serializable git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5702: upgrade JUnit dependency from version 3.8.1 to 4.11, change ↵Robert Gemmell2014-04-222-8/+8
| | | | | | | | 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@1589144 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5504 : refactring of queues, and introduce management node and ↵Robert Godfrey2014-02-111-1/+1
| | | | | | amqp-management module git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1567026 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5048: logging and build output cleanupRobert Gemmell2014-01-222-3/+4
| | | | | | Patch Supplied by Andrew MacBean <andymacbean@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5373: move retrieval of the peer Principal into the connection IO ↵Robert Gemmell2014-01-111-5/+0
| | | | | | 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@1557467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4534: unify client heartbeat system properties/connection url options.Keith Wall2013-10-301-0/+26
| | | | | | | | | | | * 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@1537313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5204 Modified the code to return qpid.subject even when renamed toRajith Muditha Attapattu2013-10-071-1/+1
| | | | | | JMS_qpid_subject. Modified the test case to handle the changes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530007 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5160: add a qpid-test-utils module instead of making every modules ↵Robert Gemmell2013-09-234-2/+214
| | | | | | tests rely on the tests dir from the common module git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5088 : [Java Broker] Isolate use of AMQShortString and FieldTable to ↵Robert Godfrey2013-08-211-1/+1
| | | | | | 0-8/9/9-1 protocol specific plugins git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1516058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5065 : [Java] tests do not run on WindowsRobert Godfrey2013-08-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1512335 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA Removed two System.out's from the code.Rajith Muditha Attapattu2013-07-231-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1506055 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4995: Generate queue name on a client if it is not provided in binding URLAlex Rudyy2013-07-172-0/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504186 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4994: Remove redundant binding URL options for subscription name and ↵Alex Rudyy2013-07-171-12/+41
| | | | | | client id git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504185 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-211-0/+77
| | | | | | connection on receiving a mandatory unroutable message in a transacted session git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1495511 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@1488957 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4873 Commiting patch by Helen Kwong.Rajith Muditha Attapattu2013-05-231-0/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3838 If stric-jms flag is used qpid.subject is prefixed with "JMS_"Rajith Muditha Attapattu2013-05-091-3/+36
| | | | | | | 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@1480656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3769 Modified the equals and hashcode methods in AMQTopic to fallRajith Muditha Attapattu2013-04-011-3/+19
| | | | | | | 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@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@1461329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3769 Modified the hashcode impl to match equals. Added a test caseRajith Muditha Attapattu2013-03-131-0/+46
| | | | | | to verify equals and hashcode for ADDR based destinations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456008 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3396 Changed the test cases to relect that username and passwordRajith Muditha Attapattu2013-03-061-4/+2
| | | | | | is optional. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453559 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4312: reduce visibility and narrow argument type for new check methods, ↵Robert Gemmell2013-02-052-5/+72
| | | | | | 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-4312 : [Java Client] add option for verification of queue existence ↵Robert Godfrey2013-02-041-1/+0
| | | | | | 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-251-1/+1
| | | | | | | | 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-4513: improve client handling of discovery that its SASL Provider has ↵Robert Gemmell2012-12-201-0/+140
| | | | | | | | | | 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-4468: restore connection level ssl option to provide compatibility with ↵Robert Gemmell2012-11-252-1/+50
| | | | | | 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-3317 Modified the code to implement correct behavior for linkRajith Muditha Attapattu2012-10-121-0/+126
| | | | | | | | | 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-4352: Java client logs key_store_password/trust_store_password at debugKeith Wall2012-09-292-44/+52
| | | | 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-282-2/+29
| | | | | | 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-281-0/+153
| | | | | | | 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-4302: 0-8..0-9-1 client should sync after message.acknowledge()Keith Wall2012-09-131-8/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1384512 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4261: extend BindingURLs to allow specifying exchange ↵Robert Gemmell2012-09-014-7/+127
| | | | | | | | | 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-4051: use the connecttimeout option value from the BrokerDetails object ↵Robert Gemmell2012-08-121-0/+24
| | | | | | 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
* NO-JIRA: Add missing Apache licenses to Java source files; correct ↵Keith Wall2012-07-021-1/+1
| | | | | | 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
* QPID-4023: restore connection URL setter, add check that URL details have ↵Robert Gemmell2012-05-281-2/+18
| | | | | | 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-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-131-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1337829 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