Commit Graph

4891 Commits

Author SHA1 Message Date
Clebert Suconic 04a9884d30 This closes #1805 2018-01-22 17:44:50 -05:00
Justin Bertram 04298136b7 ARTEMIS-609 fix interceptor XML docs 2018-01-22 17:44:50 -05:00
Clebert Suconic d3e81ca882 This closes #1802 2018-01-22 17:44:14 -05:00
Timothy Bish 5e6967c809 ARTEMIS-1504 Update Qpid JMS to 0.29.0 and proton-j to 0.25.0
Updates to latest Qpid JMS and the latest Proton-J release
2018-01-22 17:44:14 -05:00
Clebert Suconic 1a56efd3a5 This closes #1804 2018-01-22 16:19:01 -05:00
Justin Bertram 557224795b ARTEMIS-608 document adding runtime deps 2018-01-22 16:19:00 -05:00
Michael Pearce 72a267c466 This closes #1791 2018-01-22 17:30:46 +00:00
Francesco Nigro 3f646474c2 ARTEMIS-1622 Reduce memory footprint of QueueImpl
LinkedListImpl is turned into an optionally intrusive linked list by allowing message references to extend Node.
2018-01-22 17:30:45 +00:00
Justin Bertram 71a49c4614 This closes #1792 2018-01-22 11:27:59 -06:00
Howard Gao 98ce31bf58 ARTEMIS-1621 Make producerWindowSize configurable on clusterconnection bridges
The cluster connection bridge hard codes its producerWindowSize to -1
(meaning no producer flow control) even if you configure it otherwise.
2018-01-22 11:27:59 -06:00
Justin Bertram 31ce365334 This closes #1798 2018-01-22 11:23:28 -06:00
David Shunfenthal fcc6bbdebe ARTEMIS-1624 Adding in configuration condition for turning on the console when using maven plugin 2018-01-22 11:23:28 -06:00
Michael Pearce 56d4f816a4 This closes #1795 2018-01-22 17:14:15 +00:00
Jeff Mesnil 2af7b3bdcb [ARTEMIS-1609] Add distinct name/address for JMS destinations
Fix internalCreateTopic method: the topics are keyed by their core
addresses, not their JMS names.
2018-01-22 17:14:14 +00:00
Howard Gao 701ab1feba This closes #1785 2018-01-22 20:32:06 +08:00
gtully 82e4f465ee [ARTEMIS-1030] add support for auto mapping openwire virtual topic consumer destinations to FQQN 2018-01-22 11:10:46 +00:00
Andy Taylor 6428a897c3 This closes #1794 [ARTEMIS-1552] differenciate empty frame from no frame 2018-01-22 10:11:58 +00:00
gtully b6612c9505 [ARTEMIS-1552] differenciate empty frame from no frame such that a null response is accepted when valid 2018-01-19 14:19:54 +00:00
Justin Bertram 4977042cd9 This closes #1789 2018-01-18 21:01:41 -06:00
Christopher L. Shannon (cshannon) bc38d7ce32 ARTEMIS-1619 - Add plugin support for address lifecyle
Adding callbacks to the plugin API for address creation, update and
removals
2018-01-18 21:01:41 -06:00
Justin Bertram 10f1e1223b This closes #1781 2018-01-18 20:55:00 -06:00
Clebert Suconic 61a1123ee1 ARTEMIS-1613 Integrating JDBC into CLI (create print-data and exp) 2018-01-18 20:55:00 -06:00
Michael Pearce 64424f2873 This closes #1790 2018-01-18 23:12:01 +01:00
Francesco Nigro cdc98c2a66 ARTEMIS-1606 - Change AddressInfo RoutingType Set to use EnumSet
This is fixing the broken testUnsupportedRoutingType test
2018-01-18 23:12:01 +01:00
Clebert Suconic 60a8b49b1d This closes #1742 2018-01-18 13:17:05 -05:00
shoukun 7c6530eb79 ARTEMIS-1570 Test replication consistency
Test consistency between live and backup, espacially on
a slow live.
The test use MessagePersister::encode to simulate slow IO condition.
After live started, we send 5 message with a delay(default 500ms),
then start backup, wait until replicated, then send more message
without delay. If all message sent successfully, the backup should
has the same messages as live. We assert the message number only.
2018-01-18 13:16:35 -05:00
shoukun c4bfb9521f ARTEMIS-1570 Flush appendExecutor before take journal snapshot
When live start replication, it must make sure there is
no pending write in message & bindings journal, or we may
lost journal records during initial replication.

So we need flush append executor after acquire StorageManager's
write lock, before Journal's write lock.
Also we set a 10 seconds timeout when flush, the same as
Journal::flushExecutor. If we failed to flush in 10 seconds,
we abort replication, backup will try again later.

Use OrderedExecutorFactory::flushExecutor to flush executor
2018-01-18 13:16:27 -05:00
Clebert Suconic 9f77514225 This closes #1787 2018-01-18 10:18:40 -05:00
Clebert Suconic 9dbc5dc409 ARTEMIS-1577 Address-settings policies not working with older clients
This closes #1744
2018-01-18 10:18:39 -05:00
Justin Bertram 8428219901 This closes #1788 2018-01-18 08:59:35 -06:00
Christopher L. Shannon (cshannon) 3aef7caac6 ARTEMIS-1617 - Properly set autoCreated flag on address
Flag needs to be set when auto creating an address so that the address
can be removed later if auto delete is configured when creating a
subscription with MQTT
2018-01-18 08:59:35 -06:00
Justin Bertram 0d9a114a96 This closes #1771 2018-01-18 08:59:00 -06:00
Howard Gao bb84f67936 ARTEMIS-1600 Support masked passwords in bootstrap.xm and login.config
We provide a feature to mask passwords in the configuration files.
However, passwords in the bootstrap.xml (when the console is
secured with HTTPS) cannot be masked. This enhancement has
been opened to allow passwords in the bootstrap.xml to be masked
using the built-in masking feature provided by the broker.

Also the LDAPLoginModule configuration (in login.config) has a
connection password attribute that also needs this mask support.

In addition the ENC() syntax is supported for password masking
to replace the old 'mask-password' flag.
2018-01-18 08:59:00 -06:00
Michael Pearce 1d31227cdb This closes #1777 2018-01-18 13:36:10 +01:00
Michael André Pearce fd0ba69793 ARTEMIS-1606 - Change AddressInfo RoutingType Set to use EnumSet
Change all use from Set<RoutingType> to EnumSet<RoutingType>
Deprecating any old exposed interfaces but keeping for back compatibility.
Address info to avoid iterator on getRoutingType hotpath, like wise can be avoided where single RoutingType is passed in.
2018-01-18 13:36:09 +01:00
Timothy Bish f1608d724a This closes #1773 2018-01-17 17:05:09 -05:00
jostbg 3334863e81 ARTEMIS-1589 ActiveMQProtonRemotingConnection#getClientID() now returns remote client Id instead of server client Id 2018-01-17 16:54:43 -05:00
Clebert Suconic addfef2196 This closes #1759 2018-01-17 13:23:23 -05:00
gtully ea266cd74b [ARTEMIS-1241] check for FQQN to parse out address and queue for auto creation 2018-01-17 13:23:23 -05:00
Clebert Suconic 9e781be44e This closes #1780 2018-01-17 13:22:08 -05:00
Christopher L. Shannon (cshannon) 67a9220d24 ARTEMIS-1610 Properly remove an address from the WildcardAddressManager
When an address is removed from the address manager its linked addresses
also need to be removed if there are no more bindings for the address.
Also adding a null check on bindings of linked addresses when a new
binding is added
2018-01-17 13:20:04 -05:00
Clebert Suconic 14f149d755 This closes #1778 2018-01-17 12:31:27 -05:00
Jeff Mesnil 86175d677a ARTEMIS-1609 Add distinct name/address for JMS destinations
* add methods to JMSServerManager to be able to create JMS queues and topics
  that have distincts names (as returned by the JMS API) and addresses
  (as used by Artemis Core API).

* add constructors to ActiveMQQueue and ActiveMQTopic to specify JMS name
  distinct from their core address

This allows to emulate Artemis 1.x naming conventions where a JMS queue
would have a name 'foo'and and an address 'jms.queue.foo' (the same
applying for JMS topic as well).
2018-01-17 12:31:27 -05:00
Justin Bertram 1aa7b5c038 ARTEMIS-1609 fix JMS destination s11n compatibility 2018-01-17 12:31:27 -05:00
Clebert Suconic 60055d7a08 This closes #1782 2018-01-17 11:19:07 -05:00
Martyn Taylor f09bde07df ARTEMIS-1612 Fix message redistribution for prefixed addresses 2018-01-17 11:19:07 -05:00
Michael Pearce 9171d86abf This closes #1784 2018-01-17 15:28:57 +01:00
Francesco Nigro 57e93ff9d0 ARTEMIS-1615 Duplicate TypedProperties::checkCreateProperties 2018-01-17 15:21:10 +01:00
Michael Pearce 785deb79f8 This closes #1753 ARTEMIS-1573 Improve UTF translation allowing zero copy 2018-01-17 09:36:42 +01:00
Francesco Nigro 52f7a698d9 ARTEMIS-1573 Improve UTF translation allowing zero copy
The UTF translations has been improved by:
- zero copy on array based buffers
- zero copy UTF length calculation
- faster array access using Netty PlatformDependent.get|putByte
- improved perf tests UTF8Test
2018-01-17 09:36:42 +01:00