Commit Graph

11071 Commits

Author SHA1 Message Date
Clebert Suconic 4ebacc9d87 Fixing a few intermittent failures
These tests were not as broken as on 2.3.x from the old hornetq branch where this fix originated.
However I will play safe here as I believe the race could be after the exception is raised and before the counter was added
(on ActiveMQMessageHandlerTest)
2015-01-21 18:40:19 -05:00
Clebert Suconic 0eb1e332d3 ACTIVEMQ6-73 Adding missing methods
https://issues.apache.org/jira/browse/ACTIVEMQ6-73
https://bugzilla.redhat.com/show_bug.cgi?id=1174152

this is adding missing methods on the Management interface as originally raised at
https://bugzilla.redhat.com/show_bug.cgi?id=1174152 by RedHat
2015-01-21 18:32:21 -05:00
Clebert Suconic 2ae6f36e74 This closes #67 on graceful shutdown 2015-01-21 14:19:36 -05:00
jbertram 754d481d53 ACTIVEMQ6-52 Graceful shutdown
Implements a feature whereby the broker will not shutdown while there are
clients connected. A timeout can be specified so that even if there are
clients connected the broker will still shutdown after a certain time.
2015-01-21 13:18:55 -06:00
Clebert Suconic 881f39ce4d This closes #72 - doc updates 2015-01-21 14:13:07 -05:00
Andy Taylor a6a4d1bed5 documentation updates 2015-01-21 18:27:19 +00:00
jbertram a2a5b35bb7 This closes #71 - TotalQueueIterator fix 2015-01-20 16:27:17 -06:00
Andy Taylor dade72905b ACTIVEMQ6-71 - fix duplicates in TotalQueueIterator
https://issues.apache.org/jira/browse/ACTIVEMQ6-71

remove the intermediateReference iterator as these may be moved anyway
2015-01-20 20:20:47 +00:00
jbertram 98153ec1da This closes #69 - doc updates 2015-01-20 13:56:56 -06:00
Clebert Suconic 5364ad32f4 Merging #70 on RAT changes 2015-01-20 13:45:42 -05:00
jbertram 5208e768d1 A few more excludes for RAT plugin 2015-01-20 10:34:37 -06:00
Andy Taylor d2b668adf3 documentation updates 2015-01-20 15:58:48 +00:00
Andy Taylor 1e915afad7 merge #68 - Rework dependency management in top level poms 2015-01-20 10:38:56 +00:00
Martyn Taylor 26ca3084e2 Rework dependency management in top level poms
This patch moves test dependencies into out of the main pom and into the
tests module pom.  This will make managing 3rd party category X
dependencies much easier going forward.  In addition each dependency
license has been outlined in the pom and README entry added to outline
future policy when adding 3rd party depdendencies.
2015-01-19 15:40:30 +00:00
Clebert Suconic 9748340a0e This closes #66 on JMS / RA fixes around tests and TM 2015-01-16 11:54:33 -05:00
Martyn Taylor 2e9aad9ef4 Update JMS and RA Tests to ensure fresh TX usage
Some of the OutgoingConnection and RA tests were failing due to a
previous transaction being present when using the Arjuna TM.  This patch
adds methods to allow tests which TM to use and ensures that Dummy TM is
cleaned up each after each test.
2015-01-16 16:28:27 +00:00
Clebert Suconic 9e673280bc This closes #64 - removing deprecated items 2015-01-16 09:47:39 -05:00
Martyn Taylor f99a018a24 Merge branch #65 2015-01-16 12:06:45 +00:00
Andy Taylor e3656db93d fix the maven plugin to use the jms file configuration 2015-01-16 11:16:38 +00:00
Andy Taylor 0123d40c43 ACTIVEMQ6-14 - fix for removal of bindings
https://issues.apache.org/jira/browse/ACTIVEMQ6-14

the jms server manager code was throwing a npe because of this, this commit addresses that.
2015-01-16 11:12:47 +00:00
Andy Taylor 0818587597 revert fix that was ported by accident 2015-01-16 10:08:37 +00:00
Justin Bertram fe1ba7ca21 ACTIVEMQ6-69 remove deprecated items 2015-01-15 11:55:24 -06:00
Clebert Suconic 475f2322e2 This closes #63 on configuration changes 2015-01-15 12:18:19 -05:00
Andy Taylor 4b63891aaa ACTIVEMQ6-67 - cleaned up configuration
https://issues.apache.org/jira/browse/ACTIVEMQ6-67

fixed distribution so that file based security works and hot deployers as broken and no longer needed with new bootstrap.

Also combined the jms and core configuration files.
2015-01-15 15:48:22 +00:00
Martyn Taylor 260f579c18 Merge branch #62 2015-01-14 12:08:22 +00:00
Andy Taylor 2c61399b11 example fixes 2015-01-14 09:11:22 +00:00
Andy Taylor 5595e0a9fc fix maven plugin to wait until stop thread has been called by making thread non deamon 2015-01-14 09:09:58 +00:00
Andy Taylor 41fed219c0 added data dir exclude for Rat plugin 2015-01-14 09:09:58 +00:00
Clebert Suconic c98937c089 This closes #60 on auto-create queues 2015-01-13 16:40:29 -05:00
jbertram e293d80f08 ACTIVEMQ6-13 auto-create/auto-delete jms queues
Implements a new feature for the broker whereby it may automatically
create and delete JMS queues which are not explicitly defined through
the management API or file-based configuration. A JMS queue is created
in response to a sent message or connected consumer. The queue may
subsequently be deleted when it no longer has any messages and
consumers. Auto-creation and auto-deletion can both be turned on/off
via address-setting.
2015-01-13 15:29:17 -06:00
Andy Taylor b388bf2397 merge #61 - Improving ScaleDown and allowing snapshots on builds 2015-01-13 09:21:33 +00:00
Clebert Suconic ec9ff4f55e ACTIVEMQ6-68 Improving Scale down routine and fixing test
https://issues.apache.org/jira/browse/ACTIVEMQ6-68

The logic on transferring method is a bit complex, where
I found a better way to calculate the targetIDs.

This will also fix a few ScaleDownTests

I also added some extra tests using ScaleDownDirect
2015-01-12 21:46:55 -05:00
jbertram b4e2884f14 Allow snapshots to fix the build after removing parent root 2015-01-12 14:51:48 -05:00
Clebert Suconic ff7dbff842 Merging #59
This closes #59
2015-01-12 14:49:59 -05:00
Martyn Taylor 86cdc589d8 ActiveMQ6-65 Removes XA with JTA example
This example requires a Transaction Manager implementation to run.  As
we are not shipping with an appropriate Transaction Manager this is
being removed.
2015-01-12 16:19:42 +00:00
Martyn Taylor 82f1e7a503 ActiveMQ6-65 Examples updated: 3rd party CatX deps
Removes any occurances of CatX deps from examples and removes a couple
of other references to Cat X 3rd party deps.
2015-01-12 15:52:38 +00:00
Andy Taylor 0028efbdc5 merge #58 - removing apache parent for now 2015-01-10 10:38:50 +00:00
Andy Taylor 5e780438f4 merge #57 - Updates distro licences and fix Rat exclusion 2015-01-09 10:56:08 +00:00
Clebert Suconic 99024d4bf9 removing apache parent for now
For some reason this is not playing well with Idea. When I import the project nothing is being able to be executed.
2015-01-08 10:42:05 -05:00
Martyn Taylor 0be3a3e984 Updates distro licences and fix Rat exclusion 2015-01-08 15:33:44 +00:00
Andy Taylor ecf535adb7 merge #56 - Remove jboss jms from examples 2015-01-08 12:55:32 +00:00
Andy Taylor f6ec72fe09 merge #55 - Apache Rat- Exclude target dirs and intellij files 2015-01-08 12:54:19 +00:00
Martyn Taylor f6811d3c43 Apache Rat- Exclude target dirs and intellij files 2015-01-07 19:57:49 +00:00
Martyn Taylor 56d6a47a83 ActiveMQ6-65 JBoss JMS1.1 -> Geronimo 2.0 spec jar
Replaces usage of the JBoss 1.1 API jar with the Geronimo JMS 2.0 jar.
The API is backwards compatibile.
2015-01-07 19:54:42 +00:00
Martyn Taylor 63769aab91 ActiveMQ6-65 JBoss JMS 2.0 spec jar -> Geronimo
Swaps out all usages of the JBoss JMS 2.0 spec jar and replaces with the
Geronimo spec jar, in examples, docs and distribution.
2015-01-07 19:54:42 +00:00
Andy Taylor 3059c6f65b merge #54 - Fix failing RA OutgoingConnectionTests 2015-01-07 09:29:58 +00:00
Martyn Taylor e58f2362cc Fix failing RA OutgoingConnectionTests
Some of the outgoing connection tests require a dummy transaction
manager to setup a fake transaction.  The default transaction manager is
set to the JBoss TX manager and so the tests were failing.  This patch
split the OutgoingConnectionTest into ones that require a real TM
manager vs Dummy TM Manager.
.
2015-01-06 17:06:56 +00:00
Martyn Taylor c9de5c763f Merge branch #53 2015-01-06 16:57:18 +00:00
Clebert Suconic e0b0b6bf89 ACTIVEMQ6-64 Messages duplicated during ScaleDown or queue.totalIterator
https://issues.apache.org/jira/browse/ACTIVEMQ6-64

The redelivery list was not isolated on the PageIterator. This is moving the
redelivery list to the Iterator so we would have proper isolation of the functionality.

The previous version was assuming a single instance of PageIterator, QueueImpl and PageSubscription.
When we started using more than one instance of the Iterator we created this bug.
2015-01-05 20:34:05 -05:00
Clebert Suconic 887743f09d This closes #52 2015-01-05 13:14:41 -05:00