summaryrefslogtreecommitdiff
path: root/java/client
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2766Rajith Muditha Attapattu2010-07-281-1/+1
| | | | | | | Instead of doing Double.valueOf(Float.valueOf(value)) , I changed it to use Double.valueOf(value). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2675: Remove obsolete QpidExceptionAndrew Donald Kennedy2010-07-2615-142/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979294 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2760: Only client 0-10 session sync should throw any exceptionsAndrew Donald Kennedy2010-07-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2697: Print AMQConnectionURL optionsAndrew Donald Kennedy2010-07-262-5/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744: Make 0-10 code path throw a MessageFormatException on null ↵Andrew Donald Kennedy2010-07-261-1/+5
| | | | | | setObjectProperty git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@979201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2752Rajith Muditha Attapattu2010-07-222-16/+12
| | | | | | | | | Added a test case to create and LVQ from the JMS client using the addressing syntax. Fixed a few bugs in QpidQueueOptions.java. Modified the MapAccessor to allow any value to be retrieved as a String. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966763 13f79535-47bb-0310-9956-ffa450edef68
* Sicne we have removed the old examples, this verify file is not needed any more.Rajith Muditha Attapattu2010-07-221-64/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966755 13f79535-47bb-0310-9956-ffa450edef68
* Added a log message to print out the negotiated AMQP version.Rajith Muditha Attapattu2010-07-221-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966752 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2657: Make Exceptions propagate to client for 0-10Andrew Donald Kennedy2010-07-226-72/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966722 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup M2.x merge codeMartin Ritchie2010-07-221-11/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966681 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2744 : Add tests for correct exception when null object is set via ↵Martin Ritchie2010-07-221-1/+1
| | | | | | setObjectProperty in Field Table and via JMS Properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2738Rajith Muditha Attapattu2010-07-213-24/+10
| | | | | | | | You could now susbcribe to any queue using browse mode and use a regular MessageConsumer (even with a MessageListener) instead of having to use a Queue Browser. Ex. 'my-ring-queue; {mode: browse}' git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966284 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2733Rajith Muditha Attapattu2010-07-201-0/+2
| | | | | | | | As the initial step, all subscription queues are marked exclusive and auto-delete. When support for reliability is added, the reliability mode will be taken into account. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@965713 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2735Rajith Muditha Attapattu2010-07-171-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2736Rajith Muditha Attapattu2010-07-163-47/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The session.createQueue and session.createTopic methods will behave as follows. session.createQueue =================== 1. If just a queue name is passed, 1.1 If the destination syntax is BURL, a queue by that name will be created and bound to the amq.direct exchange using the queue name as the binding key. If published using this destination, then the message will be sent to amq.direct with routing key set to the queue name. 1.2 If destination syntax is ADDR, a queue is created by that name. If published using this exchange then the message will be sent to the defualt exchange (nameless exchange) with routing key set to the queue name. 2. If an address string or binding url is passed, it will be passed accordingly. session.createTopic =================== 1. If just a topic name is passed, 1.1 If destination syntax is ADDR, a temp queue is created and bound to the amq.topic with the topic name as binding key. If published using this destination, then the message will be sent to amq.topic with the topic name set to routing key. The topic name will also be set as "qpid.subject" in the outgoing message. 1.2 Same as above except there will be no subject set. 2. If an address string or binding url is passed, it will be passed accordingly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964984 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2723Rajith Muditha Attapattu2010-07-084-14/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2722Rajith Muditha Attapattu2010-07-081-5/+19
| | | | | | | The producer now checks for the presense of qpid.subject in the header and uses it as the routing-key if sending to an exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961862 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2694 Commit to trunk for Andrew Kennedy patch for session leak on closeMarnie McCormack2010-07-052-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@960667 13f79535-47bb-0310-9956-ffa450edef68
* Added null checks in fillInCommonNodeArgs() and when trying to parse ↵Rajith Muditha Attapattu2010-06-251-6/+12
| | | | | | | | | capacities in getLink() Also fixed an error when parsing the qpid queue policy type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958102 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2696Rajith Muditha Attapattu2010-06-253-23/+45
| | | | | | | | | Modified the PropertiesFileInitialContextFactory to allow the new addressing strings to be specified in the jndi properties file. Downgraded some "info" log messages in AMQDestination to "debug". Added a test cases to cover the issue reported in the JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957942 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599: restore log4j settings files which are not named log4j.xml or ↵Robert Gemmell2010-06-041-0/+33
| | | | | | log4j.properties and so need not be removed completely since they wont be automatically applied by log4j if found on the classpath like the others will git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951419 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2633 : Move destinationConsumer count logic to before the consumer is ↵Martin Ritchie2010-06-031-8/+15
| | | | | | registered. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951165 13f79535-47bb-0310-9956-ffa450edef68
* Add the ASF License to various classes currently missing itRobert Gemmell2010-06-021-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950740 13f79535-47bb-0310-9956-ffa450edef68
* 1. Capacity can now be specified as " capacity : {source: 5, target 10}" in ↵Rajith Muditha Attapattu2010-05-285-28/+56
| | | | | | | | | | | addition to "capacity:10" where both source and target is set to 10. 2. If the exchange type if direct and no subject is set, then the routing_key is set to "" instead of throwing an exception. 3. Added a fix to infer the exchange type if specified in the x-declares section. 4. The link can now specify an optional 'name' parameter which will be used as the queue name if present. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949083 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2629Rajith Muditha Attapattu2010-05-287-21/+1266
| | | | | | | | | Removed commons collections from the build deps. Added the ReferenceMap and supported classes under a subpackage in qpid. These classes were copied from the Commons Collections release tag 3_2. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949076 13f79535-47bb-0310-9956-ffa450edef68
* Deleted the old examples to avoid confusion.Rajith Muditha Attapattu2010-05-2658-3435/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948637 13f79535-47bb-0310-9956-ffa450edef68
* Added examples to match the c++ and python clients.Rajith Muditha Attapattu2010-05-267-0/+805
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948636 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the feature described in QPID-2515Rajith Muditha Attapattu2010-05-182-17/+55
| | | | | | | However a few issues needs to be ironed out - see the JIRA for these issues. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@945945 13f79535-47bb-0310-9956-ffa450edef68
* I am reverting a change made by martin on rev 942098 (QPID-2586) as the 0-10 ↵Rajith Muditha Attapattu2010-05-141-1/+1
| | | | | | | | | | code path relies on that for failover. Currently due to the above commit all failover related tests are failing. However we will try to address the issue mentioned in QPID-2586. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944457 13f79535-47bb-0310-9956-ffa450edef68
* Removing the examples under this folder as they are not written against a ↵Rajith Muditha Attapattu2010-05-1414-1164/+0
| | | | | | | | | proper API. As of now we only support the JMS API. Therefore we shouldn't carry any other examples as it can create confusion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2599Rajith Muditha Attapattu2010-05-113-118/+0
| | | | | | | Removing all log4j xml and property files from the code base, except for the ones in test-profile folder and broker/etc folder. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943339 13f79535-47bb-0310-9956-ffa450edef68
* Commiting a patch by Emmanuel Bourg attached to QPID-2594Rajith Muditha Attapattu2010-05-1116-47/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943200 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2559Rajith Muditha Attapattu2010-05-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2586 : Give Client 0-10 close semantics not detactMartin Ritchie2010-05-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942098 13f79535-47bb-0310-9956-ffa450edef68
* The heartbeat wasn't being set properly and these mistakes went uncaught due ↵Rajith Muditha Attapattu2010-05-061-1/+1
| | | | | | | | | | | | to lack of proper test. I have added a test case to AMQConnectionTest called testHeartBeat. This test fails once in a while even when I have an external script to clean the broker instance. It seems once it's wedged with kill -STOP, it somestimes doesn't get cleaned up properly with kill -9. Despite the occasional failure, I think it's worth to have this test as a lot of our users rely on heartbeat functionality. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@941553 13f79535-47bb-0310-9956-ffa450edef68
* Reverting the change made in rev 939416 as it's the wrong solution.Rajith Muditha Attapattu2010-05-031-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@940672 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2559Rajith Muditha Attapattu2010-04-291-3/+5
| | | | | | | A test case will be checked in shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939416 13f79535-47bb-0310-9956-ffa450edef68
* Modified the toString() to include the options.Rajith Muditha Attapattu2010-04-291-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939405 13f79535-47bb-0310-9956-ffa450edef68
* Fixed some obvious spelling mistakes and removed commented out code.Rajith Muditha Attapattu2010-04-281-13/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938732 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused imports.Rajith Muditha Attapattu2010-04-271-22/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2496Rajith Muditha Attapattu2010-04-271-23/+25
| | | | | | | | | 1. Added comments to explain how the address is handled 2. Now the subscription queue is created only when the destination is used by a consumer. 3. Removed unnessacery logic in createSubscriptionQueue method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2530 : Updated build system to have a new findSubProjects macro in ↵Martin Ritchie2010-04-261-1/+2
| | | | | | | | | | build.xml that will correctly locate and add all subprojects (those with a build.xml file) to the modules.plugin variable. This will correctly allow new plugins to be automatically picked up without any further build system changes. To further simplify the build process and make better use of the module.depends option the build.deps file has been updated to contain only the libraries the module actually depends on. The dependant libraries due to a module.depends are now automatically pulled in by the build system. A further enhancement would be to do transitive dependencies, which would also allow dependencies to be built when in a sub module directory. e.g. client depends on common, but client.libs should not contain mina, common contains mina and so those libraries are pulled in via the fact that client's module.depends contains common. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2522Rajith Muditha Attapattu2010-04-211-2/+1
| | | | | | | Commiting patch submitted by Emmanuel Bourg. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936568 13f79535-47bb-0310-9956-ffa450edef68
* Removed exception listenerJonathan Robie2010-04-161-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935070 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a minor compile issue and changed the prop file to denote the syntax ↵Rajith Muditha Attapattu2010-04-162-3/+3
| | | | | | as "addressing" instead of binding URL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935061 13f79535-47bb-0310-9956-ffa450edef68
* Simplifying with Rajith's helpJonathan Robie2010-04-161-9/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935058 13f79535-47bb-0310-9956-ffa450edef68
* Removed two superfluous comments, added parameters to createSession()Jonathan Robie2010-04-161-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935037 13f79535-47bb-0310-9956-ffa450edef68
* "Hello world!" example in JavaJonathan Robie2010-04-162-0/+110
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935034 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2512Rajith Muditha Attapattu2010-04-161-1/+1
| | | | | | | | | Changed the default destination syntax to addressing. Added qpid.dest_syntax=BURL to the test profiles to ensure all existing tests work. At some point next week the existing binding URL based entries will be prefixed with "BURL:" and the above system property will be removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934997 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2496Rajith Muditha Attapattu2010-04-151-1/+1
| | | | | | | Fixed a minor bug when processing link props. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934582 13f79535-47bb-0310-9956-ffa450edef68