Commit Graph

4339 Commits

Author SHA1 Message Date
Clebert Suconic 0434efb6f2 This closes #1537
This closes #1536
2017-09-25 11:52:49 -04:00
Michael Andre Pearce e9eaa7daf6 ARTEMIS-1422 Fix match change to support wildcard config 2017-09-25 11:34:34 -04:00
Clebert Suconic 533797fbc4 ARTEMIS-1218 Fixing checkstyle 2017-09-25 11:10:38 -04:00
Clebert Suconic 28c96e1002 This closes #1539 2017-09-25 11:00:56 -04:00
Justin Bertram 956c4c6493 NO-JIRA use lambdas in tests for readability 2017-09-25 11:00:56 -04:00
Justin Bertram dac625179a ARTEMIS-1218 implement MQTT link stealing 2017-09-25 11:00:56 -04:00
Jens Reimann 144dbadcb5 ARTEMIS-1391 embedding 2 MQTT brokers is broken 2017-09-25 11:00:56 -04:00
Clebert Suconic 53c8ee007b This closes #1540 2017-09-25 10:55:40 -04:00
Jiri Danek 4d126adedb ARTEMIS-1398 NPE on null pwd from MQTT client 2017-09-25 10:55:11 -04:00
Clebert Suconic f29c238bcb This closes #1549 2017-09-25 10:37:17 -04:00
Pat Fox 50fcd48e28 ARTEMIS-1433 adding AddressMemoryUsage() and AddressMemoryUsagePercentage() to ActiveMQServerControl 2017-09-25 10:37:16 -04:00
Clebert Suconic d170639bfe This closes #1546 2017-09-25 10:33:56 -04:00
Jeff Mesnil 0010b0a090 [ARTMIS-1431] Adapt transport configuration in ClientProtocolManagerFactory
add the adaptTransportConfiguration() method to the
ClientProtocolManagerFactory so that transport configurations used by
the ClientProtocolManager have an opportunity to adapt their transport
configuration.

This allows the HornetQClientProtocolManagerFactory to adapt the
transport configuration received by remote HornetQ broker to replace the
HornetQ-based NettyConnectorFactory by the Artemis-based one.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1431
2017-09-25 10:33:56 -04:00
Clebert Suconic bb8c11b1e3 This closes #1550 2017-09-25 10:30:18 -04:00
gtully 574e5c8c7b ARTEMIS-1435 - provide default jolokia-access.xml security policy in etc to lock down cors to http.host 2017-09-25 10:37:09 +01:00
Timothy Bish d7612531f6 This closes #1544 2017-09-22 13:11:36 -04:00
Justin Bertram b6ce1c65fb ARTEMIS-1426 update stomp.js for chat example
Our copy of the stomp.js library hasn't been updated since the end of
2012. Lots of nice changes have been made since then. Pulled from
https://github.com/jmesnil/stomp-websocket/blob/master/lib/stomp.js.
2017-09-22 13:10:54 -04:00
Timothy Bish b893042d8d This closes #1548 2017-09-22 11:55:25 -04:00
Robbie Gemmell 1a077348e2 ARTEMIS-1434: update handling of tick deadline values
- account for potential to be negative due to using nanoTime derived values
- add some other edge case protections to avoid task ceasing in error
2017-09-22 16:33:21 +01:00
Timothy Bish 8160be0087 This closes #1545 2017-09-22 10:47:42 -04:00
Robbie Gemmell 436ff6efc5 ARTEMIS-1432: update to qpid-jms 0.25.0 and proton-j 0.22.0 2017-09-22 15:35:10 +01:00
Timothy Bish e359f4bfd1 This closes #1542 2017-09-20 17:05:29 -04:00
Howard Gao f84d26ebb2 ARTEMIS-1424 Openwire not work with different tightEncoding options
If message senders and receivers uses different
wireformat.tightEncodingEnabled options, broker will get marshalling
problem. This is because when openwire messages are converted to
core messages, and later these core messages converted to openwire
messages, the broker uses a mashaller that comes with the connection
used to carry the messages.

For example, if a producer sents a message using option "wireformat
.tightEncodingEnabled=false" and a receiver tries to receive it
using 'true' for the same option, it'll never get it because the
broker will fail to use a "tight encoding" marshaller to
decode a 'loose encoded' message.

To fix the problem, we always use 'tight encoding' for internal
message converters.
2017-09-19 07:50:24 +08:00
Justin Bertram bdb1984239 This closes #1541 2017-09-18 15:15:31 -05:00
Pat Fox 89a64ff11c ARTEMIS-1423 adding numeric filtering for ActiveMQServerControl.listQueues()/listAddresses()/listSessions() 2017-09-18 15:15:31 -05:00
Clebert Suconic df5462ad72 This closes #1538 2017-09-16 12:33:49 -04:00
Michael Andre Pearce 60b0a0bd09 NOJIRA - Speed up Acknowledgement test
Currently this test can take over 30seconds just itself. It seems we can safely reduce the number of messages to validate perf improvement greatly reducing test time.
2017-09-16 12:33:49 -04:00
Robbie Gemmell b7b2960e1f NO-JIRA: tweaks for the release download helper script
- Verify the downloaded tar/zip files using their matching signature.
- Generate SHA512 checksum files for them.
- Update downloaded MD5 files to allow for simplified CLI tool checks.
- Run CLI tool checks on all the checksum files.
2017-09-15 16:43:00 +01:00
Clebert Suconic 35bc64a0e1 NO-JIRA: download script to help with the release process 2017-09-13 18:31:20 -04:00
Clebert Suconic 621a62fcb5 This closes #1531 2017-09-13 18:27:39 -04:00
Timothy Bish 342cc83ea4 ARTEMIS-1410 remove redundant code processing openwire destination
Remove some redundant code in the processing of the OpenWire Destination
name, both in the topic handler and in the method in general the
destination name only needs to be converted once and only one
SimpleString instance needs to be created from that which will then feed
all the places that either the String form or the SimpleString form of
the result is needed.
2017-09-13 18:27:39 -04:00
Clebert Suconic 01134e2348 This closes #1535 2017-09-13 18:26:29 -04:00
Justin Bertram be3a66f016 ARTEMIS-1421 duplicate queue possible in XML 2017-09-13 18:26:28 -04:00
Clebert Suconic 481f753589 ARTEMIS-1419 Small tweak on openwire Test 2017-09-13 18:25:10 -04:00
Clebert Suconic 02b6b8c8eb This closes #1532 2017-09-13 18:21:44 -04:00
Howard Gao e4fb722ad8 ARTEMIS-1419 OpenWire advisory message never deleted
By default, every openwire connection will create a queue
under the multicast address ActiveMQ.Advisory.TempQueue.
If a openwire client is create temporary queues these queues
will fill up with messages for as long as the associated
openwire connection is alive. It appears these messages
do not get consumed from the queues.

The reason behind is that advisory messages don't require
acknowledgement so the messages stay at the queue.
2017-09-13 18:21:43 -04:00
Clebert Suconic 17083d69e0 This closes #1527 2017-09-13 18:21:13 -04:00
Michael Andre Pearce 7d943cc6f7 ARTEMIS-1405: Fix PurgeOnNoConsumer queue config is not persisted on restart
Added integration test, to prove issue, and assert fix.
Fix PersistentQueueBindingEncoding to return value, not false.
Fix some method arg name to align with class interface arg name
2017-09-13 18:21:13 -04:00
Clebert Suconic 8156879cf1 ARTEMIS-1418 Fixing compilation 2017-09-13 16:19:39 -04:00
Clebert Suconic 94da3a8f26 This closes #1533 2017-09-13 12:18:55 -04:00
Martyn Taylor 520a40b1a1 ARTEMIS-1418 AIO Shutdown on IOError and logging 2017-09-13 16:09:21 +01:00
Martyn Taylor dab80e7bcf This closes #1530 2017-09-13 11:44:38 +01:00
Justin Bertram 2ec173bc70 ARTEMIS-1417 Failback not working on NFSv4
With NFSv4 it is now necessary to lock/unlock the byte of the server
lock file where the state information is written so that the
information is then flushed to the other clients looking at the file.
2017-09-13 11:44:38 +01:00
Justin Bertram f150c0918e This closes #1528 2017-09-12 13:14:39 -05:00
Timothy Bish 412b63a6b5 ARTEMIS-1407 Remove unused method that performs invalid operation
Remove the unused transaction remove method as the getTransaction method
provides the remove operation and the remove method was doing an invalud
remove of wrong type from the transactions collection.
2017-09-12 13:14:39 -05:00
Justin Bertram 07a218572c This closes #1526 2017-09-12 12:59:43 -05:00
Pat Fox 196df92306 NO-JIRA add unit tests for ActiveMQServerControl listAddresses() and listConsumers() 2017-09-12 12:59:43 -05:00
Justin Bertram 838c8ad57f This closes #1523 2017-09-12 12:57:44 -05:00
Martyn Taylor 746810291f ARTEMIS-1390 Start HawtIO in offline mode 2017-09-12 12:57:44 -05:00
Justin Bertram 14722f0476 This closes #1522 2017-09-12 12:56:36 -05:00