summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1893: echo back a heartbeat when we receive oneRafael H. Schloming2009-06-081-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782633 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1887Rajith Muditha Attapattu2009-06-031-10/+14
| | | | | | | | | I incorporated the review comments and made the following changes. The current time is generated only if ttl is set or disable Timestamp is set to false. If ttl is set we set it and also calculate the expiration as current_time + ttl. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781515 13f79535-47bb-0310-9956-ffa450edef68
* Fixed QPID-1888 for the java broker. Also fixed a bug caught by the new ↵Rafael H. Schloming2009-06-032-2/+10
| | | | | | selector test where message ids were being set to the string 'ID:null' when message-ids are disabled. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781507 13f79535-47bb-0310-9956-ffa450edef68
* Increased the receive timeout to 1000 ms as the test seems to fail on some ↵Rajith Muditha Attapattu2009-06-031-4/+4
| | | | | | systems git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781352 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1888Rajith Muditha Attapattu2009-06-032-0/+79
| | | | | | | The SelectorTest contains a test case to catch this as the JMS tck does not have one. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781244 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1887Rajith Muditha Attapattu2009-06-021-4/+2
| | | | | | | The TimeToLiveTest should be enough to cover this case. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781141 13f79535-47bb-0310-9956-ffa450edef68
* Added RollbackOrderTest to the 0-8 excludes list.Rajith Muditha Attapattu2009-05-281-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779653 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1875Rajith Muditha Attapattu2009-05-282-1/+13
| | | | | | | | The BindingURLParser is updated to grab the clientID and subscription to form the queue name. I also added a test case to cover this. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-970: removing defunct readme file, from trunk this time and not a ↵Robert Gemmell2009-05-281-21/+0
| | | | | | branch due to svn switched subtree, doh git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779641 13f79535-47bb-0310-9956-ffa450edef68
* Fail the test when we can't find the alert and surface the contents of the ↵Aidan Skinner2009-05-281-9/+23
| | | | | | logfile. Ugly but effective for debugging occasional failures in CI. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779557 13f79535-47bb-0310-9956-ffa450edef68
* Removed extra system out statements from PerfProducer.javaRajith Muditha Attapattu2009-05-273-12/+39
| | | | | | | | Added more test cases to the perf report Uncommented and added clientid and subscription props to the testTopicD destination. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779212 13f79535-47bb-0310-9956-ffa450edef68
* Don't delete derby.log. Use virtualhost-systests.xml for testing purpouses. ↵Aidan Skinner2009-05-265-7/+134
| | | | | | Minor code cleanup in AlertingTest. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778723 13f79535-47bb-0310-9956-ffa450edef68
* Turn on immediate flush on the console appender.Aidan Skinner2009-05-261-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778707 13f79535-47bb-0310-9956-ffa450edef68
* Nuke derby.log and derbyDB in broker cleanup. Also, why does Derby not honor ↵Aidan Skinner2009-05-252-2/+2
| | | | | | QPID_HOME? Lame. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778415 13f79535-47bb-0310-9956-ffa450edef68
* Added a message to indicate the producer and consumer have completed the test.Rajith Muditha Attapattu2009-05-251-0/+2
| | | | | | | This can be then greped by any automated to test script to identify the end of a test run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778265 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a minor bug in pre-creating the payload array used in random msg size ↵Rajith Muditha Attapattu2009-05-241-1/+5
| | | | | | | | | test. It now creates an array of payloads starting from zero bytes (empty payload) to msg_size-1 bytes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778150 13f79535-47bb-0310-9956-ffa450edef68
* Marked all queues as auto-delete to allow clean up after a test exitsRajith Muditha Attapattu2009-05-231-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777927 13f79535-47bb-0310-9956-ffa450edef68
* The default value for message cache is set to false.Rajith Muditha Attapattu2009-05-232-6/+52
| | | | | | | | | Added the functionality to support variable message sizes using -Drandom_msg_size=true. This will create an array of payloads from 1 byte to x bytes where x is configured by -Dmsg_size=x (default is 1024). The Random number generator works of the same seed so different test runs can be compared properly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777922 13f79535-47bb-0310-9956-ffa450edef68
* Use alert level in the config file, don't try to set one (since that won't ↵Aidan Skinner2009-05-221-4/+6
| | | | | | always work. *sigh*). Need a test-config really. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777601 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1870, QPID-1871 : Don't disable tests that are known to fail as we ↵Martin Ritchie2009-05-221-5/+0
| | | | | | loose visibility of them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777465 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1871 : Disable RollbackOrderTest until we address message rejectionMartin Ritchie2009-05-221-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777456 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1870 : Disable AlertingTest until it can be fixed.Martin Ritchie2009-05-211-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@777018 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1864: sync the dispatch queue to make sure there are no messages in it ↵Rafael H. Schloming2009-05-193-4/+116
| | | | | | before we rollback, and fix the ordering so that messages are released in queue order git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@776378 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1859Rajith Muditha Attapattu2009-05-143-44/+19
| | | | | | | | | For FailoverSingleServer the default for retries is set to 0 and the current_retries start from 0 instead of -1. For FailoverRoundRobinServers the current_broker_index now starts from 0 instead of -1. The AMQConnection now uses the getCurrentBrokerDetails() instead of the getNextBrokerDetails() to get the initial broker to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774899 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1854Rajith Muditha Attapattu2009-05-141-1/+8
| | | | | | | | | The sender.close is now surrounded with a try catch to handle the exception thrown by the IoSender.close(). The ideal situation would have been to pass false to the IoSender.close(boolean reportException) method which will then not throw the exception up the stack. But that method is not exposed in the Sender interface. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774817 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1853. Since the socket is being closed inside the ↵Rajith Muditha Attapattu2009-05-141-1/+0
| | | | | | finnaly block we can remove the socket.close after the while loop inside the run method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774812 13f79535-47bb-0310-9956-ffa450edef68
* Added an exclude list for ssl.Rajith Muditha Attapattu2009-05-132-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774465 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1857Rajith Muditha Attapattu2009-05-131-0/+2
| | | | | | | We now create a new session id, instead of reusing the same when it tries to attach the session after failover. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774452 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1854Rajith Muditha Attapattu2009-05-131-0/+1
| | | | | | | | I have added a sender.close() inside the closed() method in the Connection.java This ensures the sender is closed and the IoSender thread is shutdown gracefully. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774305 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1853. We now close the socket in the finnally block.Rajith Muditha Attapattu2009-05-131-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@774297 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1848 : fixed startup script on unix platformAndrea Gazzarini2009-05-121-20/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@773795 13f79535-47bb-0310-9956-ffa450edef68
* Modified the default message size to 1024 - I missed the default value for ↵Rajith Muditha Attapattu2009-05-071-1/+1
| | | | | | the system property in the previous commit git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772492 13f79535-47bb-0310-9956-ffa450edef68
* Modified the default message size to 1024 bytesRajith Muditha Attapattu2009-05-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772491 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1841: make MC release tar files gzipped as filename indicates. Add ↵Robert Gemmell2009-05-061-2/+8
| | | | | | licence, notice, readme from main resources folder git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@772177 13f79535-47bb-0310-9956-ffa450edef68
* The certificates added here had expired :(.Rajith Muditha Attapattu2009-05-047-23/+21
| | | | | | | Adding new certificates with a longer expiry git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771471 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1839Rajith Muditha Attapattu2009-05-041-2/+12
| | | | | | | | | I added a timeout (that could be configured via qpid.ssl_timeout if needed) to notify the application, 1) if the broker fails to respond in a timely manner 2) if there was an error and the broker has already closed the connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@771470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1833: use file.seperator to overcome copy+globmapper path limitation on ↵Robert Gemmell2009-04-302-2/+2
| | | | | | Windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770317 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1730: add AlertingTest, although not to 010Aidan Skinner2009-04-284-2/+167
| | | | | | | | java.testprofile: Make sure that the broker can always find the log configuration file even if we've used a different directory for the config file QpidTestCase: expose the file that the output is being written to as a protected variable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@769406 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1826: brown paper bag commitAidan Skinner2009-04-232-16/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1826: Ensure that server-wide configuration variables in ↵Aidan Skinner2009-04-235-54/+298
| | | | | | virtualhosts.xml are honored. Add sample-flattened parse tree from M4 and test to ensure that values are parsed appropriately. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767951 13f79535-47bb-0310-9956-ffa450edef68
* Added failonerror=true to fail the build if the example automation failsRajith Muditha Attapattu2009-04-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767211 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1823: Allow recycling of channel IDsAidan Skinner2009-04-219-5/+167
| | | | | | | | | | | | AMQConnection.getNextChannelID: add method to abstract channel id assignment, allow max to be set AMQConnectionDelegate*: add getMaxChannelID AMQConnectionDelegate_0_10: use getNextChannelID for this session-id SessionCreateTest: add test that attempts to create 65555 sessions on one connection AMQConnectionTest: add unit test for getNextChannelID SessionCreateTest takes a long, long time to run so is excluded by default git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767185 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1824 : Add ability to use a ConnectionURL String to configure a ↵Martin Ritchie2009-04-212-0/+86
| | | | | | ConfigurationFactory via a 3rd party tools that use Bean properties such as Mule or Spring. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767150 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1818 : Disable NoLocalAfterRecoveryTest until we can resolve the ↵Martin Ritchie2009-04-211-0/+2
| | | | | | failover problems git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@767083 13f79535-47bb-0310-9956-ffa450edef68
* Setting the svn:executable property on the verify_all scriptRajith Muditha Attapattu2009-04-171-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1822: override imported module.xml 'libs' target, preventing unecessary ↵Robert Gemmell2009-04-171-0/+4
| | | | | | copy of the libs to the 'build/lib' directory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766068 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1798: Update AMQQueueMBean to use new constant value of DeliveryMode, ↵Robert Gemmell2009-04-173-5/+6
| | | | | | | | | replacing previously incorrect literal value used in conditional statement and thus preventing the reversal of delivery mode status. Also update other broker classes making similar comparisons using a literal value to use a constant. merged from trunk r764026, as changes were lost during /broker 0.5-fix process. Excludes changes to sections no longer present, and changes still present in /common from previous commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766047 13f79535-47bb-0310-9956-ffa450edef68
* Turn off NoLocalAfterRecoveryTest until it's fixed.Aidan Skinner2009-04-171-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766042 13f79535-47bb-0310-9956-ffa450edef68
* Eat IllegalArgumentException when creating the signal handler, fixes startup ↵Aidan Skinner2009-04-171-1/+9
| | | | | | on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766025 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1820: configure queues on creationAidan Skinner2009-04-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@766004 13f79535-47bb-0310-9956-ffa450edef68