Commit Graph

4888 Commits

Author SHA1 Message Date
Clebert Suconic 81dd9a848d This closes #1868 2018-02-20 11:25:48 -05:00
Justin Bertram 9ebe2e2220 ARTEMIS-1678 inherit maven-compiler-plugin version 2018-02-20 11:25:47 -05:00
Clebert Suconic 120bc1ed4c This closes #1879 2018-02-20 11:19:55 -05:00
Justin Bertram ab602351a1 ARTEMIS-1688 fix cluster when auto-create-addresses=false 2018-02-20 11:19:55 -05:00
Michael Andre Pearce 3c7d57c9cb This closes #1880 2018-02-20 08:46:39 +00:00
Michael André Pearce 03f4a52f1f ARTEMIS-853 - Add documents
Exclusive Queue documents added to detail behaviour and how to configure.
Also update docuents for last-value queue to cover addtional ways to configure
2018-02-20 08:43:43 +00:00
Clebert Suconic 34146c0cef Revert "ARTEMIS-1688 fix cluster when auto-create-addresses=false"
Revert #1875

This reverts commit 5ad45369ce.

The storage manager is broken now as the AddressManager change here is trying to insert a record on the journal before startup.
2018-02-19 18:03:21 -05:00
Clebert Suconic 24b546f84e NO-JIRA changing accept port
This will clash if you have jenkins running on a default 8080 port.
2018-02-19 17:36:34 -05:00
Clebert Suconic 132af01595 ARTEMIS-1680 Fixing intermittent failure
This will make sure the cluster is well formed before doing assertions
2018-02-19 17:16:27 -05:00
Clebert Suconic cfb38589de This closes #1875 2018-02-19 11:36:11 -05:00
Justin Bertram 5ad45369ce ARTEMIS-1688 fix cluster when auto-create-addresses=false 2018-02-19 11:36:11 -05:00
Clebert Suconic 26c284bf58 This closes #1869 2018-02-19 11:33:09 -05:00
raul.valdoleiros 13e071158d ARTEMIS-1680 - Synchronize message load balacing type between brokers
This guarantees the update of message load balancing type between addresses and linked adresses
2018-02-19 11:33:09 -05:00
Justin Bertram 8dfa345562 This closes #1863 2018-02-16 12:57:55 -06:00
Benjamin Graf 866fb861c8 NO-JIRA: Sync OSGi broker config with latest changes from ARTEMIS-1628 2018-02-16 12:57:55 -06:00
Timothy Bish 9f215d035f This closes #1872 2018-02-16 12:17:58 -05:00
Justin Bertram 32376ae4ca ARTEMIS-1684 enable Travis CI 2018-02-16 08:29:39 -06:00
Clebert Suconic ed90a70001 This closes #1870 2018-02-14 12:01:01 -05:00
Stanislav Knot 89967986d6 ARTEMIS-1681 fix hawtio console security issue 2018-02-14 12:01:01 -05:00
Justin Bertram 646e555148 This closes #1871 2018-02-14 10:07:41 -06:00
Clebert Suconic 5480d7bc5b NO-JIRA Fixing Deadlock on MQTTConnection
Found during a testsuite run
2018-02-14 10:59:23 -05:00
Clebert Suconic b5bf5afde7 NO-JIRA Test fixes
- LargeServerMessageImpl.finalize is eventually causing deadlocks
- CoreMessage needs to check properties before decoding
- PagingTest tweaks
- ServerLocatorImpl can deadlock eventually, avoiding a lock and using actors
- ActiveMQServerImpl.finalize is also evil and can cause deadlocks on the testsuite
- MqttClusterRemoteSubscribeTest needs to setup the Address now on the setup
2018-02-14 10:56:44 -05:00
Clebert Suconic f91432eecc This closes #1844 2018-02-14 10:28:53 -05:00
Justin Bertram 8b64ca183a ARTEMIS-1645 fix typo in DivertTest 2018-02-14 10:28:53 -05:00
Clebert Suconic f4e8051675 This closes #1845 2018-02-14 10:27:36 -05:00
Justin Bertram 0329002f59 ARTEMIS-1632 add PropertyPermission for test 2018-02-14 10:27:35 -05:00
Justin Bertram 32296cac7e This closes #1835 2018-02-14 09:17:08 -06:00
Dejan Bosanac 88f43e9342 ARTEMIS-1651 Allow custom etc and data directories to be used
initial support for custom etc location

fixing windows distribution

fixing StreamClassPathTest

ARTEMIS-1651 fix tests and add docs
2018-02-14 09:17:08 -06:00
Clebert Suconic 9b104930c2 ARTEMIS-1663 Fixing Encoding on PageCountPendingImpl
The PageCountPendingImpl was increasing the encode size without using its full allocation.
This was causing issues on replication as the encode is also used to determine the size of the packets.
however the packets were not receive the full allocated data causing missing packets on the replication
and test failures.

This is fixing the issue
2018-02-14 09:57:15 -05:00
Clebert Suconic f329b5b3f5 [ARTEMIS-1662] Reduce log of "INFO [org.apache.activemq.artemis.core.client]" 2018-02-13 11:07:54 -05:00
Clebert Suconic 1efae00e7c This closes #1861 2018-02-12 16:01:09 -05:00
Clebert Suconic 996871e37c ARTEMIS-1675 Adding --safe option on print-data
This is good when you are a customer and an artemis engineer (e.g. me) asks your journal print-data but you can't do it because that would expose your user's data. If you do artemis data print --safe, that will only expose the journal structure without exposing user's data and eliminate any liability between the engineer and users.
2018-02-12 16:01:09 -05:00
Justin Bertram 116b06afd4 This closes #1850 2018-02-12 09:37:56 -06:00
yang wei 5dc0777f52 ARTEMIS-1667 init pagingFactory with journalBufferTimeout_NIO 2018-02-12 09:37:56 -06:00
Michael Andre Pearce eada73e5dc This closes #1852 2018-02-09 20:02:16 +00:00
Dmitrii Tikhomirov 90b6564778 [ARTEMIS-1662] Reduce log of "INFO [org.apache.activemq.artemis.core.client] (Thread-27 (ActiveMQ-client-global-threads)) 2018-02-09 20:02:15 +00:00
Clebert Suconic 63e0c0d310 ARTEMIS-1650 Fixing Testsuite on PageReference
Transactions may initialize a PagedReference without a valid message yet
during load of prepared transactions.

Caching has to be lazy on this case and it should load on demand.
2018-02-09 12:09:10 -05:00
Clebert Suconic 8b46024181 This closes #1859 2018-02-09 09:05:53 -05:00
Michael André Pearce 70406bf21c ARTEMIS-1659 - Only reload configuration if the node is Active. 2018-02-09 09:05:53 -05:00
Michael Andre Pearce 01748b9c41 This closes #1858 2018-02-09 02:07:29 +00:00
Michael André Pearce 1ddeb065f1 ARTEMIS-853 - Coverity fixes
Fix coverity findings.
2018-02-09 00:54:41 +00:00
Clebert Suconic 4ef6e3281d This closes #1853 2018-02-08 12:10:11 -05:00
Clebert Suconic 58c4660426 ARTEMIS-1663 Tweak on Paging test
Making sure it JournalCompatibilityTest/paging is actually paging
2018-02-08 11:45:18 -05:00
Christopher L. Shannon (cshannon) ea70af15a3 ARTEMIS-1663 - Add new message count and size metrics
Adding new metrics for tracking message counts and sizes on a Queue.
This includes tracking metrics for pending, delivering and scheduled
messages.  The paging store also tracks message size now.
2018-02-08 11:35:12 -05:00
Clebert Suconic 2eac1959df This closes #1827 2018-02-08 09:12:57 -05:00
huaishk 822445a717 ARTEMIS-1650 Improve paged message acknowledge
Cache `messageID`, `transactionID` and `isLargeMessage`
in PagedReference, so that when acknowledge, we do not have to
get PagedMessage which may be GCed and cause re-read entire page.
2018-02-08 09:12:57 -05:00
Christopher L. Shannon (cshannon) 33b265ca6b ARTEMIS-1633 - Include populated RoutingContext in beforeMessageRoute
call

There was a small bug in the previous commit, the beforeMessageRoute
callback was being executed too early so the RoutingCountext wasn't
being filled in
2018-02-08 07:08:50 -05:00
Michael Andre Pearce 4883b0360e This closes #1832 2018-02-07 15:27:29 +00:00
Michael André Pearce 38c45c9214 ARTEMIS-853 Support for exclusive consumers
Rationalise and re-use URISupport.
2018-02-07 15:27:29 +00:00
Michael André Pearce dc41f3ca49 ARTEMIS-853 Support for exclusive consumers
Support exlusive consumer
Allow default address level settings for exclusive consumer
Allow queue level setting in broker.xml
Add the ability to set queue settings via Core JMS using address. Similar to ActiveMQ 5.X
Allow for Core JMS client to define exclusive consumer using address parameters
Add tests
2018-02-07 15:27:29 +00:00