| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
on whether to stop delivering. Use a boolean instead of doing a 0/1 toggle and update variables to generally clarify logic. Use an int instead of a long for the iteration decrementing
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1086040 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
multiple consumers using unique selectors. Exposes issue detailed in QPID-3165.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1086039 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1085187 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
The address parser treats 'true' as a string while it treats 'True' as a boolean.
Therefore I modified the AddressHelper class to expect both forms. The MapAccessor class used for the rest of code already handles this case.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1084462 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Excluding the testGetPropertyNames test case until we make a decision on whether to apply the same fix for 0-8 codepath.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1084420 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Removed the explicit use of addressing in the test case to enable it to be run under any profile.
This seems better than excluding it from the default and 0.8 profiles as the test doesn't really have anything to do with addressing.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1084414 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
I had checked in an incomplete test case with rev 1082719
I had made certain changes to the test case for testing another potential fix, but forgot to revert it back to the original before committing.
Re applied the changes to adequately test the issue.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1084048 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1082719 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Added a temp hack to get the testReplyToWithNamelessExchange passing with the java.0.10 test profile.
In doing so I realized that "qpid.declare_exchanges" has no affect on the producer side.
Therefore I added a check in BasicMessageProducer_0_10.java to check this flag before issuing an exchange_declare.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1082715 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added testReplyToWithCustomExchange as a test case for QPID-3011
Removed testAddressBasedReplyTo as the above test cases cover it adequately.
Currently the testReplyToWithNamelessExchange fails with the java.0.10 test profile.
This is due to the default being BURL and the replyTo address is evaluated as a BURL and as part of the logic an exchange declare is being set.
The C++ broker does seem to ignore the exchange declare of a known type (the nameless exchange in this case), while the java broker throws an exception.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1082709 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1081858 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Added a test case to cover a producer created with a null destination (where a valid destination is supplied each time send is invoked).
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1081467 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
Removed the line which sets the create option to 'always'. Please note that the default create option is set to 'never'.
Therefore if just a queue name is specified the client will throw an exception if that queue is not present in the broker.
However this check will only be performed when a producer or consumer is created using that destination.
Also modified the existing test case to verify the default and the explicit create case.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1081460 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Refactored the test a bit and added a test for default reliability modes for Topics and Queues.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1080417 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Adding a test case for the reliability options.
It verifies that,
1. The correct accept modes are set for unreliable and at-least-once.
2. Exceptions are thrown for unsupported unreliable modes.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079986 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
The reliability mode is now used on the producer side to determine replay.
Any messages transfers sent to a destination marked unreliable will not be added to the replay buffer.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079408 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079402 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Applied patch from Weston M. Price
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079327 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079059 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Port of QPID-2932 changes from 0.5.x-dev branch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079043 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Port of QPID-2864 changes from 0.5.x-dev branch to trunk.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079042 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1079041 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Set the default reliability modes for Topics and Queues.
The code now throws an exception if at-least-once is specified for Topics as we don't support it properly atm.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1078971 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Added a null check for the destination in both MessageConsumer and MessageProducer close methods.
According to the JMS spec the MessageProducer can be created with a null destination and still be used properly by specifying a destination on the send. Therefore this null check especially important on the message producer side.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1078961 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1078729 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1078098 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1077990 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1077989 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1077988 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1077953 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
align with unquoted names used elsewhere in the console
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1077869 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Only UNRELIABLE and AT_LEAST_ONCE is supported.
Currently the reliability mode is used only for determining the accept-mode.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076800 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
The isQueueExist method is modified to handle the exception when a queue has been deleted.
Both the Message producer and consumer now delete the queue if the delete option is selected and will not check if the queue is empty or if there are any subscribers on it.
Also added test cases.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076670 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
- Change error checks so that don't throw an incorrect exception in getters
when the queue is null. This should only happen when sending.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076642 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
The getPropertyNames method will filter out any property names whose values are not allowed as per the JMS spec.
I could have used the ALLOWED map to check if a value is a valid type.
But unfortunately that map contains byte[] as a valid type, which is not correct as per the JMS spec.
I did not want to modify that map or the behaviour of the setObjectProperty or getObjectProperty methods as there might be applications out there that is depending on it.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076532 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Instead of checking if it's an instance of AMQQueue, the code the now checks if it's an instance of AMQDestination and javax.jms.Queue to cover the AMQAnyDestination case. The same check is done for topics. Added test cases for QueueReceivers, TopicSubscribers and DurableTopicSubscribers using the new addressing scheme.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076516 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076329 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Added logic to look for the 'host' in the authority field if getHost returns null.
Looking at the code that follows, you could definitely make more improvements.
However since we are close to the 0.10 release I'd leave things as it is for the time being.
I have also added test cases to cover the issues highlighted by the respective JIRA.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076011 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
This commit allows a MapMessage to accept an UUID object in it's setObject method.
Added test cases for directly setting UUID objects or inside Maps and Lists that gets set into the MapMessage body.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075961 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
available plugins for 0-10 codepath.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075871 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075756 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
ObjectName key values
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075745 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Connections, Exchanges, and VirtualHosts instead of just remapping characters.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075744 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1073038 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1072179 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1071972 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1071700 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
network read buffer array
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1071676 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Methods, rather than pre-allocating a 64000 entry array
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1071675 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
BBEncoder and BBDecoder, release buffer from BBDecoder when complete
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1071674 13f79535-47bb-0310-9956-ffa450edef68
|