summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1153 - Patch from Steve HustonTed Ross2008-07-291-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680798 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1203: Add 08ExcludeList for external Java broker and make the profile ↵Aidan Skinner2008-07-295-7/+42
| | | | | | | | use that. Make AMQConnectionFactory take an optional clientid and use that if specified. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680752 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1203: use slf4j instead of log4j directlyAidan Skinner2008-07-292-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1203 Don't treat protocol negotiation failure as failover reducing error.Aidan Skinner2008-07-291-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680750 13f79535-47bb-0310-9956-ffa450edef68
* Fix for client busy looping whilst waiting for a messageAndrew Stitcher2008-07-291-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680691 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1201: fixed some brainos in IoSenderRafael H. Schloming2008-07-291-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1201: fixed up version of aidan's patch, there are still failures when ↵Rafael H. Schloming2008-07-2911-147/+106
| | | | | | running against an external java broker, however we seem to get past basic connection negotiation now git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680602 13f79535-47bb-0310-9956-ffa450edef68
* removed defaulted entries from the java testprofileRafael H. Schloming2008-07-291-15/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680601 13f79535-47bb-0310-9956-ffa450edef68
* Refactor of EpollPoller to make PollerHandler lifecycle easierAndrew Stitcher2008-07-283-25/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680395 13f79535-47bb-0310-9956-ffa450edef68
* Add java test profileAidan Skinner2008-07-281-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680349 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused Module.h header file.Gordon Sim2008-07-283-53/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680318 13f79535-47bb-0310-9956-ffa450edef68
* Add some escaping action to the sed in svncmd so that it works rightAidan Skinner2008-07-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1200: Only set out and err if we're actually redirecting them.Aidan Skinner2008-07-281-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@680309 13f79535-47bb-0310-9956-ffa450edef68
* Reduce the size of messages in fanout perftest to keep the queues from ↵Gordon Sim2008-07-251-1/+1
| | | | | | getting too large. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679822 13f79535-47bb-0310-9956-ffa450edef68
* Only reduce count and size maintained for queue plicy when messages are ↵Gordon Sim2008-07-257-40/+68
| | | | | | actually dequeued (i.e. acked). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679805 13f79535-47bb-0310-9956-ffa450edef68
* Add xslt magic for creating code review agenda, and add wrapper scriptAidan Skinner2008-07-253-0/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679762 13f79535-47bb-0310-9956-ffa450edef68
* Exclude core verify script from verifications run when python examples ↵Gordon Sim2008-07-251-1/+1
| | | | | | cannot be found. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679756 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in SubscriptionManager::get() where flush was issued before ↵Gordon Sim2008-07-252-1/+24
| | | | | | waiting and if message showed up after flush completed but before wait was finished there was no credit (due to flush) to deliver it to the waiting client. Added test for thise case. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679739 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1154, QPID-1155 & QPID-1156: Patches from Steve Huston to fix various ↵Gordon Sim2008-07-253-5/+6
| | | | | | minor compiler errors. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679717 13f79535-47bb-0310-9956-ffa450edef68
* QPID-447: Patch from David Sommerseth merged from r679689.Gordon Sim2008-07-252-8/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679699 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1157: updated java trunk so a report is generated when there is a faultArnaud Simon2008-07-241-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679481 13f79535-47bb-0310-9956-ffa450edef68
* Allow configurable default size limit to be set for queues (merged from ↵Gordon Sim2008-07-244-10/+23
| | | | | | r679462). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679469 13f79535-47bb-0310-9956-ffa450edef68
* Refactored so that Dispatcher is now independent from DispatchHandleAndrew Stitcher2008-07-243-28/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679276 13f79535-47bb-0310-9956-ffa450edef68
* Refactor to change client connector state machine to be held in ↵Andrew Stitcher2008-07-244-18/+20
| | | | | | ConnectionHandler git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679268 13f79535-47bb-0310-9956-ffa450edef68
* qpid-1157: added jms tck scripts + README file + config file for setting ↵Arnaud Simon2008-07-2322-245/+435
| | | | | | email related properties git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1187 : The broker did not correctly handle subscriptions that would ↵Martin Ritchie2008-07-231-1/+5
| | | | | | suspend due to exhaustion of bytes credit. The processQueue loop would spin, this fix marks the subscription inactive for that loop in processQueue so it will stop processing that subscription and ultimately the whole processQueue loop if required. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679059 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1183: Use the right sizes to insert data inside the message payload ↵Gordon Sim2008-07-231-3/+3
| | | | | | where sizeof(size_t) != sizeof(uint32_t). Patch from Manuel Teira. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679048 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for transactional perftest (merge of r679038 from qpid.0-10)Gordon Sim2008-07-231-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@679045 13f79535-47bb-0310-9956-ffa450edef68
* Updated the io transport to use a separate write thread with a circular ↵Rafael H. Schloming2008-07-229-414/+536
| | | | | | buffer that does opportunistic write batching. Fixed error handling and shutdown for the io transport. Switched default from mina to the io transport for the 0-10 client. Modified InputHandler to accumulate bytes in the outer loop and simplified the state machine accordingly. These changes should address QPID-1188, prevent the Java client from running out of memory when writing messages faster than the network and/or broker can keep up, and in general improve performance. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@678848 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1185: replaced occurrances of with , also made default.testprofile ↵Rafael H. Schloming2008-07-206-76/+11
| | | | | | always load so that all other testprofiles only need to override values that are different git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@678260 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1184: redirect stdout and stderr from QpidTestCaseRafael H. Schloming2008-07-192-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@678211 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1182 : Added additional logging to identify the exception that caused ↵Martin Ritchie2008-07-175-19/+35
| | | | | | Authentication to fail. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677633 13f79535-47bb-0310-9956-ffa450edef68
* Moved the Reflection Wrapping code used by the system tests to the system ↵Martin Ritchie2008-07-174-5/+5
| | | | | | test. If they are left in common then we must include the common directory when using the systest-testing frameworks no matter the version of Qpid being tested. Whilst this is probably not a problem as long as the classpath is carefully set up it does introduce another potential uncertainty to any test failure. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1177 : Fixed the format of the messages, realised that the ↵Martin Ritchie2008-07-171-6/+2
| | | | | | transport.Connection uses a logging wrapper but in my haste to make the format the same in AMQProtocolHandler hadn't checked the output was as expected. Was missing the String.format. Also there was an extra debug level output of the sent frame. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677525 13f79535-47bb-0310-9956-ffa450edef68
* Enable dequeue for prototype clusterAlan Conway2008-07-178-27/+54
| | | | | | | | | - qpid/broker/SemanticState.cpp: moved doOutput into write idle callback. - qpid/broker/Connection.cpp: make doOutput an intercept point. - qpid/cluster/*: intercept doOutput to serialize output in cluster thread. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677486 13f79535-47bb-0310-9956-ffa450edef68
* Cluster: shadow connections, fix lifecycle & valgrind issues.Alan Conway2008-07-1729-441/+538
| | | | | | | | | - tests/ForkedBroker: improved broker forking, exec full qpidd. - Plugin::addFinalizer - more flexible way to shutdown plugins. - Reworked cluster extension points using boost::function. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677471 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1170 - Removed spurious include from exampleTed Ross2008-07-161-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1170 - Provide a better factory for creation and deletion of the ↵Ted Ross2008-07-1616-85/+134
| | | | | | management agent git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-871 : The shutdown change had a spurious getInstance() call which would ↵Martin Ritchie2008-07-161-8/+14
| | | | | | case a new instance of ID 1 to be created if there wasn't one, it would then procede to shutdown that MBeanServer not the MBeanServer attached to the ApplicationRegistry that is being shutdown. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677327 13f79535-47bb-0310-9956-ffa450edef68
* Update to the logging to ensure QpidTestCase is always logged and ↵Martin Ritchie2008-07-169-4/+49
| | | | | | standardized the protocol output format between 0-8/0-9 and 0-10 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677319 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1181 : Added additional logging to help diagnose a NullPointerExceptionMartin Ritchie2008-07-163-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677263 13f79535-47bb-0310-9956-ffa450edef68
* Renamed shutdownServer to restartBroker as that is what is doesMartin Ritchie2008-07-164-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1179 : Adjusted the test size from 100 to 10, this should reduce the ↵Martin Ritchie2008-07-161-26/+48
| | | | | | likely hood of a slow machine failing the test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677260 13f79535-47bb-0310-9956-ffa450edef68
* Converted client.failover.FailoverTest so it can utilise the standard ↵Martin Ritchie2008-07-163-73/+72
| | | | | | mechanism for failover testing, as the local CruiseControl had testP2PFailoveWithMessagesLeft fail with extra messages being left on broker. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677259 13f79535-47bb-0310-9956-ffa450edef68
* Added a warning log statement if the TransportConnection autocreates an InVM ↵Martin Ritchie2008-07-161-0/+1
| | | | | | Broker git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677258 13f79535-47bb-0310-9956-ffa450edef68
* Changed erroneous error level logging to info levelMartin Ritchie2008-07-162-6/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677257 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1178 : Prevent Rejecting messages destined for known QueueBrowsersMartin Ritchie2008-07-161-3/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@677256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1177 : Added Protocol Level Debug logging. Uses a final static so ↵Martin Ritchie2008-07-152-1/+15
| | | | | | should JIT out if disabled. To enable set -Damqj.protocol.logging.level=info git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@676982 13f79535-47bb-0310-9956-ffa450edef68
* QPID-940,QPID-594,QPID-805,QPID-826 : Updated the client exception handling ↵Martin Ritchie2008-07-1544-929/+1035
| | | | | | | | | | | | | | | | | | | | | | so that exceptions are not lost. In performing the changes I noted that the AMQStateManager is only used for connection creation in the 08/09 codepath. Now this may be due to the fact that we don't currently need to wait on any other states. We need to improve our testing of error conditions for all protcol versions. Changes Summary: The MethodHandlers had their AMQStateManager parameters swapped for AMQSession as that is what they all cared about. The BlockingMethodFrameListener was used as a basis to create a generic BlockingWaiter which is now used by StateWaiter, There is probably scope to refactor the AMQStateManager and the parts of the AMQProtocolHandler that deal with the _frameListeners into a generic class but that can be looked at as part of a wider client refactor. Additionally tests were updated such as SimpleACLTest and ConnectionTest as they were expecting JMSExceptions from the constructor but the JMS API does not demand that and AMQExceptions are now correctly being thrown. The SimpleACLTest also required a change to AMQSession. The test calls send which will cause the connection to be closed asynchrously due to a permission violation. As this exception is not expected and is asynchorous to the client code it cannot be directly thrown. The solution is to record this exception in the AMQStateManager, it can tell that there are no waiters for the exception so it can record the value.(Potential exists to alert if the exception is overwritten but I don't think this is required right now) When the AMQSession checks that the connection is closed it is then possible to check if the current State is CLOSED and if we have an exception sitting in the AMQStateManager. If all these are true we can attach the AMQStateManager exception to the IllegalState Exception that is normally thrown when the Session is closed. This maintains JMS Compliance and allows us to discover the cause of the failure, SimpleACLTest was updated by removing the IllegalState catch section that was causing the test to silently fail. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@676978 13f79535-47bb-0310-9956-ffa450edef68
* QPID-984 : Applied fix from M2.1.x that adds requried synchronization around ↵Martin Ritchie2008-07-151-98/+81
| | | | | | setup and tear down of Connections. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@676973 13f79535-47bb-0310-9956-ffa450edef68