summaryrefslogtreecommitdiff
path: root/java/client
Commit message (Collapse)AuthorAgeFilesLines
...
* "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
* This is related to QPID-2496Rajith Muditha Attapattu2010-04-155-229/+764
| | | | | | | | | | The changes include support the new addressing structure and most items on the list specified in the JIRA. The following is not included in the commit 1. Add subject as filter in JMS - for exchanges use it as binding key and for queues use it as a selector - this needs to be thought through. Besides JMS already provides a way to handle this. 2. Implementation of DELETE option. Further testing needs to be done to figure out the impact. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934563 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2496Rajith Muditha Attapattu2010-04-153-2/+18
| | | | | | | This allows a user to pass in an address string when creating a queue or topic using the JMS 1.0 methods (session.createQueue(String s) and session.createTopic(String s) ) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934559 13f79535-47bb-0310-9956-ffa450edef68
* Commiting the patch attached to QPID-2471Rajith Muditha Attapattu2010-04-145-11/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2346 : Addressed the problems with ↵Martin Ritchie2010-04-121-0/+6
| | | | | | | | AcknowledgeAfterFailoverOnMessageTest, The issues were the same as AckAfterFailoverTest. So used same prepBroker approach. Test also need timeout increased as broke restarts took to long for a message to be sent/received. Finally the last change was thatthe queue needed to be re-declared so that the final queue depth check would have a queue to query. Merged from 0.5.x-dev @ r907004 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933281 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2493Rajith Muditha Attapattu2010-04-092-1/+22
| | | | | | | Added test cases as well. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2465: Set javac includeantruntime property in build filesRobert Gemmell2010-03-291-1/+1
| | | | | | | Applying patch from Andrew Kennedy <andrew.international@gmail.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928701 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2447Rajith Muditha Attapattu2010-03-222-0/+21
| | | | | | | | | | | | Added QpidClientX509KeyManager (a customer KeyManager) which will return the ssl_client_alias specified in the Connection URL. Note the alias here is actually the certificate name and not the alias used in the keytool. I also fixed a minor bug in SSLUtil to retrive the identitiy of the local certificate instead of the peer's certificate. Added a test for the above JIRA. Added AMQTestConnection_0_10 which allows the SecurityLayer to be exposed for testing purposes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926380 13f79535-47bb-0310-9956-ffa450edef68
* Added support for QPID-2444 QPID-2446Rajith Muditha Attapattu2010-03-192-38/+91
| | | | | | | | | | 1. You could specify ssl_verify_hostname as a Broker argument in the Connection URL to explicitly enable SSL hostname verification. 2. You could specify a per connection trust store and key store to allow each connection to use it's own client certificate. trust_store,trust_store_passowrd, key_store, key_store_password could be specified as Broker arguments in the Connection URL. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@925289 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2432Rajith Muditha Attapattu2010-03-051-35/+51
| | | | | | | | | | | Modified the XAResourceImpl to maintain the timeout value and set it to any XID in the start method if the time value > 0 Also the XID nulled after commit, rollback and forget, to prevent a timeout being set on an invalid xid. The setTimeout method will only set the timeout if xid is not null and if the timeout value is different from the previous value. Modified the test cases in FaulTest to adhere to the correct behaviour and also added a new test case to cover the issue mentioned in the JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919666 13f79535-47bb-0310-9956-ffa450edef68
* BasicMessageProducer_0_10.java contains a fix for QPID-2428.Rajith Muditha Attapattu2010-03-043-4/+19
| | | | | | | | | I also changed the exception handling code to use initCause() instead of setLinkedException as the latter does not show the 'cause' properly. AMQSession_0_10.java was modified to include the 'name' in the error message thrown if the address does not resolve to an exchange or a queue. AddressHelper.java - added a null check. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918842 13f79535-47bb-0310-9956-ffa450edef68
* Add topic entry required by the MultiMessageDispatcher exampleRobert Gemmell2010-02-251-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916357 13f79535-47bb-0310-9956-ffa450edef68
* Move queue info example to the new management/examples submoduleRobert Gemmell2010-02-181-177/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911333 13f79535-47bb-0310-9956-ffa450edef68
* Adding example jmx script for extracting queue information form the Java ↵Marnie McCormack2010-02-181-0/+177
| | | | | | broker for monitoring/stats purposes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911306 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2242Rajith Muditha Attapattu2010-02-181-47/+97
| | | | | | | I modified the code to keep a map consisting of exchange_type and exchange_name, so it can be properly used when needed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911251 13f79535-47bb-0310-9956-ffa450edef68
* added a null check for the exchange class - related to QPID-1831Rajith Muditha Attapattu2010-02-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911249 13f79535-47bb-0310-9956-ffa450edef68
* I have added the license header to the files included in this commit.Rajith Muditha Attapattu2010-02-123-0/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909641 13f79535-47bb-0310-9956-ffa450edef68
* Fixed an error in retrieving the SSL parameterRajith Muditha Attapattu2010-02-111-1/+1
| | | | | | | Added a log message in IoTransport to denote successfull creation of SSL Sender and Receiver git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909150 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2370 : Committing patch to improve broker logging. This will not ↵Martin Ritchie2010-02-051-15/+51
| | | | | | | | | | | | | | cleanly apply to trunk due to IO changes. QPID-1084 : Committed change to prevent flow control threads being created/sent if the channel/session is closed or the state has acutally changed in the mean time. Wrapped .debug statements as per review feedback Merged and adapted these changes from 0.5.x r905592,905596,905605 The AMQMinaProtocolSession Changes were moved to the AMQProtocolEngine git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906890 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1831Rajith Muditha Attapattu2010-02-033-0/+366
| | | | | | | Contains helper classes for retrieving and holding information from a parsed address string git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906145 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1831Rajith Muditha Attapattu2010-02-039-91/+632
| | | | | | | | I added the patch attached to the above JIRA with modifications. The modifications include integration with the address parser added by Rafi, and several refactoring and bug fixes to the original patch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906142 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2379 : Initial work on adding QMF and federation to the Java BrokerRobert Godfrey2010-01-312-54/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904934 13f79535-47bb-0310-9956-ffa450edef68
* Added a null check for connection as some test cases use mock sessions by ↵Rajith Muditha Attapattu2010-01-281-1/+1
| | | | | | passing null as the connection parameter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904126 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2363Rajith Muditha Attapattu2010-01-283-3/+24
| | | | | | | I added use_legacy_map_msg_format as a connection paramter to force the client to use the old map message format. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903940 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains the changes agreed upon in QPID-2363 except for the ↵Rajith Muditha Attapattu2010-01-285-43/+19
| | | | | | connection parameter which will be added shortly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903924 13f79535-47bb-0310-9956-ffa450edef68
* forgot to remove the unused boolean flagRajith Muditha Attapattu2010-01-281-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903919 13f79535-47bb-0310-9956-ffa450edef68
* moving the logic of creating the map message to the AMQSession.java.Rajith Muditha Attapattu2010-01-281-16/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903917 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2363Rajith Muditha Attapattu2010-01-279-21/+190
| | | | | | | | I am comitting the patch as it is. I will make the agreed changes in a subsequent commit shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903911 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2347 broke some java tests; I believe these make incorrect assumptions ↵Gordon Sim2010-01-221-0/+1
| | | | | | about durable subscriptions and have changed them accordingly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902231 13f79535-47bb-0310-9956-ffa450edef68
* The commit contains fixes for QPID-2351, QPID-2350 and some ground work for ↵Rajith Muditha Attapattu2010-01-218-48/+95
| | | | | | | | | | | | | | QPID-2352 - Modified Connection.java to add more than one ConnectionListener. This was done to facilitate the SASL encryption patch - QPID-2352. - Changed the access modifier for getSaslClient method to "public" to allow the SaslClient to be retrieved by the SASL encryption code -QPID-2352. - Introduced ConnectionSettings object to hold all the configuration options. Previous constructor methods remains unchanged. - Modified the ClientDelegate to handle heartbeat and idelTimeout value properly. - Added support to specify config options via the connection URL - QPID-2351 - Added support to handle the heartbeat/idle_timeout options properly in the 0-10 code - QPID-2350. However once QPID-2343 is completed, the code will be further simplified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2349 : Fixed Protocol Version negotiation. The Negotiated protocol ↵Martin Ritchie2010-01-203-2/+14
| | | | | | | | | version was not given to the ProtocolSession. Once this is done the correct delegate is enabled on connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901341 13f79535-47bb-0310-9956-ffa450edef68
* Added detailed instructions for running the individual examples. ↵Jonathan Robie2010-01-201-1/+272
| | | | | | Instructions are taken from the MRG Messaging Tutorial. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901241 13f79535-47bb-0310-9956-ffa450edef68
* Changed the setIdleTimeout method to take an int instead of a long.Rajith Muditha Attapattu2010-01-191-1/+1
| | | | | | | | The socket interface takes the so_timeout as an int and also the AMQP heartbeat interval is taken as an int. This change will help simplify the code that handles heartbeats. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901000 13f79535-47bb-0310-9956-ffa450edef68
* This is a first step towards QPID-2343Rajith Muditha Attapattu2010-01-183-115/+2
| | | | | | | | The common module also contains code for the client, and therefore contains configuration required for the client to be accessible from within the common module. Therefore the ClientProperties.java is best be placed inside the common module. The goal is to have a place holder for all configuration properties. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2340 : Fix ProducerFlowControlTest to call a synchronous operation ↵Robert Godfrey2010-01-141-0/+4
| | | | | | between sends (merged from 0.5-dev) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899301 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2340 : Fix ProducerFlowControlTest to call a synchronous operation ↵Robert Godfrey2010-01-143-0/+12
| | | | | | between sends (merged from 0.5-dev) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899296 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2174Rajith Muditha Attapattu2010-01-122-5/+6
| | | | | | | | I couldn't find any straight forward way to grab the proper ID from the SASL client. Therefore I had to use the java GSSAPI classes to create a security context to grab the ID. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898505 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2336Rajith Muditha Attapattu2010-01-112-2/+10
| | | | | | | The fix allows an idle_timeout of zero to be set as the heartbeat interval with a warning message to say heartbeats are disabled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897922 13f79535-47bb-0310-9956-ffa450edef68
* Upped qpid version to 0.7 for next development cycleAndrew Stitcher2010-01-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@895789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2273 : Fix Protocol NegotiationRobert Godfrey2009-12-187-13/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892301 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1830Rajith Muditha Attapattu2009-12-171-3/+10
| | | | | | | | | I have removed the checkReadable() method from the toBodyString() This will enable the toString() method to be used any time on message. I have also modified the Functions.str() to take in an additional parameter to denote to the starting position of the buffer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891805 13f79535-47bb-0310-9956-ffa450edef68
* Update OSGI/Eclipse bundle versions and filenames for the 0.6 releaseRobert Gemmell2009-12-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889271 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2258 : AMQP0-9-1 Compliance fixesRobert Godfrey2009-12-092-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889022 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Update to 0-8 producer to set the JMS_QPID_DESTTYPE when sending ↵Martin Ritchie2009-12-081-1/+21
| | | | | | | | | | | messages. This update required a change to the FieldTable to clear any _encodedBuffer when setting a new value Provided test in JMSDestintationTest. This test requires a broker that supports both 0-8/9 and 0-10 as we must first use a 0-10 connection to send a message, which does not set JMS_QPID_DESTTYPE, then receive the message on 0-8/9. This allows us to validate that messages recieved without JMS_QPID_DESTTYPE set will can correctly set the value without a BufferOverflow Exception when simply forwarding the message. Excluded test from all cpp and InVM runs as test requires a 0-8/9 and 0-10 capable broker. Can reinstate to InVM when multiprotocol testing is capable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888345 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Update to the 0-8/9 code path to use the 0-10 static lookup ↵Martin Ritchie2009-12-074-109/+211
| | | | | | tables for the Destination type when JMS_QPID_DESTTYPE has not been set. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887994 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Removed unused AMQMessagseDelegate_0_10 constructorMartin Ritchie2009-12-071-12/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887951 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Fixed 0-10 code path's getJMSDestination() updated ↵Martin Ritchie2009-12-072-1/+6
| | | | | | | | | | | | JMSDestinationTest to cover more test cases: - Recieving a msg via Queue,Topic - Recieving a msg via Queue with a MessageListener - Recieving a msg on a queue that was sent to a topic, requires JMX interface to perform message move. Excluded test from 0-8 profile until the problem has been resolved git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2192: restore erroneously removed setLinkedException()Aidan Skinner2009-12-031-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886890 13f79535-47bb-0310-9956-ffa450edef68