4912 Commits

Author SHA1 Message Date
Howard Gao
6792dcdf27 ARTEMIS-1566 Openwire client can't receive compressed messages
When openwire client uses compressed option to send messages
(jms.useCompression=true) openwire client failed to receive them.
The reason is in OpenwireMessageConverter.toAMQMessage():

1. message.setContent() should be called after setting properties
 (It will cause the compressed content to decompressed before delivering to clients)
2. message.onSend() should not be called here (it should be used
by producers. If used here it changes the internal flags of the
message and cause receive to fail).
2017-12-20 16:00:14 -05:00
Clebert Suconic
bd8ec582b1 This closes #1734 2017-12-20 15:59:36 -05:00
Stanislav Knot
45b25d6847 ARTEMIS-1329 fix openwire noLocal flag 2017-12-20 15:59:36 -05:00
Clebert Suconic
3bd0b7532e This closes #1735 2017-12-20 15:59:06 -05:00
Clebert Suconic
bccf18fa6f ARTEMIS-1546 Changing version check from 1.4.0 to latest 1.5.5 2017-12-20 15:42:39 -05:00
Andy Taylor
17c2c8fc56 This closes #1730 [ARTEMIS-1567] Inject role into management config 2017-12-20 08:22:18 +00:00
Martyn Taylor
d01844c128 [ARTEMIS-1567] Inject role into management config 2017-12-20 08:22:18 +00:00
Clebert Suconic
7514e91ed1 Revert "ARTEMIS-1545 Support JMS 2.0 Completion Listener for Exceptions"
Revert "ARTEMIS-1545 Adding HornetQ 2.4.7 on the mesh to validate send-acks"

I'm reverting this as the testsuite is broken..
We will send it back once worked out.

This reverts commit 8f5b7a1e73164f7b7867872a77d74f13176a5af5.
This reverts commit 9b982b3e303067cec8cac277a19a3ab3c63a1a9f.
2017-12-19 17:03:00 -05:00
Clebert Suconic
386f090372 This closes #1722 2017-12-19 15:05:15 -05:00
Clebert Suconic
8f5b7a1e73 ARTEMIS-1545 Adding HornetQ 2.4.7 on the mesh to validate send-acks 2017-12-19 15:03:04 -05:00
Michael André Pearce
9b982b3e30 ARTEMIS-1545 Support JMS 2.0 Completion Listener for Exceptions 2017-12-19 14:44:58 -05:00
Clebert Suconic
fb34214a1a This closes #1731 2017-12-19 12:21:50 -05:00
Clebert Suconic
2197d377c9 ARTEMIS-1546 speed up mesh test 2017-12-19 10:20:38 -05:00
Clebert Suconic
a3d297ff9a This closes #1728 2017-12-19 09:35:18 -05:00
Stanislav Knot
c202b18d44 NO-JIRA testsuite fixes 2017-12-19 09:35:18 -05:00
Clebert Suconic
a081a1e2bb This closes #1659 2017-12-19 09:20:35 -05:00
Michael André Pearce
3ef98044f8 ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works
Apply fix so that when using JNDI via tomcat resource it works. 
Replace original extract of JNDIStorable taken from Qpid, and use ActiveMQ5's as fits better to address this issue. (which primary use case is users migrating from 5.x)
Refactored ActiveMQConnectionFactory to externalise and turn into reference by StringRefAddr's instead of custom RefAddr which isnt standard.
Refactored ActiveMQDestinations similar
Refactored ActiveMQDestination to remove redundent and duplicated name field and ensured getters still behave the same
2017-12-19 09:20:35 -05:00
Clebert Suconic
03ed49e6e9 ARTEMIS-1546 Fixing invalid import on test added by accident 2017-12-19 09:16:23 -05:00
Martyn Taylor
3ba50574fb ARTEMIS-1565 Fix server schema 2017-12-19 14:01:46 +00:00
Martyn Taylor
a076c50e53 This closes #1726 2017-12-19 12:32:54 +00:00
Andy Taylor
6067a285bd https://issues.apache.org/jira/browse/ARTEMIS-1565
ARTEMIS-1565 - replica should retry quorum vote

https://issues.apache.org/jira/browse/ARTEMIS-1565
2017-12-19 11:30:20 +00:00
Clebert Suconic
d1c9bc0f2d This closes #1697 2017-12-18 22:39:20 -05:00
Stanislav Knot
58cd02090d ARTEMIS-1341 fixed getBody 2017-12-18 22:39:19 -05:00
Clebert Suconic
d67c65b8a2 ARTEMIS-1546 small fix on test 2017-12-18 22:38:15 -05:00
Clebert Suconic
d3fa217352 This closes #1712 2017-12-18 22:25:28 -05:00
gtully
a1a30fb7fd [ARTEMIS-550] add section on migrating virtual topics and test to validate 2017-12-18 22:25:28 -05:00
Clebert Suconic
2d81f2d4bb This closes #1725 2017-12-18 22:24:43 -05:00
Stanislav Knot
04f74425c9 ARTEMIS-1329 testNoLocalReconnect was failing with OpenWire protocol 2017-12-18 22:24:43 -05:00
Clebert Suconic
fe537fa257 NO-JIRA removing example added by accident 2017-12-18 22:12:40 -05:00
Clebert Suconic
de7251d546 This closes #1713 2017-12-18 22:08:24 -05:00
Clebert Suconic
dbe575a0c1 ARTEMIS-1546 Fixing body compatibility issue by recast body towards 1.4
https://issues.apache.org/jira/browse/ARTEMIS-1546

Recasting the body as 1.x format when there's a 1.x in use at the other size of the wire
2017-12-18 22:04:38 -05:00
Clebert Suconic
9ef90f8def ARTEMIS-1546 Adding tests to validate compatibility
https://issues.apache.org/jira/browse/ARTEMIS-1546

- the dependency scan is changed to allow adding an extra repository
- adding groovy so we won't require compilation dependencies (just runtime)
  without needing reflection (thanks Groovy :) )
- Adding hornetq to the mesh of version tests
2017-12-18 22:04:37 -05:00
Martyn Taylor
ac170710fc This closes #1720 2017-12-18 11:34:11 +00:00
Justin Bertram
a685bf6e5c ARTEMIS-1562 update docs for slow-consumer example 2017-12-18 11:34:11 +00:00
Martyn Taylor
aa3b29080c This closes #1723 2017-12-18 11:30:18 +00:00
Jiri Danek
0a2e143de5 ARTEMIS-1463 Fix broker's mBean domain name 2017-12-18 11:30:18 +00:00
Andy Taylor
4928269ad8 This closes #1719 ARTEMIS-1543 Fix Quorum Vote with remain live setting 2017-12-18 10:36:11 +00:00
Martyn Taylor
0e3468cefb ARTEMIS-1543 Fix Quorum Vote with remain live setting 2017-12-18 10:36:11 +00:00
Martyn Taylor
27f448f061 [NOJIRA] Fix checkstyle 2017-12-15 15:36:09 +00:00
Martyn Taylor
c902e29b2c This closes #1716 2017-12-15 14:54:16 +00:00
Justin Bertram
b77cdaf773 ARTEMIS-1562 Refactor example documentation
This commit contains these changes:
* Change example documentation to use markdown
* Generate HTML doc based on markdown during release
* Fix XML formatting in some examples
* Repair out-of-date documentation
2017-12-15 14:54:16 +00:00
Martyn Taylor
4ad05e1ddb This closes #1718 2017-12-15 14:49:50 +00:00
raul.valdoleiros
bbf5e4ebd2 [ARTEMIS-1555] Close core consumer on MQTT unsub
Unsubscribe topic in clustered environment left open references to the core consumer.  This patch properly closes the consumer which results in correct removal of the consumer reference on a remote queue.
2017-12-15 14:48:21 +00:00
Martyn Taylor
3815d2c37c This closes #1717 2017-12-15 14:36:55 +00:00
Pat Fox
8ccefba435 ARTEMIS-1563 Slow Consumer example for Slow Consumer policy KILL and NOTIFY 2017-12-15 14:36:55 +00:00
Martyn Taylor
dec9453f6d This closes #1711 2017-12-15 14:31:16 +00:00
gtully
7b3b22d184 [ARTEMIS-1310] [ARTEMIS-1264] - remove some dead code - krb5 login module and jaas callback handler now have the smarts to query netty 2017-12-15 14:31:16 +00:00
raul.valdoleiros
328ece0701 ARTEMIS-1555 Remove unused imports from test class 2017-12-15 11:31:10 +00:00
raul.valdoleiros
e7f2989b1a ARTEMIS-1555 MQTT - Unsubscribe topic in cluster environment leaves reference to the consumer 2017-12-15 11:27:39 +00:00
Justin Bertram
facb6443c2 This closes #1710 2017-12-14 20:30:53 -06:00