summaryrefslogtreecommitdiff
path: root/java/client/example/src
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-284-1/+189
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 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/qpid@1243385 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3789 : [Java] code tidyupsRobert Godfrey2012-01-293-26/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1237273 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Encapsulate fields, use private members and accesors (keep ↵Robert Godfrey2012-01-2710-74/+138
| | | | | | checkstyle happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236867 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Ensure all control flow statements use braces (keeping CheckStyle ↵Robert Godfrey2012-01-271-0/+2
| | | | | | happy) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1236647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3343: refactor test profiles to allow testing within the same JVM for ↵Robert Gemmell2011-07-071-2/+0
| | | | | | | | all protocols, remove vm:// transport support and associated forked Mina classes Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3342: transition TCP based Mina transport for 0-8/0-9/0-9-1 protocols ↵Robert Gemmell2011-07-071-171/+0
| | | | | | | | over to new IO interface model Applied patch by Keith Wall and myself git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143867 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2985: Add producer configurable transaction timeoutsAndrew Donald Kennedy2011-03-082-2/+2
| | | | | | Port of QPID-2864 changes from 0.5.x-dev branch to trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2943: remove references from the README.txt file to examples that no ↵Robert Gemmell2010-11-141-260/+4
| | | | | | longer exist git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1035027 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2857 : Address issues found by running FindBugs against the Java codebaseRobert Godfrey2010-09-126-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@996393 13f79535-47bb-0310-9956-ffa450edef68
* Added -c count parameter - exits after reading c messages.Jonathan Robie2010-08-191-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987303 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
* 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-111-49/+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
* 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
* 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
* 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
* Extension of publisher class for TopicsMarnie McCormack2009-10-231-0/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829106 13f79535-47bb-0310-9956-ffa450edef68
* Fix for large files in FileMessageFactory, changes to Publisher to make ↵Marnie McCormack2009-10-233-13/+181
| | | | | | topic publication easier, added MultiMessageDispatcher class to allow parameterised sending of messages to a queue or a topic git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829102 13f79535-47bb-0310-9956-ffa450edef68
* Clarified for users who do not run the Java broker on the same machineJonathan Robie2009-08-181-3/+4
| | | | | | | as client examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805418 13f79535-47bb-0310-9956-ffa450edef68
* The example verification was broken.Rajith Muditha Attapattu2009-03-2420-32/+32
| | | | | | | Fixed the verify files to use the correct paths for log4j file, python and c++ examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@757641 13f79535-47bb-0310-9956-ffa450edef68
* Modified README to match runSample.shJonathan Robie2009-03-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@756072 13f79535-47bb-0310-9956-ffa450edef68
* Modified runSample.sh to use a relative path to the example source.Jonathan Robie2009-03-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@756071 13f79535-47bb-0310-9956-ffa450edef68
* Changed the default location for examples.Jonathan Robie2009-03-192-2/+2
| | | | | | | | | | !!! HACK ALERT !!! These files have long contained a default path used in one particular vendor's installation. We need to fix this! Today's fix makes the default correct for at least that one vendor, but we need to find a better way to do this. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@756032 13f79535-47bb-0310-9956-ffa450edef68
* Made the various receive variants check that the server queue is empty ↵Rafael H. Schloming2009-02-255-0/+10
| | | | | | before returning null. Also modified AMQQueueBrowser to use receiveNoWait() when browsing queues using 0-10. These changes uncovered numerous second order bugs, mostly in failover. These are also fixed. This fixes QPID-1642 and QPID-1643. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@747963 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1647: Added headers exchange exampleArnaud Simon2009-02-053-0/+267
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@741151 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-1587: Added LVQ samplesArnaud Simon2009-01-163-0/+246
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734994 13f79535-47bb-0310-9956-ffa450edef68
* Added the ASF license header to the following files.Rajith Muditha Attapattu2008-12-165-0/+96
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@726943 13f79535-47bb-0310-9956-ffa450edef68
* removed incubating from various shell scripts, release artifacts, and READMEsRafael H. Schloming2008-12-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724948 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1480 : Updated Simple Request Response code to loop on the shutdownHook ↵Martin Ritchie2008-11-241-7/+10
| | | | | | to ensure that it is zero before exit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1480 : Updated Simple Request Response codeMartin Ritchie2008-11-242-12/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@720181 13f79535-47bb-0310-9956-ffa450edef68
* updated version numbers and release notes for M4Rafael H. Schloming2008-11-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@714267 13f79535-47bb-0310-9956-ffa450edef68
* This is for QPID-1296Rajith Muditha Attapattu2008-10-238-8/+8
| | | | | | | | | | | | | added a boolean to the connect method to indicate whether an SSL connection should be created. currently there seems to be two issues. 1. The shutdownInput method used in IoReceiver is not supported by the SSLSocket implementation. 2. I haven't able to get client side authentication working. For item 1 we may need to use nio classes to get around the issue. For item 2 I am yet to figure out the correct config options to get client side auth working. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707453 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1339: refactor of low level client API to permit connections to exist ↵Rafael H. Schloming2008-10-098-339/+124
| | | | | | in a disconnected state as well as to provide a central point from which to track session state git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1258 add ASL to java files that were missing itAidan Skinner2008-08-228-0/+168
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@688094 13f79535-47bb-0310-9956-ffa450edef68
* Add Simple Request/Response Example from M2.xMartin Ritchie2008-08-212-0/+476
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@687665 13f79535-47bb-0310-9956-ffa450edef68
* Profiling driven changes:Rafael H. Schloming2008-08-053-24/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - made AMQShortString cache the toString() value - added static initializer to IoTransport to disable use of pooled byte buffers - modified IoSender to permit buffering - removed OutputHandler and eliminated intermediate Frame generation between Disassembler and Sender<ByteBuffer> (IoSender) - made Disassembler take advantage of IoSender's buffering - removed Header and Data as distinct protocol events, added Header and Body members to MessageTransfer - modified Assembler and Disassembler to decode/encode Header and Data directly to/from MessageTransfer - modified Disassembler to only write data if encoding of headers is successful - added Strings.toUTF8(String) -> byte[] to do proper UTF-8 encoding that is also fast for 7-bit ascii - modified JMSTextMessage to use the Strings.toUTF8 - modified QpidBench to only generate 7-bit ascii when using TextMessage git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@682887 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1072: renamed org.apache.qpidity -> org.apache.qpidRafael H. Schloming2008-07-298-52/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@680803 13f79535-47bb-0310-9956-ffa450edef68
* Primarily profiling driven changes:Rafael H. Schloming2008-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | - added batched writes of commands/controls issued on a session - copy fragmented frames and segments rather than trying to decode them piecemeal, removed FragmentDecoder - added caching for str8 encode/decode - compute sizes as we encode by going back and filling in the amount of bytes written rather than computing it up front - added SYNC option to commands - renamed NO_OPTION argument to NONE - added a timeout to Client.java - removed use of UUID.fromString in BasicMessageProducer_0_10.java git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@675165 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1157: Added cc example automation scriptsArnaud Simon2008-06-3020-34/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@672766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1134: updated username:password --> guest:guestArnaud Simon2008-06-125-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@667015 13f79535-47bb-0310-9956-ffa450edef68
* I am applying the patch provided by Senaka attached to QPID-968Rajith Muditha Attapattu2008-05-262-1/+18
| | | | | | | We need to get rid of the defaults that points to rhm. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660254 13f79535-47bb-0310-9956-ffa450edef68
* Modified the verify_java_python.in file to reflect the changes made to the ↵Rajith Muditha Attapattu2008-05-141-3/+3
| | | | | | | | | python code in rev 655965. The change was to correct a few typos. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656071 13f79535-47bb-0310-9956-ffa450edef68