Commit Graph

8568 Commits

Author SHA1 Message Date
gtully c89bb7a316 fix intermittent failure of FailoverStaticNetworkTest. Bridge fails to start triggerStartAsyncNetworkBridgeCreation thread waiting on localBrokerInfo. The command was dropped due to contention between dispatch and peer start. Fix and test. Relates to https://issues.apache.org/jira/browse/AMQ-3684 2015-05-12 22:10:57 +01:00
gtully 3ef5389691 https://issues.apache.org/jira/browse/AMQ-4897 - rework with test that shows the blocking inactivity monitor task. Removed some redundant state 2015-05-12 22:10:57 +01:00
gtully d467220085 add some more logging if tests fails 2015-05-12 22:10:56 +01:00
Dejan Bosanac e19293de5f https://issues.apache.org/jira/browse/AMQ-5772
Improve Broker.removeConnection() method, so that we pass the cause for removing it (if available)
2015-05-12 14:23:12 +02:00
Christopher L. Shannon (cshannon) b679c8d4d2 Added an uncaught exception handler to ThreadPoolExecutor getExecutor()
method to log errors in threads.

This resolves https://issues.apache.org/jira/browse/AMQ-5750

This closes #93
2015-05-08 16:11:44 -04:00
Timothy Bish 16a1e2b686 https://issues.apache.org/jira/browse/AMQ-5768
Exclude advisory topics from the expired message check.
2015-05-08 13:45:21 -04:00
Timothy Bish a812131db7 Add some tests around honoring the transportConnector maximumConnections
option
2015-05-08 13:37:53 -04:00
gtully 1359e8eae2 https://issues.apache.org/jira/browse/AMQ-4068 fix intermittent test failure. Rework usage check to prevent additions to the store rather than blocking scheduled dispatch from the store 2015-05-08 14:14:25 +01:00
Timothy Bish 3bfffca9c9 https://issues.apache.org/jira/browse/AMQ-5621 2015-05-07 18:42:11 -04:00
Timothy Bish c10e6fa8f0 https://issues.apache.org/jira/browse/AMQ-5621
Convert to JUnit 4 while fixing sporadic failure due to the expiry
setting being left at default of 30 seconds, which on a fast machine
means the expiry tests sometime finish before the task kicks in.
2015-05-07 18:31:00 -04:00
Claus Ibsen 188434c6ee Upgrade to jolokia 1.3.0 2015-05-07 17:37:40 +02:00
Timothy Bish 1271d2ea03 https://issues.apache.org/jira/browse/AMQ-5758
Fix for potential NPE.
2015-05-06 15:13:15 -04:00
Timothy Bish 6a2ffca57e https://issues.apache.org/jira/browse/AMQ-5699
Use constant symbols that are now available in v0.9+ of proton-j
2015-05-05 19:04:44 -04:00
Timothy Bish 4b4cf7c09e https://issues.apache.org/jira/browse/AMQ-5757
Add inactivity monitoring and heartbeats to the AMQP transport.
2015-05-05 18:36:15 -04:00
Robert Gemmell fa81c1ff73 AMQ-5763: ensure we replenish the credit for the transaction coordinator link
https://issues.apache.org/jira/browse/AMQ-5763
2015-05-05 19:35:20 +01:00
Timothy Bish 32f21ff1a9 https://issues.apache.org/jira/browse/AMQ-5763
Capture the reported issue in a test case to track the fix.
2015-05-05 11:18:17 -04:00
Dejan Bosanac f8e778ea98 https://issues.apache.org/jira/browse/AMQ-5754 - better filename guaard fix 2015-05-05 16:29:39 +02:00
Claus Ibsen 30210ae191 Upgrade to Camel 2.15.2 2015-05-05 06:54:04 +02:00
Claus Ibsen 9b3d651b38 AMQ-5760: ActiveMQ - Output url to the rest api when starting AMQ 2015-05-04 18:45:24 +02:00
Robert Gemmell b77eba471d AMQ-5699: upgrade to Proton 0.9.1 release
https://issues.apache.org/jira/browse/AMQ-5699
2015-05-03 15:12:44 +01:00
Timothy Bish f05f83b15d https://issues.apache.org/jira/browse/AMQ-5755
Unit tests for some STOMP over WebSockets functionality and some fixes
for resource cleanup.
2015-04-30 14:41:59 -04:00
gtully 82200b6e70 add test case for https://issues.apache.org/jira/browse/AMQ-5752 - fix needs some thought 2015-04-30 16:19:57 +01:00
Dejan Bosanac f2c3ebfa0e https://issues.apache.org/jira/browse/AMQ-5754 - disable file server by default 2015-04-30 12:08:26 +02:00
gtully 977deb42c8 check for null in case where deleteAllMessages is called w/o broker ref, prevelant in tests resulting in bogus errors 2015-04-29 11:54:28 +01:00
Timothy Bish eea3230c37 https://issues.apache.org/jira/browse/AMQ-5155
Ensure that the inactivity monitor can see that new data is arriving to
prevent wrongful disconnect of clients.
2015-04-28 18:10:24 -04:00
Timothy Bish b444b6c463 Fix a couple log messages. 2015-04-28 14:24:45 -04:00
Timothy Bish d2248e92d7 Shorten the test a bit with tigther memory limits which reduces the
amount of messages we need to send to fill and trigger plist store use.
Also add some time to the timeout to account for very slow disk I/O.
2015-04-28 12:19:37 -04:00
gtully f5283a9045 https://issues.apache.org/jira/browse/AMQ-5734 - fix intermittent failure - seems the retained empty message gets dispatched so we need to consume it or it may have been dispatched to the client, causing a later failure 2015-04-28 16:18:22 +01:00
Timothy Bish 9ef4259297 https://issues.apache.org/jira/browse/AMQ-5616
Use ConcurrentMap in declarations
2015-04-28 11:15:08 -04:00
gtully bcdf770c10 ensure embedded jdbc is shutdown 2015-04-28 12:42:21 +01:00
gtully 81b8403f33 https://issues.apache.org/jira/browse/AMQ-5744 - fix up test refs to old spring jasypt 2015-04-28 12:33:29 +01:00
gtully c129051175 https://issues.apache.org/jira/browse/AMQ-5746 - separate out start from creation of scheduler store. test via Martyn Taylor with thanks. This closes #80 2015-04-27 16:16:49 +01:00
Claus Ibsen 5dd39f9062 Jolokia discovery url should be configured to correct path if people enable that. 2015-04-25 16:21:40 +02:00
Claus Ibsen 544638985b Upgrade jolokia 2015-04-25 16:15:08 +02:00
gtully 23ecbe80d0 https://issues.apache.org/jira/browse/AMQ-5743 - confine logging to the jmx purge op 2015-04-24 13:35:02 +01:00
Dejan Bosanac b8698953f3 https://issues.apache.org/jira/browse/AMQ-5744 - jasypt-spring31 2015-04-24 11:56:26 +02:00
gtully 610ff0634f remove trace logging to speed up test duration in leveldb replication 2015-04-23 15:51:16 +01:00
gtully c85fa67e1c https://issues.apache.org/jira/browse/AMQ-5742 - fix and intermittent failure of DemandForwardingBridgeTest is sorted 2015-04-23 14:32:40 +01:00
gtully ac635ddf1d trap potential exception on abortive close 2015-04-23 13:25:39 +01:00
gtully 165959e250 tidy up a bunch of jdbc test cases to ensure embedded derby is shutdown 2015-04-23 13:12:49 +01:00
gtully 971ff0dd9e https://issues.apache.org/jira/browse/AMQ-5542 - test that shows retaining of data files due to ack file map and the need for mKahadb if there are low limits and serial usage - test has been hanging since the fix 2015-04-23 13:10:47 +01:00
gtully eb6c082631 https://issues.apache.org/jira/browse/AMQ-5735 - fix up semantics around lastDeliveredSequenceId 2015-04-22 16:32:17 +01:00
Robert Gemmell 3a5f127d52 AMQ-5738: Ensure the sender links for non-durable consumers also get unregistered, remove duplicate closed field, fix method names. 2015-04-22 10:17:38 +01:00
Timothy Bish b313209aa2 https://issues.apache.org/jira/browse/AMQ-5711
Reject sender / receiver creation when the address is a temp destination
prefixed value but the destination doesn't map down to a temp
destination created using a dynamic link which means the orignal
connection ID where the destination was created cannot be determined.
2015-04-21 17:45:45 -04:00
Timothy Bish ff1a1c4985 https://issues.apache.org/jira/browse/AMQ-5737
lookup transformer using case insensitive compare.
2015-04-21 15:58:06 -04:00
Dejan Bosanac 45eecf3351 upgrade java paho mqtt client 2015-04-21 15:04:04 +02:00
Timothy Bish a0835c2c21 https://issues.apache.org/jira/browse/AMQ-5371
Move option ignoreNetworkConsumers up to base AbortSlowConsumerStrategy
so it can be used for both the original version and the slow ack aware
version.
2015-04-20 15:20:33 -04:00
Martyn Taylor a65ac586c2 https://issues.apache.org/jira/browse/AMQ-5729 - Do not log passwords on MBean method calls.
Previous to this patch the AnnotatedMBean class would simply dump
any arguments passed in via JMX call to the log (when audit is enabled).
Method parameters can sometimes contain sensitive information such as
the password field on QueueView.sendTextMessage.

This patch adds a @Sensitive annotation to the JMX module allowing
implementations of MBean interfaces to mark method parameters as sensitive
preventing values from being logged.
2015-04-20 18:06:45 +01:00
Timothy Bish 514496eba9 https://issues.apache.org/jira/browse/AMQ-5621
Fix test not using the parameterized delivery mode value but using
Session.AUTOACKNOWLEDGE as the delivery mode value instead.
2015-04-20 12:40:42 -04:00
Dejan Bosanac a4fbe70872 https://issues.apache.org/jira/browse/AMQ-5734
Support MQTT 3.1 silent subscription fail
2015-04-20 18:17:09 +02:00