| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
I modified the code to keep a map consisting of exchange_type and exchange_name, so it can be properly used when needed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911251 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911249 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Lowering the queue cleaner interval in the broker does not seem to work properly.
Therefore I am disabling the testActiveTTL test and removing the queue purge interval explictly set in the profile.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910987 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The C++ broker removes stales messages using the following strategies
a) If a consumer requests a messages, it checks the head and discards it if it's expired
b) Runs the queue cleaner thread every x (defaults to 5 mins) secs and discards stale messages.
I enabled the TimeToLiveTest (by commenting it out) and reduced the --queue-purge-interval to 1 sec.
This may interfere with other tests. If that happens I will try to increase above interval and the test timeout and see if we could get by.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910777 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910210 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909641 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Added a log message in IoTransport to denote successfull creation of SSL Sender and Receiver
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909150 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
session2 needs to be closed to release the lock on the queue
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907851 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907801 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
test cases to the test suite.
This test is failing due to classpath issues related to Sun shipping a fairly old version of Apache Xalan jars.
I also removed the entry from Excludes. I mistakenly added it there without realizing that this test doesn't extend from QpidTestCase
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907146 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
appear in the log file.
QPID-2059 : One of the main causes of SubscriptionLoggingTest failing was that the aynchronous broker call preceding the log scraping would not always have time to complete the logging to file.
So I have added a waitAndFindMessages method that will attempt to retreive the required string for a set period of time. If it is found then it will perform the findMessages as before. I have updated the LoggingTests to use this method first. This will ensure that we have a more sophoiticated wait that just adding Thread.sleep()s to the tests.
QPID-2059 : Being even more explicit in some of the Logging tests as the previous update caused a sinle ExchangeLoggingTest failure. Updated tests where I can to explicitly wait for a message ID they are testing for. Then used a findMatches with the more general match. i.e. wait for QUE-1001 but find all QUE- messages.
merged changes from 0.5.x r 906559,906459,905600
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906898 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
external broker than the testing AcknowledgeTest code was expecting. Additionally when run in the java-derby(persistent) case the unacknowledge messages were recovered when the broker was restarted. To address this the store of each broker is deleted when the it is stopped.
To ensure that the persistent tests do not impact each other enabled the broker.clean.between.tests on the java-derby profile
Merged change over from 0.5.x r901461
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906895 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cleanly apply to trunk due to IO changes.
QPID-1084 : Committed change to prevent flow control threads being created/sent if the channel/session is closed or the state has acutally changed in the mean time.
Wrapped .debug statements as per review feedback
Merged and adapted these changes from 0.5.x r905592,905596,905605
The AMQMinaProtocolSession Changes were moved to the AMQProtocolEngine
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906890 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
heirarchy
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906888 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Unable to locally reproduce failure so commiting to allow CI boxes to hammer result. As the broker shutdown can sometimes take a full 1s ensuring that we are notified in less time that 500ms is not going to work. Increased delay to 2s to ensure that we can confirm that we waited for less than that time when the connection is closed.
This change was committed to 0.5.x branch a r905559
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906872 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906698 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906156 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Contains helper classes for retrieving and holding information from a parsed address string
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906145 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
the commit in rev 906135
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906144 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
I added the patch attached to the above JIRA with modifications.
The modifications include integration with the address parser added by Rafi, and several refactoring and bug fixes to the original patch.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906142 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Added the Accessor.java to abstract the access strategies. Added several acess strategies including one which takes a list of Accessors.
Added a constrcutor in the QpidProperty class to take an Accessor. The other constructor defaults to SystemPropertyAccessor
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906135 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906099 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
difference in semantics.
I am temporarily disabling this test for the C++ broker test profiles.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905491 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904940 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904934 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904566 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904375 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
to implement a property toString
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904162 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
passing null as the connection parameter
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904126 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
The SASL encryption layer is not fully functional, however it's dormant unless explicitly enabled using the jvm arg "qpid.sasl_encryption" or the connection parameter "sasl_encryption".
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903942 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
I added use_legacy_map_msg_format as a connection paramter to force the client to use the old map message format.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903940 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
connection parameter which will be added shortly
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903924 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903919 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903917 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
I am comitting the patch as it is.
I will make the agreed changes in a subsequent commit shortly.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903911 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
about durable subscriptions and have changed them accordingly.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902231 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
python address usage
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902095 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QPID-2352
- Modified Connection.java to add more than one ConnectionListener. This was done to facilitate the SASL encryption patch - QPID-2352.
- Changed the access modifier for getSaslClient method to "public" to allow the SaslClient to be retrieved by the SASL encryption code -QPID-2352.
- Introduced ConnectionSettings object to hold all the configuration options. Previous constructor methods remains unchanged.
- Modified the ClientDelegate to handle heartbeat and idelTimeout value properly.
- Added support to specify config options via the connection URL - QPID-2351
- Added support to handle the heartbeat/idle_timeout options properly in the 0-10 code - QPID-2350. However once QPID-2343 is completed, the code will be further simplified.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901506 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901448 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
version was not given to the ProtocolSession.
Once this is done the correct delegate is enabled on connection.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901341 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901268 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901267 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
I have added the basis for using a single config source for resolving property names.
We could now add a set of new properties that follows the naming convention agreed on the list while providing support for old property names.
Next step is to dig the code for all the properties and populate the correct tables in ClientProperties.java
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901002 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
The socket interface takes the so_timeout as an int and also the AMQP heartbeat interval is taken as an int.
This change will help simplify the code that handles heartbeats.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901000 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Updated references to QPID-1204 to QPID-2345 which talks more to the issue of setting exception cause when the connection is closed by the broker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900943 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
message count on the queue hasn't changed after a 100ms sleep.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900919 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
The common module also contains code for the client, and therefore contains configuration required for the client to be accessible from within the common module. Therefore the ClientProperties.java is best be placed inside the common module.
The goal is to have a place holder for all configuration properties.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900595 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
based on the port of the running broker. This allows multiple brokers to be started by QTC with a given QPID_WORK value. Removed manual changing of QPID_WORK in FailoverBaseCase as there was no way to know what that value was later. All calls to startBroker in QTC will correctly append the port to the given QPID_WORK value. AcknowledgeOnMessageTest was updated to provide some extra debugging to help aid later investigation of why messages are not recieved after failover.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899797 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
message was not recieved and so the third was non-null and caused the test failure.
Adjusting the timeout for msgs 1 and 2 to 5s helped ensure that they were correctly received. I've left the logging in so that we can see what the results of the three receives were even if it fails on one of the asserts.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899782 13f79535-47bb-0310-9956-ffa450edef68
|