| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
merged trunk r1327905 and r1327912, and also updated java/jca/.gitignore
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.16@1327923 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and Session#rollback() from consumer MessageListener
This patch contains the following changes:
- Add synchronization on AMSession#_messageDeliveryLock into MessageConsumer#close() in order to block until message listener in progress has completed(as required in JMS javadoc for MessageConsumer#close()).
- Change the session dispatcher to stop messages delivery into consumer local message queue if the consumer in the process of closing. This eliminates the need to stop the dispatcher on rejecting pending messages for closing consumer.
- Remove the synchronization on the dispatcher lock from AMQSession.Dispatcher#rejectPending and code to stop the dispatcher, as we are synchronizing on the deliveryLock now and incoming messages are not dispatched into closing consumers anymore.
- Add a system test to reproduce the deadlock and verify its resolution.
Applied patch from Oleksandr Rudyy <orudyy@gmail.com>
merged from trunk r1310275
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.16@1324655 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
failing to receive all messages present on the priority queue
merged from trunk r1309155
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.16@1309388 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
some CI instances
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295574 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
the changes in this JIRA
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295348 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Robbies review comments)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295341 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
broker profiles
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295301 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294895 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
messages on re-connection
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294884 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
connection will hang
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294397 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294194 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
non-transactional messages
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294165 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294144 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1294135 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
certain to rollback transactions in the event of exception
Added finally{} block so txn will be rolled back in the event of any non-normal completion. Refactored the AMQQueue abstraction so that the caller
no longer has to provide a server transaction for move and copy operations. Bolstered the system tests around copy and move JMX management operations.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293951 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
after send
Add test from JIRA to test suite showing problem no longer occurs
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1293034 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292984 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
This test case is seen to fail occasionally on a slower CI box. The failure is a test issue; it uses a non-transactional producer to send the single test message, so the message may not have made it to the broker by the time the QueueBrowser is created. When the test fails, the browser sees no messages.
The test won't be fixed as the test is duplicated by the better QueueBrowser*Test which uses a transactional publisher.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1292207 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1291455 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
reported as non-loopback
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1290908 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
on Apache Jenkins Freebsd slaves.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1245926 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
them. Modified unit test to capture stderr to aid diagnosis of failures.
Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244535 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
and Passwd class
Applied patch from Andrew MacBean <andymacbean@gmail.com> and Philip Harvey <phil@philharveyonline.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1244406 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Increase the tolerance around the number of received alert messages to allow for running on slower CI box.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243448 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
shows the consumer timed out while recieving, before the publisher completed sending all the messages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243382 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Destination cache results in use of the same Destination objects for subsequent messages. Implement equals() and hashCode() for the generated ReplyTo class to let it function properly as an index in the hashmap to resolve the issue. Update PropertyValueTest to remember the initial reply-to destination it sets and compare it with the value returned after sending/receiving the message, rather than constituting its own test destination for comparison.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243380 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
AMQMessage holding its underlying 0-8/0-9/0-9-1 connection/io objects in memory after they are closed. Also stops an NPE on the 0-8/0-9/0-9-1 subscriptions when evaluating no-local after store recovery.
Enables NoLocalAfterRecoveryTest again, though updated to make it simpler and more reliable. This test should be removed if changes for QPID-3605 are undertaken.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1243379 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242716 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
sporadically on slower boxes
The test needs to sync() after sending the last test message in order that the test and broker start
measuring the idle transaction from the same point in time.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242399 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Backout changes to AMQStateManager made by QPID-3512 as these changes were causing the client to hang for 30
seconds after the Broker closed connection due to ACL violation. Refactored ConnectionCloseTest (now
called BrokerClosesClientConnectionTest) to avoid the sporadic failure by verifying that the closed connection
is reported correctly to the client.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1242338 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
The tests rely on a sync() to make sure the Broker has received the sent messages and has had a chance to invoke flow-control. However,
a defect in tests testClientLogMessages and testSendTimeout meant that an inactive session was actually being sync'd, rather than
the one used to produce the messages. This will probably explain the sporadic failure.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241866 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
0-10 profiles
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241670 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
test-case.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241431 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1241257 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
(unsupported) 0-10 and subsequent 0-9-1 connection attempts on the 0-9-1 profiles, so the test can now expect a precise number of messages on every profile
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240867 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
ConnectionStart(Ok) process, align properties better across protocol versions, general tidy up of the property handling
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240813 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
protocol version initiation
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240644 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
suite because there is already junit test for testing peak value evaluation
Applied patch from Oleksandr Rudyy <orudyy@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240519 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
failures on sorted queue tests
Applied patch from Oleksandr Rudyy <orudyy@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240517 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
MaxDeliveryCountTest.testAsynchronousDupsOkSession by ensuring the queue depth check syncs first
Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240065 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
DurableSubscriptionTest.testDurSubAddMessageSelectorNoClose, and update others to remove unecessary syncs for 0-9
Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1240064 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
broker-wide to save having to exclude them from individual ports
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1239579 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
retired impls) from the Java Broker's config.xml
* Remove remaining references to MINA transport configuration keys: enableDirectBuffers/enablePooledAllocator/filterchain from code and example config files.
* Remove references to compressBufferOnQueue from config XMLs. The implementation that used it was removed back in 2007 by QPID-275.
* Remove references to broker-side configuration key enableJMSXUserID. This broker feature was removed by QPID-943 (which replaced the functionality with an equivilent client-side option). The old Broker side key plays no part in the client-side function.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1237088 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
Add new testcase BDBBackupTest to test the operation of the BDB store backup mechanism (backup.sh).
Changed test case PersistentStoreTest to implement the manually scripted BDB tests.
This required changes to QBTC and BrokerHolder to allow an external Brokers to be forcibly kill'd with -9.
Remove script and class for manual tests.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236931 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
checkstyle happy)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236867 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
happy)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236647 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
unused/redundant imports (keep Checkstyle happy)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236638 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
with understandable versions and remove duplicate/obsolete tests FailoverTest and RollbackTest.
Applied patch from Andrew MacBean <andymacbean@gmail.com> and Oleksandr Rudyy<orudyy@gmail.com>.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1236127 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1235556 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
(0-9 codepath)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1234215 13f79535-47bb-0310-9956-ffa450edef68
|