471 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon)
165cba235a [maven-release-plugin] prepare release activemq-5.15.4 2018-05-17 13:57:43 -04:00
saivr1t
20f6c0a035 AMQ-6959
Avoid creating a Throwable in case of non-trace logging

(cherry picked from commit 2a953481821fcbfefbdd235a2c5b7f7e7ef8a6b7)
2018-05-14 09:03:03 -04:00
Christopher L. Shannon (cshannon)
6e7f622456 AMQ-6901 - Add NPE check inside DestinationMap filter
(cherry picked from commit 703b7b151017fe117363e5598146e157bad78265)
2018-02-16 14:33:27 -05:00
Christopher L. Shannon (cshannon)
3c2d5a3015 AMQ-6901 - Make sure proper policy is used to configure a destination
When multiple wildcard policies exist in a hierarchy it was possible for
the wrong policy to be selected when configuring a destination

(cherry picked from commit 2ce1c1352fb64ecf1d3018e2b0f7cabeba99b589)
2018-02-16 10:42:59 -05:00
Christopher L. Shannon (cshannon)
bb2db5741b [maven-release-plugin] prepare for next development iteration 2018-01-29 08:46:14 -05:00
Christopher L. Shannon (cshannon)
bd4285d3aa [maven-release-plugin] prepare release activemq-5.15.3 2018-01-29 08:42:12 -05:00
Christopher L. Shannon (cshannon)
7f75b4b9a6 AMQ-6884 - Replacing printStackTrace() with logging statement
(cherry picked from commit 4535e8f097c993364026c00ed40777c71a36a6ea)
2018-01-11 07:27:49 -05:00
Sami Nurminen
c9eb5a7251 AMQ-6327 - Remove System.out.println 2017-12-22 18:25:53 -05:00
Sami Nurminen
2f1a6d3b3b AMQ-6327 - getNextScheduledTime() returns incorrect time when working with day of month 2017-12-20 21:32:32 -05:00
Bernd
c64af87ee2 Javadoc typo fix and cleanup
This mostly fixes the url1/url2 copy and paste problem. It uses a bit more readable property syntax and introduces a single sentence (plain text) summary for class Javadoc and adds some links.
2017-12-18 21:19:19 -05:00
Christopher L. Shannon (cshannon)
d2e49be3a8 AMQ-6871 - By default only send generic platform details
The default behavior by the OpenWire client will be to send generic
platform details to the server with a new flag to send more specific
information.

(cherry picked from commit 5fa0bbd5156f29d97dcf48fd9fdb6a0488a8df1a)
2017-12-06 08:42:12 -05:00
Christopher L. Shannon (cshannon)
c4d460bf60 [maven-release-plugin] prepare for next development iteration 2017-10-17 10:16:08 -04:00
Christopher L. Shannon (cshannon)
9e595d8674 [maven-release-plugin] prepare release activemq-5.15.2 2017-10-17 10:09:04 -04:00
gtully
d66e96e8bc [AMQ-6831, AMQ-6771] trigger eofexception on read -1 - AMQ6522Test
(cherry picked from commit e793260573f30365572a1e7507cd98e9ed17b1b5)
2017-10-11 07:49:16 -04:00
Christopher L. Shannon (cshannon)
a218119e6b [maven-release-plugin] prepare for next development iteration 2017-09-28 10:45:21 -04:00
Christopher L. Shannon (cshannon)
d17a8740fc [maven-release-plugin] prepare release activemq-5.15.1 2017-09-28 10:28:20 -04:00
Christopher L. Shannon (cshannon)
1d0121ccd4 Revert "[maven-release-plugin] prepare release activemq-5.15.1"
This reverts commit 756b858fa458757a0a5824c6ffe94e684c5771c9.
2017-09-28 10:05:01 -04:00
Christopher L. Shannon (cshannon)
756b858fa4 [maven-release-plugin] prepare release activemq-5.15.1 2017-09-28 09:59:18 -04:00
Christopher L. Shannon (cshannon)
76474fbc67 Revert "[maven-release-plugin] prepare release activemq-5.15.1"
This reverts commit 37227fbf8bf2308d45dddb169483864007ef5560.
2017-09-27 08:54:44 -04:00
Christopher L. Shannon (cshannon)
ade1a87e09 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit e2eabeb1c2a8234d2763238eae8a2a143e1860a6.
2017-09-27 08:54:36 -04:00
Timothy Bish
eccbd75bcf AMQ-6823 Ensure that MessagePull is works across HTTP transport
The MessagePull command needs to have the transients initialized such
that the pull operation works across transports that use XStream or
other marshaling that doesn't performs custom serialization.
(cherry picked from commit a21dd40527d1576c8fa0029ca2996961af12bb9a)
2017-09-25 13:26:59 -04:00
Christopher L. Shannon (cshannon)
e2eabeb1c2 [maven-release-plugin] prepare for next development iteration 2017-09-25 09:23:32 -04:00
Christopher L. Shannon (cshannon)
37227fbf8b [maven-release-plugin] prepare release activemq-5.15.1 2017-09-25 09:17:38 -04:00
Christopher L. Shannon (cshannon)
3ef457125b AMQ-6820 - Properly handle ClosedChannelException
When a ClosedChannelException occurs inside SelectorSelection properly
call the transport listener onError() method to handle cleanup and
logging.

(cherry picked from commit 6e33507bf2fc2acea9f61e230cf8e2a9cbccc3ce)
2017-09-21 08:15:02 -04:00
Timothy Bish
592b31343e AMQ-6809 Fix issue where stream message getBytes returned wrong value
StreamMessage implementation should return zero when the full value of a
written byte array has been consumed before then returning -1 on the
next read.  Ands fix and additional testing of ActiveMQStreamMessage
(cherry picked from commit 61d3231d3647fc136b12fd88a9165b783e36585b)
2017-09-20 15:50:56 -04:00
Christopher L. Shannon (cshannon)
2015888ad7 AMQ-6811 - moving ActiveMQMessageIsMarshalled test to src/test/java
(cherry picked from commit 6b27708ae15818d025e9f65a1bf8d54a31e01045)
2017-09-15 12:21:52 -04:00
Christopher L. Shannon (cshannon)
01f6aeb012 AMQ-6811 - fix reduceMemoryFootprint when no message body
ReduceMemoryFootprint will now properly detect that a message is
marshalled even if there is no message body so the headers can be
cleared out after message send

(cherry picked from commit f82993d9c2315d7ea6c35d164f7665987cdbe1b8)
2017-09-15 10:12:43 -04:00
gtully
a023c7a3e4 [AMQ-6771] fix off by one on input stream read long check, with test
(cherry picked from commit 3cd5529f505907912476a054758612a2eb22a1e0)
2017-09-07 12:10:44 -04:00
gtully
ba5e814667 [AMQ-6771] do linear sequential scan of journal when validating checksums - remove batch reads via seek/read which depend on write batch size
(cherry picked from commit 8c218ee05d2529e62bb1792b20d22e7086169e6a)
2017-09-07 12:10:20 -04:00
gtully
cb62fd8388 [no jira] make networkConsumerIds visible in toString of consumerinfo to aid tracing consumers in a network via transport trace logging
(cherry picked from commit 499347542c91774f0bd4a4e2a1a3932e286a7934)
2017-09-07 12:08:15 -04:00
Christopher L. Shannon (cshannon)
e7956b527d NO-JIRA: Incrementing version to 5.15.1-SNAPSHOT 2017-06-27 13:52:45 -04:00
Christopher L. Shannon (cshannon)
5f0d6943cb [maven-release-plugin] prepare release activemq-5.15.0 2017-06-27 13:41:01 -04:00
gtully
d2c0eddaad [AMQ-6691] allow dlq flag to be set via jmx to allow retry op after a restart - use destinations element for long term persistence 2017-05-31 12:39:48 +01:00
Timothy Bish
2e2d5ddd3d https://issues.apache.org/jira/browse/AMQ-6669
Respect the wireFormat.maxFrameSize option on WS and WSS transports
allowing binary content larger than 65535
2017-05-04 16:37:53 -04:00
gtully
2bd3379932 [AMQ-6068] make full cleanup of the rar managed connection conditional on a user specified client id being present 2017-05-04 11:08:32 +01:00
Hiram Chirino
172c29091e AMQ-6651: Add new implementations of the writeUTF8 and readUTF8 methods that are based on Apache Harmony code. This also avoid some code duplication that was occurring. 2017-04-10 10:49:17 -04:00
gtully
63b2e5c4ea [AMQ-6494] fix check order of close state for onException handler 2017-04-06 10:23:16 +01:00
gtully
b64ac1dd77 [AMQ-6646] improve error reporting to include url 2017-04-04 17:30:29 +01:00
gtully
679db08db3 [AMQ-6643] ensure a wildcard virtual topic subscriber is restricted to the wildcard destination - avoid duplicate and spurious dispatch. fix and test 2017-04-04 10:16:48 +01:00
Timothy Bish
90b808ab98 AMQ-6603 Stop tracking producer if creation failed
Track the message producer create and ensure it is not recreated on
failover if the creation resulted in an error response.  Add failover
level tests to cover consumer and producer failed create tracking.
2017-02-28 16:17:32 -05:00
gtully
8641928553 [AMQ-6603] ensure failover does not track consumer creation that fails with an exception, fix and test. Thanks for the test Tadayoshi Sato 2017-02-28 17:17:18 +00:00
Christopher L. Shannon (cshannon)
0cf64783d2 AMQ-6602 - fix java 7 incompatibility 2017-02-24 06:36:57 -05:00
Christopher L. Shannon (cshannon)
1f53b124bc AMQ-6602 - Removing lambdas for java 7 compatibility 2017-02-23 10:56:57 -05:00
Christopher L. Shannon (cshannon)
79069598b1 AMQ-6606 - fix typo 2017-02-23 10:21:54 -05:00
Christopher L. Shannon (cshannon)
fe5164a404 AMQ-6602: Fix race condition in TaskRunnerFactory
Fixing a race condition in TaskRunnerFactory where if multiple threads
call createTaskRunner() at the same time some threads might see the
executor as null (if it hasn't finished initializing) leading to the
creation of extra DedicatedTaskRunner objects instead of sharing a
PooledTaskRunner.
2017-02-23 10:20:13 -05:00
Christopher L. Shannon (cshannon)
f6bf823ded AMQ-6599 - Properly apply soTimeout value to TcpTransport
https://issues.apache.org/jira/browse/AMQ-6599

The soTimeout value needs to be applied to the TcpTransport as well as
the socket because the NIO transports use the value later on when
establishing a connection
2017-02-17 08:03:50 -05:00
gtully
85181d630c [AMQ-6548] ensure any pending xa transaction is marked rollback only on delivery failure exception from on message, before delegating to potential clientInternalExceptionListener. Variant of patch applied with additional test - thanks to Andrey Dyachikhin for the patch inspiration 2017-01-17 16:51:27 +00:00
Christopher L. Shannon (cshannon)
2769298cf6 https://issues.apache.org/jira/browse/AMQ-6555
Fixing Scheduler so that a rescheduled task will first cancel the
existing task so it does not get orphaned from the task map.  Also
fixing Topic start so that it will only start once and not twice.
2017-01-10 10:25:15 -05:00
Christopher L. Shannon (cshannon)
27238b2dd7 https://issues.apache.org/jira/browse/AMQ-6535
Fixing the auto+nio+ssl transport so that the protocol detection task
will properly terminate on timeout and not continue to run. Also
lowered the default detection timeout to 15 seconds instead of 30
seconds to match the InactivityMonitor default.
2016-12-12 11:17:19 -05:00
gtully
6a0c65828a Revert "fix up createPublisher contract to throw on null topic param, match the java doc"
the java doc allows null for an anonymous publish - the check needs to go in TopicRequestor part of the jdk

This reverts commit 29ecfd6cdbad76617242ab91be5dd75a14a14425.
2016-12-02 13:57:44 +00:00