5181 Commits

Author SHA1 Message Date
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
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
Martyn Taylor
3d784f41cc Merge branch #51 Use Geronimo JMS 2.0 spec jar 2015-01-05 13:39:16 +00:00
Howard Gao
28fc98ffd0 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 20:45:36 +08:00
John D. Ament
96dc7e40ea ACTIVEMQ6-40 Update to the geronimo jms 2 spec JAR. 2015-01-02 12:51:37 -05:00
Andy Taylor
df873e6909 merge #49 - couple of fixes 2015-01-02 08:24:04 +00:00
jbertram
1a5ea5a029 ACTIVEMQ6-63 add example links to site 2014-12-31 11:07:19 -06:00
jbertram
edd5adda7d ACTIVEMQ6-11 Fix the distribution build 2014-12-31 11:07:19 -06:00
jbertram
f0d1881667 ACTIVEMQ6-62 Remove unneeded dependency on jackson 2014-12-31 11:07:18 -06:00
jbertram
16d74b2bec Merge #50 ttl fix from Howard 2014-12-31 11:05:07 -06:00
jbertram
1b791ef9e6 Merge #48 more JNDI removal 2014-12-31 09:43:24 -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
2e14352055 Merge branch #47 2014-12-17 10:57:44 +00:00
Howard Gao
7ffa23799b ACTIVEMQ6-61 SelectorParser package conflict with openwire tests
The SelectorParser class in amq6 source code conflicts
with the same class in activemq 5 client jar. The activemq 5
client jar is needed to run openwire tests where the activemq5
client interacts with amq6 broker. In tests they are usually
in the same VM, so depending on the classpath order, whichever
class is loaded it will be used by both client and broker.
Unfortunately the method parse() in the class has different
return types in the client jar and broker side jar.
That will cause NoSuchMethod exception.

The fix moves the broker side class into a different package, i.e.
from
org.apache.activemq.selector.SelectorParser
to
org.apache.activemq.selector.impl.SelectorParser
2014-12-17 10:02:33 +08:00
Clebert Suconic
f282c29661 Merging #45 on doc changes (review fixes from Andy) 2014-12-16 12:19:29 -05:00
Clebert Suconic
b1d6c0b449 Merging #46 on TM Fixes 2014-12-16 12:18:10 -05:00
Martyn Taylor
fe1ae2b698 Set TM as loaded only after a TM is located.
Previously the ServiceUtils component responsible for loading the
transaction manager would attempt to load a TM only once.  If it was not
found it would not try again.  This patch updates the ServiceUtils to
iterate over any TransactionManagerLocator implementations on the class
path and check each one util a TM is located.
2014-12-16 17:03:05 +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
39c61014ac Add TM Locator impl to JMSBridge tests 2014-12-16 16:33:58 +00:00
Andy Taylor
c7b6b66f96 documentation review fixes 2014-12-16 10:27:08 +00:00
Clebert Suconic
64cc435ea7 Merging #44 on fixing tests 2014-12-12 11:38:23 -05:00
Martyn Taylor
891e3ef1cb Add TM Locator impl to JMSBridge tests 2014-12-12 16:35:13 +00:00
Clebert Suconic
4045e89748 Merge #43 on doc changes 2014-12-12 11:32:30 -05:00
Andy Taylor
b4144013d9 documentation review fixes 2014-12-12 14:46:30 +00:00
jbertram
1491f4a123 Merge #42 - paging fix from Clebert 2014-12-11 12:27:39 -06: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
jbertram
0eb6ebda22 Merge #41 2014-12-10 10:10:08 -06:00
jbertram
a102983d7a ACTIVEMQ6-51 Example server bootstrapping 2014-12-10 09:49:13 -06:00
jbertram
4f925c5a44 ACTIVEMQ6-14 NPE during init 2014-12-10 09:49:12 -06:00
jbertram
77bdb9d502 ACTIVEMQ6-14 Remove naming from bootstrap 2014-12-10 09:49:12 -06:00
jbertram
76d0cee5f5 ACTIVEMQ6-41 Drop Java EE examples 2014-12-10 09:49:12 -06: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
Clebert Suconic
60576a7c51 Merging #39 on Transaction Manager dependencies 2014-12-10 10:00:03 -05:00
Martyn Taylor
2982f37512 ActiveMQ6-6 Remove last of JBoss Transactions SPI 2014-12-10 14:00:34 +00:00
Andy Taylor
2d69d9dc7c merge #32 - wildfly recovery 2014-12-10 12:50:26 +00:00
Andy Taylor
09a6fee020 merge #27 - revert any new protocol headers to keep backward compatibility 2014-12-10 12:01:50 +00:00
gaohoward
ff42c217f5 ACTIVEMQ6-50 revert any new protocol headers to keep backward compatibility
- revert the FORCED_DELIVERY_MESSAGE
   back to "_hornetq"
 - revert handshake header back to 'HORNETQ'
2014-12-10 11:15:53 +08:00
Clebert Suconic
d5359535e7 Merge #38 on HTML site generation from MD 2014-12-09 11:56:47 -05: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