| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469491 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469478 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469470 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469463 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469436 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
broker
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469430 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Also resolves a race condition where an messages could be sent out of order.
Modification of the Java ConcurrentLinkedQueue to provide a constant time size() method
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469424 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Also resolves a race condition where an messages could be sent out of order.
This change needs to be benchmarked against original DeliveryManager.java with the race condition fixed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469422 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
(JIRA-35)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@468538 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
compatible with latest code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@468070 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467700 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467605 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467589 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
Fixed test for high and low water marks.
Had AMQChannel.UnacknowledgedMessage rather than simply UnacknowledgedMessage.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467315 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467314 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
Enabled buffer compression on delivery queue as a configuration option from the xml.(advanced.compressBufferOnQueue)
Changed DeliveryManager.java to use ConcurrentLinkedQueueNoSize.java this is the standard ConcurrentLinkedQueue but where the size() method returns 0(empty) or 1(has content) as it is an expensive operation.
Previously there was a race condition with the use of the _queueing boolean. Under load the consumer would sometimes stop getting messages. This was due to the messages being enqueued without starting the Worker thread.
There is still an issue (QPID-54) on high receiving load messages rate received by a client drops.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467313 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Added High and Low water marking to AMQChannel.java.
Currently the low water mark defaults to half the High value.
Test for high and low water marks.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467310 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466127 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Addition to be used from DeliveryManager.java to reduce the size of the ByteBuffer when queuing messages to reduce overall memory footprint.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466082 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
when closing the ProtocolSession to join on so that we can be sure all data has been written to the broker. A time out of 2 minutes ensures that the client doesn't hang for ever if the broker fails.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466078 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
Added Simple JNDI SPI Class that uses a PropertiesFile to create a ContextFactory for use with in JNDI.
Added a unit test to test using properties file to get correct objects from JNDI lookup.
Modifed AMQHeadersExchange.java to allow creation from a BindingURL.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466076 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466046 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466045 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465549 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@465166 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Use of single prefetch should be unaffected. Setting the high and low to be the same.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464950 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
clients if the queue size increases the threshold value or a message with size higher than threshold value is received.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464900 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- This line, and those below, will be ignored--
M java/broker/test/src/org/apache/qpid/server/UnitTests.java
M java/broker/test/src/org/apache/qpid/server/queue/DeliveryManagerTest.java
A java/broker/test/src/org/apache/qpid/server/txn
AM java/broker/test/src/org/apache/qpid/server/txn/UnitTests.java
AM java/broker/test/src/org/apache/qpid/server/txn/TxnBufferTest.java
M java/broker/test/src/org/apache/qpid/server/util/UnitTests.java
AM java/broker/test/src/org/apache/qpid/server/util/OrderedMapHelperTest.java
M java/broker/src/org/apache/qpid/server/queue/SubscriptionImpl.java
M java/broker/src/org/apache/qpid/server/queue/DeliveryManager.java
AM java/broker/src/org/apache/qpid/server/queue/FailedDequeueException.java
M java/broker/src/org/apache/qpid/server/queue/AMQMessage.java
M java/broker/src/org/apache/qpid/server/queue/AMQQueue.java
M java/broker/src/org/apache/qpid/server/queue/Subscription.java
M java/broker/src/org/apache/qpid/server/queue/NoConsumersException.java
M java/broker/src/org/apache/qpid/server/AMQChannel.java
M java/broker/src/org/apache/qpid/server/txn/TxnBuffer.java
M java/broker/src/org/apache/qpid/server/txn/TxnOp.java
AM java/broker/src/org/apache/qpid/server/util/OrderedMapHelper.java
M java/broker/src/org/apache/qpid/server/handler/TxCommitHandler.java
AM java/client/test/src/org/apache/qpid/transacted/UnitTests.java
M java/client/test/src/org/apache/qpid/client/AllClientUnitTests.java
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@464867 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463674 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Updated referenceabletest files to use the temporary directory reported by the System.properties.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463671 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
than the MINA one.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463662 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463410 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
MINA-0.9.5 and upgraded to MINA-1.1.0 snapshot.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463403 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
physical location).
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463397 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
bytes are available in the message and throw the appropriate exception if not. Unit test updated to check behaviour of readXXX methods.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463363 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
due to a race condition
where the consumers queue was not bound by the time the publisher sent messages.
This is a result of the use of nowait=true for the declare/bind/consume cycle for a BasicMessageConsumer.
To work around this in tests like these that have two connections, one consuming & one publishing, I
added a declareExchangeSynch() method to AMQSession which allows a thread to block until the session it
invokes that method on has processed all the commands up to that point.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@463309 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462840 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462820 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@454782 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
bdb config refs as per QPID-30
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@454738 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
install as per QPID-30
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@454736 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453539 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453537 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
lot when flow control starts.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453196 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
lot when flow control starts.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@453193 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452546 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
common/*/framing/* - White space changes from tabs to 4 spaces.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452529 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
line. As without this the level is automatically set to debug but the console only displays info level and above messages. This results is a lot of wasted cycles.
If -Damqj.logging.level is present on the command line then that value will override the default of "info"
Related to QPID-12
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452430 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
QPID-10
#QPID-10
JIRA QPID-10
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452334 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
temporary frame listener was never removed. Hence causing longer add times and lots of "live" objects.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@452326 13f79535-47bb-0310-9956-ffa450edef68
|