summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* This commit is for JIRA QPID-859Rajith Muditha Attapattu2008-03-2030-0/+1026
| | | | | | | | This contains verify scripts and xxx.in files for pubsub, fanout and requestResponse. These scripts will run the java examples against itself, c++ and python git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@639095 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-864.Rajith Muditha Attapattu2008-03-203-11/+24
| | | | | | | | This allows the Listener or Consumer to start multiple instances by taking a JNDI name of a queue bound to the topic exchange as a program argument. The JNDI name should be defined in the fanout.properties. Currently 3 such queues are defined. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@639090 13f79535-47bb-0310-9956-ffa450edef68
* This contains a trivial fix for QPID-863.Rajith Muditha Attapattu2008-03-192-86/+38
| | | | | | | | | I also took the oportunity to organize the code a bit more. Also removed the temp hack we used to bind a Topic to more than one routingkey to interop with the c++/python examples. The topics can now be bound to more than one routingkey in the jndi properties file. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@639078 13f79535-47bb-0310-9956-ffa450edef68
* This commit is for QPID-859Rajith Muditha Attapattu2008-03-1811-10/+199
| | | | | | | | | | | | | | | | | | The verify_all script will run all verify scripts under each example Following is a description of each script type ============================================== verify - runs java producer and consumer. verify_java_python - runs java producer and python consumer verify_python_java - runs python consumer and java consumer verify_cpp_java - runs cpp producer and java consumer verify_java_cpp - runs java producer and cpp consumer The xxx.in file contains the expected output. It will be compared against the output of the test to determine any failures. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@638553 13f79535-47bb-0310-9956-ffa450edef68
* Revision 636791 says: "Added constant to represent the AMQP versions, as ↵Arnaud Simon2008-03-182-2/+3
| | | | | | previously it was hard-coded." Those constants must be used when the connection is established. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@638344 13f79535-47bb-0310-9956-ffa450edef68
* verify scripts for the JMS direct exchange examples. This is tracked in JIRA-859Rajith Muditha Attapattu2008-03-175-0/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@638019 13f79535-47bb-0310-9956-ffa450edef68
* Added constant to represent the AMQP versions, as previously it was hard-coded.Rajith Muditha Attapattu2008-03-132-1/+8
| | | | | | | | Modified the ConnectionDelegate to use the Constants for AMQP version. Also the version cosntants were changed to 99-0 to work with the c++ broker until the 0-10 framing gets completed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@636791 13f79535-47bb-0310-9956-ffa450edef68
* Removed redundant code (see QPID-838). As this is a major 0.10 change tck ↵Arnaud Simon2008-03-072-92/+10
| | | | | | has been run prior to committing it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634696 13f79535-47bb-0310-9956-ffa450edef68
* Changed host name to localhost so the test can run on Windows (see QPID-836)Arnaud Simon2008-03-071-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634673 13f79535-47bb-0310-9956-ffa450edef68
* This is a very simple fix for QPID-837 (this code will be changed once the ↵Arnaud Simon2008-03-071-1/+1
| | | | | | merge is completed) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634664 13f79535-47bb-0310-9956-ffa450edef68
* Added resource cleaning (mainly connection close); see QPID-824Arnaud Simon2008-03-0610-9/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634273 13f79535-47bb-0310-9956-ffa450edef68
* Stop the dispatcher thread before closing the session so it does not acquire ↵Arnaud Simon2008-03-041-0/+4
| | | | | | a lock on _messageDeliveryLock (See QPID-833) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633522 13f79535-47bb-0310-9956-ffa450edef68
* un-commented testNoLocal as it should be added to the exclude list until the ↵Arnaud Simon2008-03-041-2/+2
| | | | | | merge is completed (see Qpid-721) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633453 13f79535-47bb-0310-9956-ffa450edef68
* added an assert to verify that no threads are leaked on connection ↵Rafael H. Schloming2008-03-032-1/+30
| | | | | | open/close; this should detect problems with dispatcher threads not dieing as described inQPID-823 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-702 Removed cluster code as it has been scheduled for such since last year.Martin Ritchie2008-02-291-6/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632365 13f79535-47bb-0310-9956-ffa450edef68
* QPID-702 Removed cluster code as it has been scheduled for such since last year.Martin Ritchie2008-02-2991-7995/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632364 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-823: Dispatcher thread should be closed after consumers have been closed. Arnaud Simon2008-02-291-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632331 13f79535-47bb-0310-9956-ffa450edef68
* This solved Qpid-819 as of Gordon suggested patch Arnaud Simon2008-02-291-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632297 13f79535-47bb-0310-9956-ffa450edef68
* Rollback 632067 and 632072Arnaud Simon2008-02-2948-95/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632285 13f79535-47bb-0310-9956-ffa450edef68
* turn off junit reloadingRafael H. Schloming2008-02-291-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632214 13f79535-47bb-0310-9956-ffa450edef68
* See Qpid-817Arnaud Simon2008-02-2847-149/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632072 13f79535-47bb-0310-9956-ffa450edef68
* See Qpid-817Arnaud Simon2008-02-281-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632067 13f79535-47bb-0310-9956-ffa450edef68
* added an option to control junit forking of tests, and defaulted it to offRafael H. Schloming2008-02-281-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632057 13f79535-47bb-0310-9956-ffa450edef68
* See Qpid-817Arnaud Simon2008-02-281-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631931 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the toString method to avoid printing both a routingkey and bindingkey ↵Rajith Muditha Attapattu2008-02-271-8/+8
| | | | | | | | | and also to properly printout the bindingkeys when required. This bug caused 3 test failures. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631698 13f79535-47bb-0310-9956-ffa450edef68
* Added another test to check for URISyntaxException when both routingkey and ↵Rajith Muditha Attapattu2008-02-271-1/+27
| | | | | | bindingkey is specified git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631697 13f79535-47bb-0310-9956-ffa450edef68
* Correct the constant OPTION_BINDING_KEY that resulted in a test case failureRajith Muditha Attapattu2008-02-273-15/+24
| | | | | | | | | Modified the AMQBindingURL to fix an error in the toString method Added more test cases to the main method in the BindingURLParser for quick testing, these cases are also present as unit tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631695 13f79535-47bb-0310-9956-ffa450edef68
* added a test case for the multiple binding key caseRajith Muditha Attapattu2008-02-271-10/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631490 13f79535-47bb-0310-9956-ffa450edef68
* Added a new parser for the BindingURL.Rajith Muditha Attapattu2008-02-273-132/+506
| | | | | | | | | This allows adding multiple binding keys, using # and * in the URLs. This is tracked via QPID-814 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631489 13f79535-47bb-0310-9956-ffa450edef68
* This contains the ground work for QPID-803.Rajith Muditha Attapattu2008-02-2710-83/+240
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631486 13f79535-47bb-0310-9956-ffa450edef68
* jvmarg -> test.mem; this fixes build breakage when jvmarg is empty or ↵Rafael H. Schloming2008-02-261-3/+5
| | | | | | unspecified git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631250 13f79535-47bb-0310-9956-ffa450edef68
* added prop jvmarg, that could be used allocate more memory: -Djvmarg=-Xmx512mArnaud Simon2008-02-251-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@630852 13f79535-47bb-0310-9956-ffa450edef68
* Changed checkPreConditions for accessing directly to _messageSelectorArnaud Simon2008-02-253-3/+82
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@630847 13f79535-47bb-0310-9956-ffa450edef68
* combined test cases and eliminated race conditionRafael H. Schloming2008-02-211-12/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629991 13f79535-47bb-0310-9956-ffa450edef68
* modified test harness to clean up data dir when broker crashesRafael H. Schloming2008-02-213-29/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629986 13f79535-47bb-0310-9956-ffa450edef68
* added message releasing when messag listener is setArnaud Simon2008-02-211-1/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629806 13f79535-47bb-0310-9956-ffa450edef68
* added consumer2.close as messages may be delivered to this not used consumerArnaud Simon2008-02-211-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629802 13f79535-47bb-0310-9956-ffa450edef68
* changed for runing only with an 0.8 broker (this is testing 0.8 connection)Arnaud Simon2008-02-211-118/+128
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629800 13f79535-47bb-0310-9956-ffa450edef68
* changed for creating durable queue for a durable subscriberArnaud Simon2008-02-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629750 13f79535-47bb-0310-9956-ffa450edef68
* changed for notifying message arrival when the header does not have a payloadArnaud Simon2008-02-211-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629749 13f79535-47bb-0310-9956-ffa450edef68
* added flag for tagging header without a payloadArnaud Simon2008-02-213-5/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629747 13f79535-47bb-0310-9956-ffa450edef68
* added xa destinationsArnaud Simon2008-02-201-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629404 13f79535-47bb-0310-9956-ffa450edef68
* added store propArnaud Simon2008-02-201-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629403 13f79535-47bb-0310-9956-ffa450edef68
* added init after broker shutdown and changed receiveNowait to receive(1000)Arnaud Simon2008-02-202-63/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@629385 13f79535-47bb-0310-9956-ffa450edef68
* protect the _currentException variable with its own lock, this avoids ↵Rafael H. Schloming2008-02-151-9/+13
| | | | | | deadlocks between getCurrentException and the dispatcher thread git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@628132 13f79535-47bb-0310-9956-ffa450edef68
* recompute internal 0-10 message for reused messagesRafael H. Schloming2008-02-142-12/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627655 13f79535-47bb-0310-9956-ffa450edef68
* print message text directlyRafael H. Schloming2008-02-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627654 13f79535-47bb-0310-9956-ffa450edef68
* rethrow exception rather than ignoring itRafael H. Schloming2008-02-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627653 13f79535-47bb-0310-9956-ffa450edef68
* set initial causeRafael H. Schloming2008-02-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627652 13f79535-47bb-0310-9956-ffa450edef68
* Fix for Qpid-793Rajith Muditha Attapattu2008-02-141-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@627634 13f79535-47bb-0310-9956-ffa450edef68