5875 Commits

Author SHA1 Message Date
Shailendra Kumar Singh
3c5b050dff [ARTEMIS-2008]Add a CLI command to purge queue 2018-08-03 14:19:47 -04:00
Clebert Suconic
ed643e479c This closes #2206 2018-08-03 14:18:34 -04:00
Christopher L. Shannon (cshannon)
e629ac4538 ARTEMIS-2003 - Add bridge metrics
This commit adds support for tracking metrics for bridges for both
normal bridges and bridges that are part of a cluster. The two
statistics added in this commit are messages pending acknowledgement
and messages acknowledged but more can be added later.
2018-08-03 14:18:34 -04:00
Clebert Suconic
f980c349a8 This closes #2207 2018-08-03 14:11:02 -04:00
Jiri Danek
cb99b4a666 NO-JIRA fix flaky test HeuristicXATest.testRecoverHeuristicCommitWithRestart
The below error is prevented by adding Wait.assertEquals,
where Assert.assertEquals was used previously. Timeout is
set to small increments, since we rarely need to wait more
than 100 ms for the condition to become true.

java.lang.AssertionError: expected:<1> but was:<0>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.apache.activemq.artemis.tests.integration.client.HeuristicXATest.doRecoverHeuristicCompletedTxWithRestart(HeuristicXATest.java:306)
	at org.apache.activemq.artemis.tests.integration.client.HeuristicXATest.testRecoverHeuristicCommitWithRestart(HeuristicXATest.java:251)
2018-08-03 14:11:02 -04:00
Clebert Suconic
a92324be35 NO-JIRA Fixing MultiThreadAsynchronousFileTest on limited servers
This test was initializing a libaio of 21K, that would fail on limited servers.
This is decreasing maxIO so it would requires less resources to run it.
2018-08-03 13:09:41 -04:00
Clebert Suconic
a6ecdcb44f This closes #2212 2018-08-03 09:54:41 -04:00
Michael André Pearce
825081cfc0 ARTEMIS-856 Fixing ScaleDownTest
Don't increment the pos if redistributor. causes pos to be > size thus index out of bounds when getting the consumer on next loop.
2018-08-03 10:48:59 +01:00
Clebert Suconic
77989c3763 NO-JIRA avoiding a NPE if the server is stopped 2018-08-02 10:57:17 -04:00
Clebert Suconic
3e4d65e14c This closes #2208 2018-08-02 10:34:12 -04:00
Justin Bertram
523e86ce9b ARTEMIS-2006 Remove setDeadLetterAddress & setExpiryAddress from docs 2018-08-02 10:34:11 -04:00
Clebert Suconic
ca70614649 This closes #2211 2018-08-02 10:30:45 -04:00
Michael André Pearce
de465179e5 ARTEMIS-856 Fixing MessageRedistributionTest
Cleaner code.
2018-08-02 14:20:03 +01:00
Michael André Pearce
ddd554f43f ARTEMIS-856 Fixing ExclusiveTest 2018-08-02 13:53:22 +01:00
Michael André Pearce
ec742cb889 ARTEMIS-856 Fixing MessageRedistributionTest 2018-08-02 13:52:32 +01:00
Clebert Suconic
59520b9018 ARTEMIS-856 Fixing QueueCommandTest 2018-08-02 10:50:26 +01:00
Clebert Suconic
e290071ced ARTEMIS-1732 Fixing AMQPSenderTest 2018-08-01 22:14:15 -04:00
Clebert Suconic
a7e4ce490b This closes #1950 2018-07-31 21:39:19 -04:00
Clebert Suconic
0e36e072bd ARTEMIS-1732 I simplified some of the changes performed at the previous commit.
Also I changed GlobalDiskFullTest to actually block the senders.
I moved the Runnables from PagingManager into the Util as AtomicRunnable.
2018-07-31 21:39:04 -04:00
Howard Gao
53e1d60160 ARTEMIS-1732 AMQP anonymous producer not blocked on max-disk-usage
Anonymous senders (those created without a target address) are not
blocked when max-disk-usage is reached. The cause is that when such
a sender is created on the broker, the broker doesn't check the
disk/memory usage and gives out the credit immediately.
2018-07-31 21:39:01 -04:00
Clebert Suconic
168a7cfea5 This closes #2196 2018-07-31 14:25:46 -04:00
Shailendra Kumar Singh
29f39631dc [ARTEMIS-1994]Include global-size-bytes in WARN message AMQ222038/39 for paging
[ARTEMIS-1994]Minor changes
2018-07-31 14:25:45 -04:00
Clebert Suconic
bdbbcc723d This closes #2195 2018-07-31 14:22:58 -04:00
Martyn Taylor
06f6892454 ARTEMIS-1992 Make JDBC File Lock map thread safe 2018-07-31 14:22:58 -04:00
Clebert Suconic
99bc916fdd This closes #2197 2018-07-31 14:21:45 -04:00
Howard Gao
983232d273 ARTEMIS-1995 Client fail over fails when live shut down too soon
In a live-backup scenario, if the live is restarted and shutdown too soon,
the client have a chance to fail on failover because it's internal topology
is inconsistent with the final status. The client keeps connecting to live
already shut down, never trying to connect to the backup.

It's a porting from HORNETQ-1572.
2018-07-31 14:21:45 -04:00
Clebert Suconic
f92c931fa1 This closes #2204 2018-07-31 14:19:04 -04:00
Michael André Pearce
7764072c49 ARTEMIS-2001 - JMSXGroupID and JMSXUserID in getPropertyNames
Ensure JMSXGroupID and JMSXUserID is correctly returned by JMS getPropertyNames when set.
2018-07-31 14:19:03 -04:00
Clebert Suconic
1aa211f900 This closes #2200 2018-07-31 14:17:20 -04:00
Michael André Pearce
332cee8e66 ARTEMIS-1997 - un-needed SimpleString creation on hotpath with Filters
Create the SimpleString on construction of PropertyExpression so it can be re-used instead of creating it every time its filtered in the FilterImpl
2018-07-31 14:17:20 -04:00
Clebert Suconic
5b07c635a2 This closes #2191 2018-07-31 14:16:11 -04:00
Christopher L. Shannon (cshannon)
5fc60d7437 ARTEMIS-1987 - Add consumer window size to AddressSettings
Support configuring a default consumer window size via AddressSettings
which will allow sensible defaults to be used by address type
2018-07-31 14:16:11 -04:00
Clebert Suconic
587e45594c This closes #2193 2018-07-31 12:41:53 -04:00
Benjamin Graf
4ae8c7bab3 ARTEMIS-1985: Switch from XA_RDONLY to XA_OK as return value for prepare transaction via OpenWire 2018-07-31 12:41:53 -04:00
Clebert Suconic
756609f6a6 This closes #2198 2018-07-31 12:12:00 -04:00
Michael André Pearce
8a9835a394 ARTEMIS-856 - Support consumersBeforeDispatch and delayBeforeDispatch
https://issues.apache.org/jira/browse/ARTEMIS-856

This is equivalent to consumersBeforeDispatchStarts and timeBeforeDispatchStarts in ActiveMQ 5.x

http://activemq.apache.org/message-groups.html

This is addressing one of the items on the artemis roadmap: http://activemq.apache.org/activemq-artemis-roadmap.html
2018-07-31 16:16:51 +01:00
Clebert Suconic
f0c13622ac This closes #2190 2018-07-25 10:17:38 -04:00
Zachary Simon
5987db820b ARTEMIS-1990 remove extra quotes in Windows script
A double set of quotation marks were preventing successful Windows
implementation.
2018-07-25 10:17:37 -04:00
Martyn Taylor
845345313a This closes #2194 2018-07-25 15:03:57 +01:00
Clebert Suconic
56be281aaf ARTEMIS-1989 Replication catch up leaking files
Related commit that broke this at 837694e705
2018-07-25 15:03:57 +01:00
Clebert Suconic
e775b3ee20 This closes #2192 2018-07-25 09:51:08 -04:00
Martyn Taylor
66ba17846f ARTEMIS-1988 Do not clear Activate Callbacks on stop
This is reverting 36fc14a30d6f1128c525c91cc9f8752fdd3f540c
2018-07-25 09:49:44 -04:00
Clebert Suconic
fa2c5adda2 This closes #2188 2018-07-25 08:37:31 -04:00
JiriOndrusek
993499daaf [ARTEMIS-1986] PagingTest#testDeletePhysicalPages will fail if a record about deleting a page is not saved in journal 2018-07-25 08:37:19 -04:00
Clebert Suconic
e2183b33a3 This closes #2185 2018-07-18 09:19:15 -04:00
Codrin Bucur
bfc9aec33b NO-JIRA spelling fixes on docs 2018-07-18 09:18:53 -04:00
Clebert Suconic
29967bc835 This closes #2184 2018-07-17 08:54:27 -04:00
Clebert Suconic
b2d04b9ceb ARTEMIS-1954 Fixing RedeployTest and moving JMS Parsing 2018-07-16 22:35:07 -04:00
Clebert Suconic
eda38ccf89 This closes #2183 2018-07-16 20:35:13 -04:00
Justin Bertram
fbdd6fe0ad ARTEMIS-1971 make LDAP pooling test more robust 2018-07-16 20:34:46 -04:00