summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-2244: output additional MessageTransferMessage header properties, add ↵Robert Gemmell2009-12-081-23/+35
| | | | | | fallback support to ensure display of other types of message git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@888244 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-076-111/+214
| | | | | | 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-2244 : Remove LogMessages_de_DE.properties that was erroneously added ↵Martin Ritchie2009-12-071-81/+0
| | | | | | in commit r887946 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887953 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up assert error, should be queues not exchangesMartin Ritchie2009-12-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887952 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-1992 : Exclude message move test from CPP broker as it uses JMX.Martin Ritchie2009-12-073-47/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887950 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2242 : Fixed 0-10 code path's getJMSDestination() updated ↵Martin Ritchie2009-12-075-90/+245
| | | | | | | | | | | | 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-2244 : Added initial support of 0-10 Messages via JMX viewMessages.Martin Ritchie2009-12-073-4/+143
| | | | | | There are a still a few headers that need to be investigated and displayed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887946 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1992 : Update ProtocolEngine to create LogSubject in constructor as it ↵Martin Ritchie2009-12-071-2/+3
| | | | | | now correctly formats based on the current sate of the Engine. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887945 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1992 : Fix compilation error missed during merge.Martin Ritchie2009-12-042-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887154 13f79535-47bb-0310-9956-ffa450edef68
* Merged r887145 from 0.5.x-dev Martin Ritchie2009-12-049-141/+152
| | | | | | | | QPID-1992 : Ensure there is only one location where strings are built for logging. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887152 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2232: rename the RCP application release artifacts to include ↵Robert Gemmell2009-12-037-11/+13
| | | | | | jmx-management-console instead of management-eclipse-plugin git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886976 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2233: convey the exception messsage to provide useful feedback to users ↵Robert Gemmell2009-12-031-13/+9
| | | | | | during connection failure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886975 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2152: Update the timeout process so as not to return a null, and close ↵Robert Gemmell2009-12-032-34/+47
| | | | | | any orphaned connections. Increase default timeout to 15sec. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886974 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
* Merged r 886719:886722 from 0.5.x-dev.Martin Ritchie2009-12-0360-674/+847
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2192: remove extraneous printStackTrace()sAidan Skinner2009-12-027-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886031 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: replace random 1second wait with a LogMonitor check that the ↵Robert Gemmell2009-12-015-21/+20
| | | | | | reload has occured. Also update some method and paramter names git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885765 13f79535-47bb-0310-9956-ffa450edef68
* Added improved error handlingRajith Muditha Attapattu2009-12-011-13/+16
| | | | | | | | | Modified the script to adapt to changes made by Alan in brokertest.py The testkit can now receive and handle errors published by the JMS sender or receiver via an error queue. For example if the test detects and out of order message it will notify the test framework and it will use that information to throw an exception with the captured java stack trace. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885635 13f79535-47bb-0310-9956-ffa450edef68
* Modified the script to use absoulte paths when creating the classpath as ↵Rajith Muditha Attapattu2009-12-011-1/+2
| | | | | | relative paths could create issues when running the script in automated build environments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885633 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2222: Add CRAM-MD5-HEX support to broker to enable .net client to ↵Robert Gemmell2009-11-275-0/+459
| | | | | | | | | connect to broker when using Base64MD5 password file. Changes merged from M2.x branch r664001 with update to implement the newer reload() PD method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: correct use of reload instead of restart in ↵Robert Gemmell2009-11-262-1/+12
| | | | | | testDenyOnRestartInVhost(), add a delay to the SIGHUP based reload to help ensure the new config is in place before testing continues, helping prevent sporadic failure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: add additional testing against static firewall configurationsRobert Gemmell2009-11-263-0/+356
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884634 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for 0-9-1 supportRobert Godfrey2009-11-265-12/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884619 13f79535-47bb-0310-9956-ffa450edef68
* Change java and python package versions to 0.6Andrew Stitcher2009-11-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@884115 13f79535-47bb-0310-9956-ffa450edef68
* Uncommented the other two testsRajith Muditha Attapattu2009-11-193-8/+19
| | | | | | | | Modified the scripts to work out the errors. It's now in a reasonable state to start expanding the tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882346 13f79535-47bb-0310-9956-ffa450edef68
* I didn't catch the compile error on my local. Perhaps due to log4j being in ↵Rajith Muditha Attapattu2009-11-191-1/+1
| | | | | | | | | the classpath somewhere. I have now added log4j as build dep to the testkit module. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882163 13f79535-47bb-0310-9956-ffa450edef68
* Added log4j config to the test launcherRajith Muditha Attapattu2009-11-185-332/+105
| | | | | | | | | Added shell script to run testkit.py Removed brokertest.py, instead using the version checked in under python/qpid folder by Alan. The shell scripts and the setup is work in progress, checking in now to help Alan reproduce an issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881896 13f79535-47bb-0310-9956-ffa450edef68
* changed address syntax to permit more complex subjects, added escaping, ↵Rafael H. Schloming2009-11-131-2/+2
| | | | | | improved error reporting git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835879 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1849: actually pass through parameterAidan Skinner2009-11-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2184: make sure global security plugins are reconfigured properlyAidan Skinner2009-11-118-36/+321
| | | | | | | | | | | ServerConfigurationTest: add test for reloading firewall config in main section, not just as a combined file FirewallConfigTest: add a systest for firewalls with real broker QpidTestCase: add a reloadBroker() method git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835115 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2193: add a warning note to the confirmation dialogRobert Gemmell2009-11-111-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2196: updated application and server registries to better keep track of ↵Robert Gemmell2009-11-116-10/+89
| | | | | | the connection status, allowing prevention of JMXConnector usage (eg refreshing the view) after the connection has already been closed remotely. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834848 13f79535-47bb-0310-9956-ffa450edef68
* testkit.py provides the plumbing for running longer duration tests using the ↵Rajith Muditha Attapattu2009-11-113-0/+548
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | multi-broker framework defined in brokertest.py For the time being testkit is carrying it's own copy of brokertest.py. The goal is to use the one available under the /python folder asap. Testkit is intended run as, 1) an ant target via "ant testkit" (to allow automated testing) 2) standalone against a release If running standalone you need to have the qpid/python files in the python path and $QP_CP should be set to the classpath that contains the qpid jars.Assuming $PYTHON_DIR points to the python folder you could run it as follows. $PYTHON_DIR/qpid-python-test -m testkit The ant target is currently not operational as there seems to be a few issues when running under jython. Tests ========= Currently only 3 tests are added. 1. test_multiplexing_con 2. test_multiplexing_con_tx 3. test_failover All tests are using the generic Sender and Receiver via the TestLauncher checked under the testkit module. Currently there are occasional test failures for test_multiplexing_con_tx The 'test_failover' test is currently failing due to a known bug. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834754 13f79535-47bb-0310-9956-ffa450edef68
* Moved MessageFactory to the tools module.Rajith Muditha Attapattu2009-11-116-64/+877
| | | | | | | | | | Added a Generic Sender and a Receiver. They can be run standalone or used as a building block to create more complex tests. TestLauncher is a utility to start a sender or receiver in multiple threads with some added plumbing. Please refer to each class to see the full set of options available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834724 13f79535-47bb-0310-9956-ffa450edef68
* Added the LatencyTest and PerfTest kit under the tools modules alongside ↵Rajith Muditha Attapattu2009-11-1111-1/+1442
| | | | | | | | | QpidBench. Modified the testkit build.xml to add tools as build dependency as some of the classes in testkit will be using MessageFactory git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834722 13f79535-47bb-0310-9956-ffa450edef68
* Removed the following files as they will be replaced by a generic Sender and ↵Rajith Muditha Attapattu2009-11-1115-2211/+51
| | | | | | | | | Receiver. The bin files and the files under o/a/qpid/teskit/perf are moved under tools. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834721 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2195: only enable moving messages for newer brokers that dont suffer ↵Robert Gemmell2009-11-101-18/+37
| | | | | | from issues impacting message delivery and results signalling git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2193: expose the deprecated deleteMessageFromTop() JMX queue operation ↵Robert Gemmell2009-11-101-0/+29
| | | | | | for older brokers that lack the ability to delete arbitrary messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834449 13f79535-47bb-0310-9956-ffa450edef68
* Basic eclipse code style fileAidan Skinner2009-11-091-0/+251
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834264 13f79535-47bb-0310-9956-ffa450edef68
* Remove more 1.6 @Override on interfaces.Aidan Skinner2009-11-092-12/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2190: when management versioning using both the ServerInformation and ↵Robert Gemmell2009-11-092-6/+7
| | | | | | UserManagement mbeans fails, classify the version as 1.0 instead of failing git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834014 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2189: use an ObjectName pattern instead of the precise key value in the ↵Robert Gemmell2009-11-061-2/+2
| | | | | | queryNames call to avoid incorrectly tripping the security when connecting to pre-0.6 brokers as a non-admin user git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@833467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2178: update console to allow display of new channel blocking statusRobert Gemmell2009-11-062-3/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@833448 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2178: test expanded channels() output correctly returns current channel ↵Robert Gemmell2009-11-061-0/+27
| | | | | | blocking status git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@833447 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2178: expand the return from channels() to indicate whether the channel ↵Robert Gemmell2009-11-064-6/+12
| | | | | | is blocked git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@833446 13f79535-47bb-0310-9956-ffa450edef68
* This adds some minor enhancements to our test framework.Rajith Muditha Attapattu2009-11-032-13/+57
| | | | | | | | | | | | | | | | | | | | | | It introduces two jvm args "broker.log.interleave" and "broker.log.prefix". broker.log.interleave if set to false, will print the broker output into a separate file. The file name will be in the following format and placed alongside the test output. "%s/TEST-%s.broker.out" Ex. TEST-org.apache.qpid.test.client.failover.FailoverTest.testP2PFailover.out TEST-org.apache.qpid.test.client.failover.FailoverTest.testP2PFailover.broker.out "broker.log.interleave" is set to true in module.xml to default to the current behaviour. "broker.log.prefix" which is set to "BROKER: " in the module.xml will prefix each broker output line. This would help to follow the log files more easily as it would help to distinguish between broker and client output. It would also be handy for grep. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832452 13f79535-47bb-0310-9956-ffa450edef68
* This is for QPID-2176Rajith Muditha Attapattu2009-11-032-1/+37
| | | | | | | | Rob had already added the null check. I added a ProtocolViolationException, that will be thrown if we receive any frames for an already detached session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832441 13f79535-47bb-0310-9956-ffa450edef68
* ensure only passive declares of amq.* exchangesRafael H. Schloming2009-11-011-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831671 13f79535-47bb-0310-9956-ffa450edef68
* QPID-143 : Disabled AcknowledgeAfter... Tests until the underlying Client ↵Martin Ritchie2009-10-281-2/+4
| | | | | | Close race conditions have been addressed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830487 13f79535-47bb-0310-9956-ffa450edef68