| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
between sends (merged from 0.5-dev)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899301 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
between sends (merged from 0.5-dev)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899296 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
threads to validate the previous change.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898953 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
MessageFormat for each log message as re-using a static formatter is not thread safe. The gap between applyPattern() and format() gives another thread the chance to change the pattern.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898821 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898634 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898570 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
I couldn't find any straight forward way to grab the proper ID from the SASL client.
Therefore I had to use the java GSSAPI classes to create a security context to grab the ID.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898505 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
The qpid.client_process could also be set to something more descriptive as follows using a jvm argument.
-Dqpid.client_process="My Billing App"
Currently added the prop names as plain strings. They will be moved to a single location as part of wider effort in organizing our configuration.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897985 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
The fix allows an idle_timeout of zero to be set as the heartbeat interval with a warning message to say heartbeats are disabled.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897922 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Due to the mistake a get operation could reference an index out of bounds or it could print fewer items than what is required.
This commit corrects that mistake.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@897323 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
passwords. Position these after the older now-deprecated char[] methods within the UserManagement interface to manipulate the MBeanInfo generated, resulting in overwriting the OperationData of the deprecated method on the old 0.5 management console and forcing use of these newer methods rather than the incompatible char[] based methods. Remove previously added compatibility check as it is no longer required. Update current management console to use the new String based methods when available.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896693 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
prevent the 0.5 management console from sending an MD5-hashed password to the once again versionless UserManagement MBean. Add compatibility check to alert users of the old console they should upgrade to a newer release.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896692 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896674 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896435 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
to libs for modules other than client that depend on common.libs. Add commons-lang and commons-collections to client.libs
merge from 0.5.x-dev r894875
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@895992 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@895789 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
existing exchange entry in the store first. Remove the no-longer-required workarounds for QPID-2096 that prevent addition of the default and config-defined durable exchanges to the store at startup and so lead to failure to recover the associated bindings on subsequent store recovery cycles
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@895736 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
exchange registration. Remove auto-delete related persistence restriction from 0-10 based exchange declarations
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@895735 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
merge from r892761
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@893301 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892304 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892301 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
condition in the test
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892228 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
I am adding them to the Exclude list until they are fixed.
FailoverBeforeConsumingRecoverTest QPID-2225
SimpleACLTest.testClientPublishInvalidQueueSuccess - QPID-2262
MINANetworkDriverTest - QPID-2224
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@892119 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
I have removed the checkReadable() method from the toBodyString()
This will enable the toString() method to be used any time on message.
I have also modified the Functions.str() to take in an additional parameter to denote to the starting position of the buffer.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891805 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891416 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
QpidRollingFileAppender appender.
Also added more local documentation explaining the more obscure params
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891332 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
location for existing backup files to initialise the .n count
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891331 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
counts.
Because a compressed file is renamed the .n value is not recognised so this update makes it check for the COMPRESSION_EXTENSION (.gz)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891330 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
kicks in before DatePattern.
Now it is possible to specify a DatePattern with small units (seconds/minutes) and not lose log file date when the MaxFileSize causes the file to roll over
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891329 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
conjunction with exiting log files and MaxSizeRollBackups
Adding .n to the end of the name and calculating the .n value based on existing log files.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891324 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891322 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
correct values from the superclass. Allow viewing content of messages with IDs outside the integer range.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890154 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
within the getAttributes return values
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890153 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
retrieve the current message count
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890152 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889865 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Deleted Messages from being processed by the notification checks.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889645 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889619 13f79535-47bb-0310-9956-ffa450edef68
|