Commit Graph

2013 Commits

Author SHA1 Message Date
Martyn Taylor c30a8fe899 Add back extra test changes accidently removed during rebase 2015-05-19 16:00:34 +01:00
Thiago Kronig 351b1cba5d Ignores %PATH/java, use $JAVA_HOME/bin/java instead
Deduce `java` executable from current "java.home" property to spawn
processes for test purposes.
2015-05-18 19:00:29 -04:00
jbertram 8561d60f54 ACTIVEMQ6-110 getDeliveringMessages() broken 2015-05-18 13:57:41 -05:00
Martyn Taylor 73c5f2e342 [maven-release-plugin] prepare for next development iteration 2015-05-13 15:24:55 +01:00
Martyn Taylor bfc9d8f72d [maven-release-plugin] prepare release 1.0.0 2015-05-13 15:24:16 +01:00
Martyn Taylor a17c828b85 Ensure all references to the project use ActiveMQ Artemis 2015-05-13 11:51:26 +01:00
Clebert Suconic 071d8c6ce2 next iteration on extra-tests 2015-05-12 11:14:12 -04:00
Martyn Taylor 1013e7f1dd [maven-release-plugin] prepare for next development iteration 2015-05-12 13:51:35 +01:00
Martyn Taylor d6466b7a1b [maven-release-plugin] prepare release 1.0.0 2015-05-12 13:50:56 +01:00
Martyn Taylor 3e34044d2b [maven-release-plugin] prepare for next development iteration 2015-05-11 21:50:41 +01:00
Martyn Taylor d2de238a30 [maven-release-plugin] prepare release 1.0.0 2015-05-11 21:48:17 +01:00
jbertram 2cbeedab89 Clean up 'ActiveMQ' refs in literals 2015-05-11 11:23:35 -05:00
Martyn Taylor 77efc950af ACTIVEMQ6-100 Add support for HornetQ clients 2015-05-07 14:59:46 -04:00
jbertram 96a0fe8f53 Use target directory for test data 2015-05-06 15:37:46 -05:00
jbertram 8cea209a8b Set Arjuna properties 2015-05-06 15:37:46 -05:00
jbertram 7377672fa3 Enable extra tests in 'extra-tests' profile 2015-05-06 15:37:45 -05:00
jbertram 4735d38d7b Update surefire plugin versions 2015-05-06 15:05:49 -05:00
jbertram f509ce7519 ACTIVEMQ6-70 broker resource limits
Implements basic limits on the number of connections and number of
queues a particular user can create to/on the broker.
2015-05-04 20:37:20 -05:00
jbertram 3eb835a8ab ACTIVEMQ6-96 acceptor limit
Adds a configuration property on both in-vm and Netty acceptors
whereby the number of connections allowed is configurable.
2015-05-04 16:07:27 -05:00
Clebert Suconic ea3370b38c Moving artemis-tools to artemis-cli and improving the tooling
Artemis tools is now part of the cli
Bootstrap was renamed to CLI
2015-05-03 12:42:19 -04:00
jbertram 791cc5c50c More rename updates 2015-04-30 09:07:20 -05:00
Andy Taylor 24a4c63458 renamed schemas 2015-04-29 10:49:43 +01:00
Andy Taylor ac5bb8fd6c renamed config to broker.xml 2015-04-29 10:30:32 +01:00
Clebert Suconic 70a6e43075 Fixing byteman tests after the rename 2015-04-28 10:39:05 -05:00
jbertram 9a6ae57d45 Casting issue with management op over core 2015-04-27 18:30:01 -04:00
Justin Bertram 8f52a622d0 ACTIVEMQ6-1 Artemis rename
Based on the Apache ActiveMQ community vote this project is being
renamed "Artemis."
2015-04-27 17:48:02 -04:00
Clebert Suconic f509c075c6 ACTIVEMQ6-1 Artemis rename
This commit is a simple mv of the files.. We required two commits to preserve history,
one to git mv, one for the actual changes...

otherwise history would be lost

Based on the Apache ActiveMQ community vote this project is being
renamed "Artemis."
2015-04-27 17:44:45 -04:00
Martyn Taylor 11e1b850c9 Renamed ActiveMQ6 to ActiveMQ Artemis 2015-04-24 14:07:31 +01:00
Clebert Suconic ada112a6a3 ACTIVEMQ6-94: Using proper flow control on very large messages over the bridge
This will remove some of the verifications written by Howard on his commit.
I did this to simplify the flow control

This closes #197
2015-04-23 15:48:20 -04:00
Howard Gao c1111cc156 ACTIVEMQ6-94: HornetQ Bridge does not handle large messages
When sending a large message that exceeds the size of
Integer.MAX_VALUE, the bridge will get negative chunk size during
fowarding. And the resend cache is not limited so there is a
potential that it may get OutOfMemory exception.
2015-04-23 15:02:01 -04:00
Clebert Suconic 147a5528e4 changing iterations on test so it runs faster 2015-04-23 15:02:01 -04:00
Daniel Pocock 00837c120d Management Methods for first message timestamp 2015-04-22 17:01:39 -05:00
Clebert Suconic 81a7613b38 ACTIVEMQ6-97 - fixing a left-over from the renaming 2015-04-21 21:54:10 -04:00
Clebert Suconic 95b6328993 Queue Auto-create fixes on OpenWire
this is basically addressing a performance issue on OpenWire, setting the auto-create to the PostOffice
after not being able to route

The core protocol stays the same in regard to the auto-create since the exceptions are happening after the queueQuery
2015-04-21 18:00:07 -04:00
Jeff Genender 188e3b76bd ACTIVEMQ6-97 - Change HQ to AMQ for properties/headers/doc. Remove as much HQ as possible and change to AMQ to make this close to the ActiveMQ project. 2015-04-21 12:26:44 -04:00
Clebert Suconic 44bfe26f3c using temporary folders under ./target
Sometimes /tmp doesn't support ext4 (tmpfs) and there's always a risk of leaving unnatended files in cases of crashed.
This is in alignment with how other tests run at apache
2015-04-09 22:03:03 -04:00
Clebert Suconic abeb0bf3c2 Improving test timing
HangConsumerTest was hanging for 20 seconds for no real reason. this change will improve the timing on the test
2015-04-09 15:05:19 -04:00
Clebert Suconic 2154c754c8 Fixing a NPE case after Duplciate detection
If a Transaction wasn't created, the case for duplciate Detection would cancel a transaction that never happened
and it would get a NPE instead of a TX Exception.

It wasn't a big deal as the client got an exception anyways and the users were able to cancel in that case
but the message sent was a string containing just "Null".

this will fix it with a proper handling
2015-04-09 15:03:47 -04:00
Martyn Taylor 548735f8b6 Add Auto JMS queue creation for OpenWire 2015-04-09 17:59:15 +01:00
Clebert Suconic c38acee509 fixing extra-tests dependency 2015-04-01 16:16:13 -04:00
Clebert Suconic dea60ed3b6 ACTIVEMQ6-95 Large Message doesn't work on clustering & null Persistence
https://issues.apache.org/jira/browse/ACTIVEMQ6-95

The message.copy is broken when you set persistence=false, and the bridge will use that method before forwarding the message
this commit is fixing NullStorageLargeServerMessage.copy and adding the proper testcase to validate the fix
2015-03-31 12:33:22 -04:00
Claus Ibsen dee060bb5d Polish and renamed hornetmq to activemq-6 2015-03-31 11:48:56 -04:00
Clebert Suconic 2f819a63e7 Improving a test that failed due to what seemed a race 2015-03-31 11:23:06 -04:00
Clebert Suconic 519a47f023 ACTIVEMQ6-89 Refactored stomp support contributed
https://issues.apache.org/jira/browse/ACTIVEMQ6-89

I have done a lot of refactoring on this. So we can a different version of the interceptor for each protocol based on a base class now.
Just an abstract class over Stomp would be a bit hacky... this is a better approach.
2015-03-31 11:23:05 -04:00
nberdikov b2524b1be4 ACTIVEMQ6-89 Added possibility to intercept stomp frames
https://issues.apache.org/jira/browse/ACTIVEMQ6-89

This was originally contributed at #182. We have squashed the commits and rebased them here
This closes #182
2015-03-31 11:23:05 -04:00
Martyn Taylor 9da0a37b89 [maven-release-plugin] prepare for next development iteration 2015-03-27 15:38:13 +00:00
Martyn Taylor 2d9e3128c9 [maven-release-plugin] prepare release 10.0.0-M1 2015-03-27 15:21:10 +00:00
Martyn Taylor babdc21b24 [maven-release-plugin] prepare for next development iteration 2015-03-24 15:21:20 +00:00
Martyn Taylor db40d55a86 [maven-release-plugin] prepare release 6.0.0-M1 2015-03-24 15:12:28 +00:00
Martyn Taylor 7c206231ee [maven-release-plugin] prepare for next development iteration 2015-03-16 17:42:39 +00:00
Martyn Taylor ee49ca2a0d [maven-release-plugin] prepare release 6.0.0 2015-03-16 17:41:49 +00:00
Martyn Taylor ab1c585ace [maven-release-plugin] prepare for next development iteration 2015-03-12 19:11:44 +00:00
Martyn Taylor ee57649f83 [maven-release-plugin] prepare release 6.0.0 2015-03-12 19:10:21 +00:00
Martyn Taylor f3d7edd6b4 [maven-release-plugin] prepare for next development iteration 2015-03-12 19:00:39 +00:00
Martyn Taylor a97178abaf [maven-release-plugin] prepare release 6.0.0 2015-03-12 19:00:02 +00:00
Clebert Suconic e065d25b6f A few changes around logging-processor
- Bumped up version to 2.0.0.Alpha
- Client bundle changes to be copmatible with 2.0.0
- Fixing bundle / Logging classes for missing format (it was an issue with the previous one already)
- Fixed up dependencies to avoid transient downloads
2015-03-12 10:49:17 +00:00
Clebert Suconic d36a1d74af Fixing test dependencies
- removing unused methods
- moving JMSXdeliveryCountTest to /extra-tests
- A few transactions methods that were not being used and creating issues to the release
due to an old dependency to the TM

This closes #173
2015-03-12 10:49:17 +00:00
Martyn Taylor 77921956c5 Send error on create producer when no dest exists
Returns an error to the client causing InvalidDestinationException to be
thrown when an ActiveMQ 5.x client attempts to create a producer with a
destination that does not exist.  (Over OpenWire Protocol).
2015-03-12 10:49:17 +00:00
Martyn Taylor 7c3e5d1c0e Remove JbossJacorb from JMS test pom 2015-03-12 10:49:17 +00:00
jbertram fa549a00e7 remove useless JavaDoc 2015-03-10 15:23:07 -05:00
jbertram 88ed03e2bd ACTIVEMQ6-87 Strip @author tags 2015-03-10 15:23:07 -05:00
Martyn Taylor d29f495771 [maven-release-plugin] prepare for next development iteration 2015-03-10 13:25:56 +00:00
Martyn Taylor 1aea09e862 [maven-release-plugin] prepare release 6.0.0 2015-03-10 13:23:21 +00:00
Martyn Taylor 2fa5b19ed2 [maven-release-plugin] prepare for next development iteration 2015-03-10 10:11:35 +00:00
Martyn Taylor 6058d115fd [maven-release-plugin] prepare release 6.0.0 2015-03-10 10:01:54 +00:00
Clebert Suconic 0f6d35b324 Moving ActiveMQLoggerHandler away from clashing package util
This was causing issues with javadoc
utils is also a package on activemq-server. ActiveMQUtilLogger is using a super class that was not part of the
source path on the javadoc plugin what caused it to exception and interrupt building
2015-03-09 18:21:02 -04:00
Martyn Taylor 1fe673429e [maven-release-plugin] prepare for next development iteration 2015-03-09 18:14:10 +00:00
Martyn Taylor 5c0bed8994 [maven-release-plugin] prepare release 6.0.0 2015-03-09 17:55:56 +00:00
Martyn Taylor 8603eca336 Remove duplicate deps from poms 2015-03-09 16:29:57 +00:00
Clebert Suconic 440ae2e146 Fixing checkstyle on XATest
This test wasn't compiled by the default profile for that reason I missed this.
2015-03-07 00:14:22 -05:00
Clebert Suconic 11dadb5a2a Fixing Logger errors on the testsuite
Fixing the classpath so some tests would find the LogManager configured
Fixing the dependency on the AssertionLoggerHandler so all the tests could also see it without further errors
2015-03-06 23:29:15 -05:00
Clebert Suconic d101bcbf59 Fixing ServiceLocator on the testsuite
My previous commit broke the location of the ServiceUtil / TransactionManagerLocator
This commit is setting a new DummyTM on the integration-tests-suite and the proper TM Locator on the extra-tests
2015-03-06 22:57:04 -05:00
Clebert Suconic 3661829e6d Refactored the testsuite a bit
With these changes the testsuite is not using any LGPL code by default. Anything woud go through extra-tests

These following changes were made on this commit (in summary):
- renamed byteman-tests as extra-tests
- added extra-tests on a new profile called extra-tests
- added all the other tests back to the tests profile
- removed concurrent-tests and moved them all to timing-tests
- removed old tests that were ignored for a long time and were stale
2015-03-06 17:16:26 -05:00
Clebert Suconic b5a04eb79f fixing snapshot dependencies after the release 2015-03-06 16:53:36 -05:00
Martyn Taylor 2b4e7babb6 Prepare examples,tests for release 2015-03-06 15:28:08 +00:00
Andy Taylor 8ce007f4ab fixed test poms to exclude cat X tests modules 2015-03-06 14:23:50 +00:00
Martyn Taylor 969d02f15f reset Version numbers after release revert 2015-03-06 11:43:46 +00:00
jbertram 63064506e0 Increase timeouts for slower environments 2015-03-04 14:44:24 -06:00
jbertram 080c1dd058 Make test more robust
It is possible for the createHAServerLocator() method to return a
connection to the node with the non-default password causing the test
to fail.
2015-03-04 14:44:24 -06:00
jbertram 9a88941a51 ACTIVEMQ6-86 Backup announcement may fail
When a live and backup server are both started at or near the same moment
there is a small window where the live server's acceptors have been
started but the server's state != STARTED. During this window if the
backup sends its announcement the announcement will fail and the backup
will shutdown. This fix closes this small window by only starting the
acceptors until the server is fully started.
2015-03-04 14:44:24 -06:00
Clebert Suconic a43be0ce07 removing version suffix and fix release
Also removing the word Netty from the starting acceptor and its version
I don't think it's necessary to mention Netty at the console or its version.
That's internal implementation detail at this point
2015-03-03 19:39:58 -05:00
Clebert Suconic b00a0a99ab Fixing the build after the release (6.0.1 snapshot) 2015-03-03 12:36:27 -05:00
Clebert Suconic f896a394e9 Fixing when the storage is stopped for the storage manager
In some cases the ID Generator will be called after the JournalStorage was stopped.
AS a result you could have cases where the ID generator is called and the journal storage is stopped.

Also I added some check to IDs and added some code to cleanup old IDS on the BatchIDManager
2015-02-26 22:52:27 -05:00
Andy Taylor e6a501a43a fixed test to be more robust 2015-02-26 13:41:56 +00:00
Andy Taylor 97e63645d3 topic control test fix 2015-02-26 11:06:36 +00:00
Clebert Suconic 210222e24f moving export-journal / import-journal to the proper tools place
This is simply moving the export/import journal to its proper place.
The previous commit should have added docs about this
2015-02-26 00:26:52 -05:00
Martyn Taylor e194b7803e Replace all references of port 5445 with 61616 2015-02-25 13:27:04 +00:00
Andy Taylor fab1734af7 documentation updates 2015-02-23 09:50:08 +00:00
jbertram 0e537d0881 Port a test from the HornetQ code-base.
A bug was recently discovered on a legacy HornetQ branch. ActiveMQ 6
doesn't suffer from the same problem, but the test is still valuable.
The HornetQ issue is described on
https://bugzilla.redhat.com/show_bug.cgi?id=1193085.
2015-02-20 16:35:25 -06:00
Andy Taylor 64d0547268 ACTIVEMQ6-80 - update acceptor config to use URI's
https://issues.apache.org/jira/browse/ACTIVEMQ6-80

The configuration of acceptors and connectors now takes a uri rather than params
2015-02-19 12:10:49 +00:00
jbertram a17955e665 Remove reference to JBoss' Maven repo.
Remove the reference to the JBoss Maven repo, and make all the necessary
adjustments on the child-projects. It turns out we don't even need the
security dependencies in the tests.
2015-02-12 14:42:51 -06:00
jbertram 2cbef28cc7 ACTIVEMQ-77 auto queue creation on AMQP send/rec
Implements a new feature for the broker whereby it may automatically
create and delete queues which are not explicitly defined through
the management API or file-based configuration when a client sends a
message to or receives from a queue via the AMQP protocol. Note,
the destination has to be named like "jms.queue.*" to be auto-
created. 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-02-12 14:02:45 -06:00
Clebert Suconic 87966029c7 This closes #93 on URI work and connection factory serialization 2015-02-12 15:01:12 -05:00
Andy Taylor 3b76ccc92b ACTIVEMQ6-7 - Improve Serialization on Connection Factory
https://issues.apache.org/jira/browse/ACTIVEMQ6-7

Connection Factory is now externalizable and is now serialized as a string that represents a URI. There are schemas for every possible type for connection factory and server locator.

The client JNDI representation of factories has also been changed to be consistent with this.
2015-02-12 09:14:24 +00:00
Clebert Suconic 60179cfc98 Fixing test failure
This test started to fail after performance improvements from  ACTIVEMQ6-78
After some investigation it turned out that this test was racing with the client
crashing even before the queue was created or sending a non persistent message
asynchronously while the client crashed before the server received the message.

I've also decreased some of the times on pings so the test could run a bit faster
2015-02-11 12:47:14 -05:00
Clebert Suconic f7c4d56cc7 ACTIVEMQ6-78 Improving performance over Netty NIO blocked calls
https://issues.apache.org/jira/browse/ACTIVEMQ6-78 performance work

There are two aspects of this work. First avoid asynchronous packets and avoid
context switch over the executors. Packet had a method to make certain packets such
as commit to use a different executor. Since it's NIO everything is done at the Netty thread now.

The second aspect was to make sure we use the proper buffering
2015-02-11 12:47:14 -05:00
Clebert Suconic 41b28f4b23 ACTIVEMQ6-78 Adding tests to evaluate this task
https://issues.apache.org/jira/browse/ACTIVEMQ6-78

This commit is just adding tests I used to debug the blocked calls issue
There are some profiling parameters you can use that I added as a comment to the pom

The reason this is a separate commit is that it would be easier to validate the results of optimizations while
checking after and before any changes
2015-02-11 12:47:01 -05:00
Clebert Suconic b24d72900b ACTIVEMQ6-7 - Improve Serialization on Connection Factory
https://issues.apache.org/jira/browse/ACTIVEMQ6-7
2015-02-11 11:36:10 +00:00
jbertram 1310442244 ACTIVEMQ6-76 auto queue creation on STOMP send/sub
Implements a new feature for the broker whereby it may automatically
create and delete queues which are not explicitly defined through
the management API or file-based configuration when a client sends a
message to or consumes from a queue via the STOMP protocol. Note,
the destination has to be named like "jms.queue.*" to be auto-
created. 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-02-09 09:03:58 -06:00
jbertram 593ea2dde2 test needs more time 2015-02-04 11:31:07 -06:00
jbertram 20452083d7 give receiver a bit more time on bridge test 2015-02-02 15:00:08 -06:00
Clebert Suconic 5e72f7e283 This closes #88 - fixing race on test 2015-02-02 14:19:43 -05:00
jbertram d523f630a0 fix potential race condition in test 2015-02-02 12:26:22 -06:00
Andy Taylor 076faa759f ACTIVEMQ6-74 - removing unused old jaas implementation and associated tests etc
https://issues.apache.org/jira/browse/ACTIVEMQ6-74

This is ready for the import of the ActiveMQ 5 JAAS implementation for 6.1
2015-02-02 15:45:58 +00:00
jbertram fe11fb4c02 avoid potential NPE 2015-01-30 13:35:28 -06:00
jbertram 9e214e9c43 remove unnecessary cache operation 2015-01-30 13:35:27 -06:00
jbertram d895988faf fix race in test 2015-01-27 15:40:15 -06:00
jbertram 8f4142f87e Fix test, remove redundant operation 2015-01-26 16:25:30 -06:00
jbertram dfb7d3c382 Fix test, adjust logging 2015-01-26 14:03:54 -06:00
jbertram 11d4b0a80d removing redundant tests 2015-01-23 08:30:01 -06:00
Martyn Taylor 8b631c1426 Only check TM exists for JMSBridge with ONCE_ONLY
A transaction manager is only required on the JMSBridge when the QoS
level is set to ONCE_AND_ONCE_ONLY.  Previous to the this patch it was
also checking for a TM on the AT_MOST_ONCE QoS level.  This patch also
ensures that the TM is set to null after each test run.
2015-01-23 10:37:39 +00:00
Clebert Suconic 2c7db814f0 fixing checkstyle that I messed up on my last commit 2015-01-22 12:07:53 -05:00
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
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
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
Justin Bertram fe1ba7ca21 ACTIVEMQ6-69 remove deprecated items 2015-01-15 11:55:24 -06: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
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
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
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
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
Howard Gao 1d022fe474 ACTIVEMQ6-43(reopened) : Replace License Headers on codebase
- added missing license headers found by maven rat plugin.
  most of them added automatically via apache-rat
  a few manually added

- added apache-rat maven plugin to the build cycle
2015-01-05 13:14:25 -05:00
John D. Ament 96dc7e40ea ACTIVEMQ6-40 Update to the geronimo jms 2 spec JAR. 2015-01-02 12:51:37 -05:00
jbertram 16d74b2bec Merge #50 ttl fix from Howard 2014-12-31 11:05:07 -06:00
Howard Gao 1d159e6da0 Bug 1174886 - HornetQ TTL / check-period not being respected
on the replication channel

The connection-ttl and client-failure-check-period are not passed
to the server locator used to create replication connection. So the
fix sets the two parameters in SharedNothingBackupActivation.
2014-12-23 20:38:35 +08:00
Andy Taylor 2514611285 ACTIVEMQ6-14 - more JNDI removal
https://issues.apache.org/jira/browse/ACTIVEMQ6-14

cleaned up more remaining server JNDI code and fixed some abstraction and naming around JNDI and bindings
2014-12-19 08:07:06 +00:00
Martyn Taylor f28c9be8af Only Set TM on Bridge in QoS modes that require it
The bridge currently tries to assign a TM even when the quality of
service level is set to Duplicates OK.  This QoS does not use or require
a TM.  This patch stops the bridge from attempting to assign a TM for
this QoS and also checks that a TM is set of the other QoS.  If TM is
not set for a QoS that requires one, a error is logged and RunTime
exception thrown.
2014-12-16 16:33:58 +00:00
Martyn Taylor 739c0f368b Allow tests to set TM in TMLocatorImpl
Some tests require a proper TM to be returned by the TMLocator
implementation whilst others require a DummyTM to be returned.  This
patch makes allows TM returned by the locator class to be changed by the
test.
2014-12-16 16:33:58 +00:00
Martyn Taylor 891e3ef1cb Add TM Locator impl to JMSBridge tests 2014-12-12 16:35:13 +00:00
Clebert Suconic 09490cdba3 ACTIVEMQ6-54 Fixing tests broken after Paging fix
https://issues.apache.org/jira/browse/ACTIVEMQ6-54

Changing the order of depaging introduced an extra check that needs to be checked now.
This will probably take care of the issue by checking if the page is complete before depage.
2014-12-10 22:06:35 -05:00
Clebert Suconic fecd376448 Fixing build after XA Test
The JMS Testsuite still need the TM for some tests, not having a TM would break compilation on the JMS Test
2014-12-10 10:39:08 -05:00
Martyn Taylor 2982f37512 ActiveMQ6-6 Remove last of JBoss Transactions SPI 2014-12-10 14:00:34 +00:00
Martyn Taylor 8f91af1b5c ActiveMQ6-6 Factor out WildFly XA Recovery
Pulls out WildFly XA Recovery specifics into a different project.  Some
XA recovery code is still present and is used as integration points for
integrating TM XA recovery processes.
2014-12-09 16:08:34 +00:00
Clebert Suconic d7c7d86d55 Merging #36 on SPI and TX integration 2014-12-08 12:25:18 -05:00
Andy Taylor e34fd09ce3 ACTIVEMQ6-6 - remove SPI usage
https://issues.apache.org/jira/browse/ACTIVEMQ6-6

Removed the jboss security implementations and also implemented the location of Transaction Managers using Service Loader and removed the jboss implementation.
2014-12-08 11:06:24 +00:00
Clebert Suconic 933d90a4f3 ACTIVEMQ6-54 Depaging is not kicking in on some scenarios, and Browsing is not looking towards paging
https://issues.apache.org/jira/browse/ACTIVEMQ6-54

This is fixing a few issues around paging:
- Browsing it not looking towards Paging. I'm using the queue.totalIterator which is a read-only iterator that goes towards the pages messages.
- Depage is not kicking correctly in some scenarios. I have improved the logic on scheduling depage for that.
2014-12-05 14:48:14 -05:00
jbertram 7cfd76d321 Handful of test fixes 2014-12-05 09:27:53 -06:00
jbertram e6a3d3a0c5 ACTIVEMQ6-14 Replace JNDI server with client impl 2014-12-05 09:27:52 -06:00
Clebert Suconic a3afd62575 ACTIVEMQ6-20 removing twitter integration
https://issues.apache.org/jira/browse/ACTIVEMQ6-20

this has been identified as a dead feature.
It was only useful for presentations...
it had its time and we have better examples we can use...
It's time for this feature to go!
2014-12-02 12:33:16 -05:00
Howard Gao 293b242ffc ACTIVEMQ6-43 Replace License Headers on codebase
upgrade mycila plugin to 2.6
2014-12-01 10:20:24 +08:00
Martyn Taylor 60fbb1055b ACTIVEMQ6-6 Add Service Extension Component
Adds a new service extensions components used to house any extension
points for integration and extension.  In addition this patch adds
initial extension points for XAResource wrapping.
2014-11-25 15:51:03 +00:00
Clebert Suconic 5361e58354 ACTIVEMQ6-44 - Internal error during UDP parsing
https://issues.apache.org/jira/browse/ACTIVEMQ6-44

The DiscoveryGroup should be resilient to failures on the communication.
We shouldn't kill the Loop if an exception happened during the read of the UDP messages.
2014-11-21 11:27:02 -05:00
Clebert Suconic 89a84c6ae2 More name changes to activemq
more hornetq changes
2014-11-19 16:01:54 -05:00
Martyn Taylor e91ef714c7 Replace urn:hornetq with urn:activemq 2014-11-19 15:15:36 +00:00
Martyn Taylor 4a6b980fed Remove references to HornetQ in doc and Comments 2014-11-19 15:15:35 +00:00
Clebert Suconic cd31652ddc ACTIVEMQ6-4 Fixing tests after package and classes renames
https://issues.apache.org/jira/browse/ACTIVEMQ6-4

this will include a few fixes for the tests including
hornetq-version renaming to activemq-version
2014-11-18 23:04:34 -05:00
jbertram 034adfbf9b ACTIVEMQ6-4 Rename HornetQ* classes to ActiveMQ* 2014-11-18 16:53:09 -06:00
jbertram e7a3e7d25b ACTIVEMQ6-9 Clean up docs 2014-11-18 16:53:08 -06:00
Martyn Taylor 176e817805 ACTIVEMQ6-5 Replace 3rd party CatX deps with CatA 2014-11-18 17:33:52 +00:00
Andy Taylor aeaba39219 ACTIVEMQ6-4 - rename all config files
https://issues.apache.org/jira/browse/ACTIVEMQ6-4

rename all the config files to activemq and fix schema names in them
2014-11-18 15:54:53 +00:00
Andy Taylor 574c8fe997 ACTIVEMQ6-4 - refactor schemas
https://issues.apache.org/jira/browse/ACTIVEMQ6-4

Refactor all the schemas to use an activemq namespace and rename schema files
2014-11-18 11:27:10 +00:00
Andy Taylor d0d686b527 ACTIVEMQ6-4 - refactor default configuration
https://issues.apache.org/jira/browse/ACTIVEMQ6-4

Remove the auto generation of the default config and rename to ActiveMQ
2014-11-18 11:27:10 +00:00
Clebert Suconic 1bf2e41f23 ACTIVEMQ6-3 Renaming Exception classes and fixing native compilation
https://issues.apache.org/jira/browse/ACTIVEMQ6-3

The Native Layer has some dependencies on the Exception classes so
I had to rename them now in order to fix the native dependencies
2014-11-17 21:31:19 -05:00
jbertram 36d86ffb00 ACTIVEMQ6-36 Disallow SSLv3 for POODLE 2014-11-17 13:37:51 -06:00
Clebert Suconic 9a587c5633 ACTIVEMQ6-3 renaming package names from activemq6 to activemq
https://issues.apache.org/jira/browse/ACTIVEMQ6-3

We are renaming packages from activemq6 to activemq as that's more generic and version independent
The previous commit renamed the directories. On this commit now I'm changing the code.
If we changed the code and the directories on the same commit git would remove and add a lot of files
without recognizing the renames.
2014-11-17 09:33:53 -05:00
Clebert Suconic 3c44e26854 ACTIVEMQ6-3 renaming directories from activemq6 to activemq
https://issues.apache.org/jira/browse/ACTIVEMQ6-3

We are renaming packages from activemq6 to activemq as that's more generic and version independent
On this first commit I'm just renaming the directories otherwise the history would be lost. The next commit will rename the text on the directories.
If I squash these two commits git will make us delete / add again.
2014-11-17 09:33:36 -05:00
Martyn Taylor 1f869f9f4c Use new package names in config and classes 2014-11-11 18:28:18 +00:00
Andy Taylor 23e8edd979 ACTIVEMQ6-4 - Rename packages to ActiveMQ
https://issues.apache.org/jira/browse/ACTIVEMQ6-4

Repackage the modules, java source and maven poms to apache.activemq6
2014-11-11 18:28:18 +00:00
Martyn Taylor 177e6820b5 ACTIVEMQ6-2 Update to HQ master 2014-11-11 10:48:14 +00:00
Andy Taylor 8ecd255f98 ACTIVEMQ6-1 - Initial HornetQ Donation Commit
https://issues.apache.org/jira/browse/ACTIVEMQ6-1

This is the initial donation of the HornetQ codebase as per document http://incubator.apache.org/ip-clearance/hornetq.html
2014-11-10 10:31:25 -06:00