Commit Graph

9543 Commits

Author SHA1 Message Date
Clebert Suconic 0d65983aab This closes #106 on back porting test 2015-02-20 17:40:21 -05: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
Clebert Suconic 31a2036ded This closes #105 - doclink updates on javadoc 2015-02-19 14:51:47 -05:00
Clebert Suconic 7ef18161a8 This closes #104 - acceptors and connectors configuration 2015-02-19 14:49:11 -05:00
Martyn Taylor dbb941e63e Updates to javadoc to comply with doclint 2015-02-19 14:09:00 +00:00
Martyn Taylor 3f8ae37150 Only set xlintdoc option on JDK8 2015-02-19 14:09:00 +00: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
Clebert Suconic e385ab0a58 This closes #103 - removing servlet API 2015-02-18 10:31:07 -05:00
Martyn Taylor 476b23d786 Remove servlet api dep from rest module
This is not required.  Builds fine and tests pass without this dep.
2015-02-18 13:26:08 +00:00
Clebert Suconic a64e9387c7 This closes #102 on release updates 2015-02-17 12:16:54 -05:00
Martyn Taylor afcdfa7a57 Do not skip distribution in on mvn deploy
Doing so results in the distribution not being uploaded as part of a
snapshot release.
2015-02-16 15:04:51 +00:00
Martyn Taylor f16f7ee0c9 Use project.version for all project deps
Assigning the project.version to another variable within the pom and
using that new variable to determine module dependencies was causing
issues with the apache:release plugin.  There is no need to reassign
this to this new variable so removing it altogether.
2015-02-16 15:04:51 +00:00
Martyn Taylor 33a6951862 Disable doclint error checking
Introduction of DocLint in Java 8 results in strict error checking in
JavaDocs.  What were previously on warnings on JavaDoc generation now
results in errors.  This is causing issues when using the apache release
plugin.  Disabling doclint error checking for the time being.
2015-02-16 15:04:51 +00:00
Clebert Suconic 11373d0c5c this closes #101 on an update on the README for using Intelij IDE 2015-02-13 10:17:14 -05:00
Clebert Suconic 2650763670 This closes #100 on geronimo jar for jms2 2015-02-13 10:16:52 -05:00
Martyn Taylor 03a03b8f1e Added instructions to import ActiveMQ6 into IDEA 2015-02-13 11:45:44 +00:00
Martyn Taylor 4fb22594fb Upgrade Geronimo JMS spec jar to alpha-1 2015-02-13 10:38:14 +00:00
Clebert Suconic ed661c4ee4 This closes #99 on removing jboss.org repos 2015-02-12 15:47:29 -05: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
Clebert Suconic e2983e5384 This closes #96 on a Setting client version 2015-02-12 15:28:15 -05:00
Clebert Suconic cf6e19ead1 This closes #98 on apache parent pom 2015-02-12 15:16:06 -05:00
Clebert Suconic 5f65c07d31 This closes #92 on auto-create queue for AMQP 2015-02-12 15:11:06 -05: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 b8db8b0514 merging #95 - performance improvements 2015-02-12 15:12:35 +00:00
Martyn Taylor 5f428f6535 Add apache parent to main pom.xml 2015-02-12 14:46:51 +00:00
Martyn Taylor 9210383126 Set client (!server) version on recreate session 2015-02-12 12:46:17 +00: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 bace921389 back-porting fix on exception message from hornetq code
This is such a small change that qualifies as a tweak, so I'm not bothering on creating a JIRA for this
2015-02-11 21:04:21 -05: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 1d5a7a10d3 This closes #94 on jms2 jar changes 2015-02-11 12:41:28 -05:00
Clebert Suconic 05ef25798c This closes #91 - renaming class for compatibility with older clients 2015-02-11 12:40:37 -05:00
Martyn Taylor 6b887c5dd0 Remove Geronimo version prop from JMS example pom 2015-02-11 14:06:59 +00: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
Martyn Taylor 08e7c89301 Rename Connector class on NodeUp for HQ clients
To support HornetQ clients we must pass back HornetQ connector factory
names. Currently the connector factory name returned as part of node up
broadcast group (after initial client connection and client sends suscribe
topology packet) is what ever the server is configured to use in its
cluster discovery.  Since the server has now been repackaged to
org.apache.activemq, the older HornetQ clients can not find the
connector factory class on it's class path.  To get around this problem
the server now checks the version of the client and if the client is
HornetQ the server renames the to org.hornetq and returns before sending
to the client.
2015-02-10 16:09:44 +00:00
Clebert Suconic 33addb4086 This closes #90 - Auto-create queue on stomp 2015-02-09 11:49:26 -05: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
Clebert Suconic 23e1730dce This closes #89 - test change 2015-02-02 20:02:21 -05: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
Clebert Suconic 58cc025653 This closes #85 - work on jaas 2015-02-02 14:18:30 -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
Clebert Suconic 9900d5331b This closes #87 - a few test fixes 2015-02-02 10:31:21 -05: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
Clebert Suconic 7cdd77c781 This closes #86 on fixing tests 2015-01-29 11:52:55 -05:00