Commit Graph

505 Commits

Author SHA1 Message Date
jbertram 18c6d3035f ARTEMIS-813 Added persistence objects for new address model 2016-12-09 18:43:15 +00:00
Martyn Taylor 2d02a26527 ARTEMIS-780 Added ANYCAST routing to local queues 2016-12-09 18:43:15 +00:00
jbertram 5e7475115d ARTEMIS-781 Add journal record for address binding 2016-12-09 18:43:15 +00:00
Martyn Taylor abdeb72eb7 ARTEMIS-782 Added configuration elements for new address model 2016-12-09 18:43:15 +00:00
Clebert Suconic ebbc91c728 [maven-release-plugin] prepare for next development iteration 2016-12-06 16:59:52 -05:00
Clebert Suconic 5bcbea2517 [maven-release-plugin] prepare release 1.5.1 2016-12-06 09:47:43 -05:00
Clebert Suconic 9c5a91b481 ARTEMIS-748 Negative Address Size after paging 2016-12-01 21:38:19 -05:00
Andy Taylor 2d81f0a8d0 ARTEMIS-866 - quorum fixes
remove reconnect attempt as it serves no purposes as replication has stopped anyway.

Ensure if vote fails thatthe latch is counted down to avoid delay.

If we can't detect live has failed signal failure in replicating.

https://issues.apache.org/jira/browse/ARTEMIS-866
2016-11-29 07:31:23 +00:00
Dmitrii Tikhomirov 3995319dca ARTEMIS-865 Remove e.printStackTrace() from code 2016-11-23 11:15:54 -05:00
Clebert Suconic 402f25be7d ARTEMIS-473/ARTEMIS-863 Detect network failures 2016-11-23 10:14:14 -06:00
Howard Gao 1487fe6bdd ARTEMIS-864 Sending to a destroyed temp queue didn't get exception 2016-11-22 19:42:38 +08:00
Will Reichert 127ce3a84a NO-JIRA: change netty leak detection override to only disable if not specified on command line 2016-11-17 10:48:28 -05:00
Clebert Suconic 9009d12b5a ARTEMIS-851 Allowing broker configuration to be changed through system properties
This will use Bean Utilities to change propertyes at the main configuration.
2016-11-16 14:41:18 +00:00
Clebert Suconic 5acb6953a6 ARTEMIS-846 Disk full should be informed during blocking as well
https://issues.apache.org/jira/browse/ARTEMIS-846
2016-11-09 14:47:06 -05:00
Clebert Suconic b8104f6b7e NO-JIRA: Test fixes and speed ups 2016-11-09 14:35:47 -05:00
Howard Gao 4691cbe882 ARTEMIS-842 JMSMessageID doesn't appear to work in selector 2016-11-08 09:52:12 +08:00
Clebert Suconic 3ead28f587 NO-JIRA: Removing System.out debug 2016-11-04 09:52:34 -04:00
Clebert Suconic f2db1c4337 [maven-release-plugin] prepare for next development iteration 2016-11-03 15:35:05 -04:00
Clebert Suconic 13a8a2bd40 [maven-release-plugin] prepare release 1.5.0 2016-11-03 15:34:54 -04:00
Clebert Suconic 1b1b0150c2 NO-JIRA: Pre-release check, adding properties on ConfigurationImpl::equals 2016-11-03 14:52:33 -04:00
Howard Gao cd7b838952 ARTEMIS-786 Store user's password in hash form by default
- user passwords for PropertiesLoginModule stored using PBKDF2 algothrim
    by default
  - implements cli user command to help create and manage user/roles
  - adds a mask cli command to mask passwords
2016-11-02 14:59:00 -04:00
Clebert Suconic 5e5ac0f057 ARTEMIS-832 Openwire was ignoring data syncs.
I'm also adding the possibility of sync on libaio, and not only relay on write-cache
2016-11-02 13:17:12 -05:00
Howard Gao 8c1ec12b33 ARTEMIS-835 Quick restart of broker will leave tmp dir dirty
- Added a timeout wait on each web context's tmp dir in
    WebServerComponent.stop() method.
2016-11-02 13:43:51 -04:00
Clebert Suconic 7eadff7681 ARTEMIS-822 Injecting IO Pools into and from ArtemisServerImpl
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-31 11:34:27 -04:00
Clebert Suconic 6afde8f45a ARTEMIS-822 Review journal threading model
https://issues.apache.org/jira/browse/ARTEMIS-822
2016-10-28 16:54:59 -04:00
Clebert Suconic bfb9bedb2d ARTEMIS-828 Queue browsing can be out of sync while paging
https://issues.apache.org/jira/browse/ARTEMIS-828
2016-10-28 16:54:58 -04:00
Bennet Schulz 4b5cbb86aa ARTEMIS-830 Remove cyclic dependencies
Removes cyclic dependencies between classes and packages in the artemis-jdbc-store projetct by moving classes and methods to other locations and reducing the visibility of classes, fields and methods. Solving cyclic dependencies is important to keep the codebase maintainable. Scenarios where "everything uses everything" should be avoided.
2016-10-28 16:32:04 -04:00
Clebert Suconic e49eda9664 NO-JIRA fixing byteman (extra tests)
Two issues encountered here:

i - ClosingConnectionTest was intermittently breaking other tests, in particular it was breaking PagingLeakTest for no apparent reason
  . apparently it was a dead lock from removeAddress on the ServerController

ii - it still showing issues after removing the not needed synchronziation. Since the test is not really needed I am just removing the offending test.
2016-10-28 16:32:04 -04:00
Benjamin Graf 20183f94a4 NO-JIRA: Fix checkstyle false friend 2016-10-28 19:09:41 +02:00
Ulf Lilleengen 1b7033a20e ARTEMIS-824: Add management routines for connector services 2016-10-26 10:11:11 +02:00
bayern39 e95e4f775b ARTEMIS-816 Log warning during boot if no dead letter/expire address is configured 2016-10-22 11:30:55 +08:00
Clebert Suconic a074f9f1a5 ARTEMIS-753 Queue Pause and Resumed persisted 2016-10-21 20:26:23 -04:00
Howard Gao 9c16ba26be ARTEMIS-812 The countDelta attribute showing negative values 2016-10-21 17:13:41 +08:00
Benjamin Graf 2020dcd290 ARTEMIS-793 Improvement to OSGi integration 2016-10-19 22:03:00 +02:00
bayern39 b08b91a32f ARTEMIS-802 Broker does not throw exception on divert with no name 2016-10-19 15:37:02 -04:00
Clebert Suconic ac69fed4e7 [ARTEMIS-708] small improvements on remove call from DelayedAddRedistributor 2016-10-19 15:34:37 -04:00
bayern39 028f92ffa5 [ARTEMIS-708] Incorrect ConcurrentHashSet.remove call in QueueImpl.DelayedAddRedistributor.run 2016-10-19 15:04:52 -04:00
Clebert Suconic 813f2532d8 NO-JIRA: just adding some javadoc on ReloadManager 2016-10-19 14:46:38 -04:00
Clebert Suconic b7d79f328f NO-JIRA: a few additions and tweaks around OSGI 2016-10-19 13:19:10 -04:00
jbertram 1945f836af ARTEMIS-804 log ref when no DLA configured 2016-10-18 16:15:58 -05:00
Jeff Mesnil c1ecddcb71 [ARTEMIS-803] Fix colocated backups with http-upgrade acceptor
*  Do not offset ports for Netty connector/acceptor with http-upgrade
enabled.
* Pass the name of the ActiveMQ server to the HTTP request to initiate
the Upgrade so that the HTTP endpoint on the app server can find the
correct ActiveMQ broker that must handle the upgrade.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-803
2016-10-18 09:00:36 -04:00
Clebert Suconic 6483123417 ARTEMIS-801 Dealing properly with Spaces and Special Characters on broker 2016-10-17 22:04:21 -04:00
Erich Duda c183ed9cc1 ARTEMIS-801 Decode URL paths
If the path to file contains some special characters, they are encoded
in URL form using %<hex> syntax. We should decode such path when it
is used as path to file on local filesystem.
2016-10-17 22:04:21 -04:00
Ville Skyttä a3527869b4 Fix NPE in JAAS PropertiesLoader when in debug mode without baseDir 2016-10-13 00:25:45 +03:00
Ville Skyttä 65342a5ad2 javadoc: Fix doclint syntax errors 2016-10-10 10:02:49 +02:00
Ville Skyttä 9a439b4791 javadoc: Fix doclint reference errors 2016-10-10 10:02:49 +02:00
Ville Skyttä 3b9ed795d1 javadoc: Fix doclint html errors 2016-10-10 10:02:49 +02:00
jbertram c47a9a5f80 ARTEMIS-761 fix possible dup journal record ID 2016-10-07 18:50:44 -04:00
jbertram 59bff3b36b ARTEMIS-767 consumer with pre-ack flagged as slow 2016-10-07 14:47:21 -04:00
Christopher L. Shannon (cshannon) 5b833efc1b NO-JIRA: Exclude xml-apis test dependency
This dependency is not needed as the api is part of the JDK and it is
causing issues when m2eclipse
2016-10-07 10:52:47 -04:00
Martyn Taylor 95c4fdd408 ARTEMIS-762 Reflect management changes in AMQP protocol 2016-10-07 10:38:01 -04:00
Ville Skyttä 1714f8a76d Spelling fixes 2016-09-30 13:24:08 -04:00
Ville Skyttä 082b75bb3d More use of try-with-resources 2016-09-30 13:17:26 -04:00
Clebert Suconic ec48f9ed00 ARTEMIS-765 Improve Checkstyle 2016-09-30 11:12:09 -04:00
jbertram a6974596a0 ARTEMIS-739 fix large msg file leak on copy 2016-09-28 14:20:07 -04:00
Francesco Nigro b4225832e0 ARTEMIS-759 Improve exception message on queue configuration builder 2016-09-28 13:45:17 +02:00
jbertram e53998bf3b ARTEMIS-755 Fix divert MBean warning 2016-09-27 10:38:43 -05:00
Ville Skyttä 1a4fe92802 Fix WaitNotInLoop issues flagged by new Error Prone 2016-09-27 14:28:29 +03:00
Ville Skyttä f2c2ed32da Fix closing quorums on QuorumManager.stop 2016-09-26 13:38:08 -04:00
Ville Skyttä 056920e6ab Don't generate unnecessary ID's on divert 2016-09-26 13:35:30 -04:00
Ville Skyttä b69af66f47 Expose disk-scan-period, max-disk-usage, and global-max-size in server control 2016-09-26 13:33:23 -04:00
Ville Skyttä 494c85d624 Java 1.7 build fix 2016-09-25 21:13:55 +03:00
Ville Skyttä 775862ee72 Add missing @Override 2016-09-25 21:13:08 +03:00
Clebert Suconic b98c24e749 NO-JIRA: using scheduled component on message counters 2016-09-23 09:09:37 -04:00
Ville Skyttä e98da5f288 Make bunch of private fields final 2016-09-23 09:06:08 -04:00
Francesco Nigro c002cf13b8 ARTEMIS-743 Created QueueConfig that replace and enable additional behaviours on QueueFactory.
Added Filter predicate.
2016-09-22 15:45:14 +01:00
Clebert Suconic 113c0c9360 ARTEMIS-738 Improving TX support on AMQP
https://issues.apache.org/jira/browse/ARTEMIS-738
2016-09-21 18:14:38 -04:00
Ville Skyttä 589adbccac ARTEMIS-740 Auto-reload diverts from broker.xml 2016-09-21 17:00:21 -04:00
Ville Skyttä 53b84624f3 Rename misleading divertBindingNotExists to divertBindingAlreadyExists 2016-09-21 16:56:39 -04:00
Ville Skyttä 02a7ac2949 Add missing @Overrides 2016-09-21 16:31:14 -04:00
Andy Taylor 680f84b5a2 ARTEMIS-742 = replication quorum broken
https://issues.apache.org/jira/browse/ARTEMIS-742
2016-09-21 13:52:36 +01:00
Martyn Taylor 74742dcb66 Add Unique ClientID on Server 2016-09-16 16:05:20 +01:00
Jeff Mesnil c33f29631f ARTEMIS-714 Add suport for DataSource and SQLProvider
* add DataSource property to DatabaseStorageConfiguration to be able to
  communicate with the data store using this DataSource instance instead
  of relying on the creation the SQL connnection using the JDBC connection
  URL/driver class name tuple.
* add SQLProvider.Factory property to DatabaseStorageConfiguration to
  externalize the choice of the SQLProvider instead of relying on
  hard-coded choices. If the property is null, the current behaviour will
  be used (determing the SQLProvider based on the driver class name)
* bindingsJournal and messageJournal are already started in the start()
  method. Remove redundant calls that were creating unused JDBC
  connections that are never closed.

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-714
2016-09-15 11:15:24 -04:00
Clebert Suconic 9cea1598d6 Improving ScheduledComponent to avoid bursts after long waits 2016-09-15 16:02:49 +01:00
Clebert Suconic 6b5fff40cb ARTEMIS-734 small improvement: use ActiveMQScheduledComponent 2016-09-15 16:02:49 +01:00
Vlado Pakan 2509eeb818 ARTEMIS-734 Message expired while being moved on the cluster bridge does not follow the address setting configuration. 2016-09-15 16:02:49 +01:00
Ville Skyttä 7bff07d5b1 Add missing @Overrides 2016-09-14 13:22:20 +03:00
Clebert Suconic f8278ec99c ARTEMIS-727 Improving Thread usage on JDBC
https://issues.apache.org/jira/browse/ARTEMIS-727
2016-09-12 14:32:40 -04:00
Martyn Taylor 9a4a3647a7 ARTEMIS-726 JDBC storage manager should not use FileMonitors 2016-09-09 09:50:47 -04:00
Clebert Suconic 87d3c1c9bd ARTEMIS-716 max replication = 0 should mean do not make copies at all 2016-09-08 17:17:04 +01:00
Clebert Suconic 505b732843 [maven-release-plugin] prepare for next development iteration 2016-09-06 12:17:31 -04:00
Clebert Suconic b305e231ec [maven-release-plugin] prepare release 1.4.0 2016-09-06 12:17:08 -04:00
Clebert Suconic 4472aa0e36 ARTEMIS-581 Implement max disk usage, and global-max-size
max-disk-usage = how much of a disk we can use before the system blocks
global-max-size = how much bytes we can take from memory for messages before we start enter into the configured page mode

This will also change the default created configuration into page-mode as that's more reliable for systems.
2016-09-06 15:07:49 +01:00
Martin Styk 275924e8f4 ARTEMIS-710 Avoid inefficient iteration over Map 2016-08-31 14:48:31 -04:00
Clebert Suconic 03b938468a ARTEMIS-657 Fixing JORAM AMQP Tests 2016-08-31 14:26:10 -04:00
jbertram 68d1e980fc ARTEMIS-699 group ID reaper tx bug 2016-08-30 17:27:47 -04:00
Ville Skyttä 4ef9c5e238 Javadoc error fixes 2016-08-25 14:22:32 -04:00
Ville Skyttä d5242978d5 for and while loop to foreach conversions 2016-08-25 14:22:32 -04:00
Ville Skyttä e1728f0797 Spelling fixes 2016-08-25 14:22:32 -04:00
Ville Skyttä 8c6e044745 Potential resource leak fixes 2016-08-25 14:22:32 -04:00
Ville Skyttä d57378f2af Missing @Override fixes 2016-08-25 14:22:32 -04:00
jbertram 3fd9fbe2d0 ARTEMIS-686 shutdown external components 2016-08-19 14:00:17 -05:00
Clebert Suconic a3840c23c3 [maven-release-plugin] prepare for next development iteration 2016-08-16 11:59:55 -04:00
Clebert Suconic d38ef19bf6 [maven-release-plugin] prepare release 1.4.0 2016-08-16 11:59:36 -04:00
Clebert Suconic ad21b5b70b ARTEMIS-591 Fixing typos 2016-08-15 22:04:38 -04:00
Clebert Suconic 18563e4539 ARTEMIS-591 Improvement on Timeout check 2016-08-15 14:09:37 -04:00
bayern39 3def84e533 [ARTEMIS-591] Wrong XAException return code when broker timeout is hit 2016-08-15 14:08:50 -04:00
jbertram 6038db8b99 ARTEMIS-577 log SSLHandshakeException root cause 2016-08-15 13:58:25 -04:00
jbertram cfbe06f3bc ARTEMIS-656 support host verification for SSL cert 2016-08-15 13:58:25 -04:00
jbertram b54de460c6 ARTEMIS-592 finer-grained security for queues 2016-08-11 18:32:54 -04:00