439 Commits

Author SHA1 Message Date
Sami Nurminen
7b7b685f8d AMQ-6327 - Remove System.out.println 2017-12-22 18:32:04 -05:00
Sami Nurminen
f4e7cd1b1d AMQ-6327 - getNextScheduledTime() returns incorrect time when working with day of month 2017-12-20 21:37:35 -05:00
Christopher L. Shannon (cshannon)
8ff18c5e25 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:46 -05:00
Timothy Bish
bc879d762a https://issues.apache.org/jira/browse/AMQ-6669
Respect the wireFormat.maxFrameSize option on WS and WSS transports
allowing binary content larger than 65535
(cherry picked from commit 2e2d5ddd3de7d0fe36ce5eb3d4fe81e97fe990a4)
2017-05-04 16:39:49 -04:00
Dejan Bosanac
b345535b7e [maven-release-plugin] prepare for next development iteration 2017-04-11 17:32:46 +02:00
Dejan Bosanac
19adb5d840 [maven-release-plugin] prepare release activemq-5.14.5 2017-04-11 17:32:24 +02:00
Hiram Chirino
32a4d74496 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.
(cherry picked from commit 45a1217228bc6fa9ccda49853156a5f71fe2c956)
2017-04-11 16:12:09 +02:00
Dejan Bosanac
b8fc78ec6c https://issues.apache.org/jira/browse/AMQ-6470 - Remove unused ControlCommand handling in client
(cherry picked from commit 338a74dfa42a7b19d39adecacfa5f626a050e807)
2017-03-06 14:54:55 +01:00
Timothy Bish
4c5a70421c 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.
(cherry picked from commit 90b808ab98b760f06885a5f45628353c9d2224f2)
2017-02-28 16:20:19 -05:00
gtully
5a52bf2a51 [AMQ-6603] ensure failover does not track consumer creation that fails with an exception, fix and test. Thanks for the test Tadayoshi Sato
(cherry picked from commit 8641928553e0f1d97416fd010c2f7d6f165b3660)
2017-02-28 16:20:08 -05:00
Christopher L. Shannon (cshannon)
6d848c440c [maven-release-plugin] prepare for next development iteration 2017-02-27 08:46:14 -05:00
Christopher L. Shannon (cshannon)
308eab0bb6 [maven-release-plugin] prepare release activemq-5.14.4 2017-02-27 08:45:01 -05:00
Christopher L. Shannon (cshannon)
e575157093 AMQ-6602 - fix java 7 incompatibility
(cherry picked from commit 0cf64783d2cbae684f6d2d3e6c46801070f7fd77)
2017-02-24 06:37:55 -05:00
Christopher L. Shannon (cshannon)
789f82b34b AMQ-6602 - Removing lambdas for java 7 compatibility
(cherry picked from commit 1f53b124bcdc41e6241c811f6854c42855deaf6a)
2017-02-23 10:57:32 -05:00
Christopher L. Shannon (cshannon)
7ca411feee AMQ-6606 - fix typo
(cherry picked from commit 79069598b1435cadaef504d8d3de31777b869c59)
2017-02-23 10:22:26 -05:00
Christopher L. Shannon (cshannon)
b6a8c188ff 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.

(cherry picked from commit fe5164a404ebcb0879c1b769e16c00f475320419)
2017-02-23 10:20:59 -05:00
Christopher L. Shannon (cshannon)
7c84aca59f AMQ-6599 - Properly apply soTimeout value to TcpTransport
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

(cherry picked from commit f6bf823dedba54dea40b597f1762ac6d7308ffa6)
2017-02-17 08:05:27 -05:00
Christopher L. Shannon (cshannon)
e4da98bd79 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.

(cherry picked from commit 2769298cf64a10cd74320ad132b3677bac20a6cc)
2017-01-10 10:27:44 -05:00
Christopher L. Shannon (cshannon)
b36262ebba [maven-release-plugin] prepare for next development iteration 2016-12-19 10:33:54 -05:00
Christopher L. Shannon (cshannon)
58dddb9181 [maven-release-plugin] prepare release activemq-5.14.3 2016-12-19 10:32:45 -05:00
Christopher L. Shannon (cshannon)
ae30662fbd 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.

(cherry picked from commit 27238b2dd790cea38d95da46b23ed141f5847782)
2016-12-12 11:26:26 -05:00
Christopher L. Shannon (cshannon)
8d1136e699 [maven-release-plugin] prepare for next development iteration 2016-12-05 09:35:12 -05:00
Christopher L. Shannon (cshannon)
2462711684 [maven-release-plugin] prepare release activemq-5.14.2 2016-12-05 09:33:48 -05:00
Christopher L. Shannon (cshannon)
f9e624a487 https://issues.apache.org/jira/browse/AMQ-6489
Adding a new ActiveMQXASslContextFactory and jndi support for it
in ActiveMQSslInitialContextFactory

(cherry picked from commit 016ae05d0e2697fe53db276d8e6f098d2e9f6f05)
2016-11-04 08:31:53 -04:00
Timothy Bish
ba1eab20d2 https://issues.apache.org/jira/browse/AMQ-6495
State variables shared across threads in the transport need to be marked
volatile.
(cherry picked from commit 629ee285685b5f63315c8fcd6138a37bd17b958d)
2016-11-02 12:58:40 -04:00
Timothy Bish
3642ab1c10 https://issues.apache.org/jira/browse/AMQ-6474
ASYNC_TASKS executor not being shut down on stop with no other users in
service.
(cherry picked from commit d1f42bd01e90abe3fb171834efd46a3594ba2600)
2016-11-02 12:44:58 -04:00
Michael L. Bloom
ed4ffaba54 https://issues.apache.org/jira/browse/AMQ-6489
Add support for SSL configurations using JNDI.

(cherry picked from commit 11541e8608807d900f0fd66ef48bbc7c5590ee4c)
2016-10-31 12:48:13 -04:00
Christopher L. Shannon (cshannon)
4cbe692bcc https://issues.apache.org/jira/browse/AMQ-6477
simplifying isMarshalled method

(cherry picked from commit 0a80165a99bff33bfaeeb8fe1dc7b5a8e6f50830)
2016-10-27 15:54:09 -04:00
Christopher L. Shannon (cshannon)
e0116d0458 https://issues.apache.org/jira/browse/AMQ-6477
ReduceMemoryFootprint now applies to non-persistent messages if they
have been marshalled and topics now clear memory after the recovery
policy check

(cherry picked from commit 7c3bb401007b4047c540287b53b435b20d3161c0)
2016-10-25 10:20:33 -04:00
Christopher L. Shannon (cshannon)
991e97ad94 https://issues.apache.org/jira/browse/AMQ-6449
Disabling doclint now only activates for JDK 8

(cherry picked from commit 72650a0b8b00f281ce6b2e300da2cb4015d25e81)
2016-10-03 07:38:37 -04:00
Christopher L. Shannon (cshannon)
241d9d1565 NO-JIRA: More Java 8 JavaDoc fixes - also fixed findbugs for Java 8
(cherry picked from commit 02082b1aec97140dd62a418d68f2cc029082444e)
2016-09-30 14:37:29 -04:00
Christopher L. Shannon (cshannon)
9ab56d59cc [maven-release-plugin] prepare for next development iteration 2016-09-27 13:06:49 -04:00
Christopher L. Shannon (cshannon)
594c79e531 [maven-release-plugin] prepare release activemq-5.14.1 2016-09-27 13:06:12 -04:00
Christopher L. Shannon (cshannon)
02d53a0d9f Revert "[maven-release-plugin] prepare release activemq-5.14.1"
This reverts commit 422b231c25bbf1af4695939468e80b9a2dbaa98b.
2016-09-27 11:57:35 -04:00
Christopher L. Shannon (cshannon)
354142adf1 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 47a652ef2a9bb876b324da65285a7de4fab25317.
2016-09-27 11:57:25 -04:00
Christopher L. Shannon (cshannon)
47a652ef2a [maven-release-plugin] prepare for next development iteration 2016-09-27 08:58:13 -04:00
Christopher L. Shannon (cshannon)
422b231c25 [maven-release-plugin] prepare release activemq-5.14.1 2016-09-27 08:57:19 -04:00
Christopher L. Shannon (cshannon)
bf7a19eead https://issues.apache.org/jira/browse/AMQ-6431
Fixing BitArrayBin to not overflow in certain cases with numbers larger
than Int max

(cherry picked from commit 09456480b838efd97297679840d33f7949449e21)
2016-09-23 14:31:23 -04:00
Christopher L. Shannon (cshannon)
8bde32a07c https://issues.apache.org/jira/browse/AMQ-6433
Generating a new equals method in TypeConversionSupport so the proper
null checks exist

(cherry picked from commit 2b99ffcc22e8c982883ae553bd91d03acc68aaa2)
2016-09-23 08:04:36 -04:00
Christopher L. Shannon (cshannon)
a80f7ccbe1 https://issues.apache.org/jira/browse/AMQ-6434
Rewriting logic in finally block of PooledTaskRunner to avoid using a
return statement

(cherry picked from commit f25e7ab47f1bed223e30fc85afbe43ba1f4c93e6)
2016-09-23 08:04:30 -04:00
Christopher L. Shannon (cshannon)
c4bc626fea https://issues.apache.org/jira/browse/AMQ-6420
Properly copying wire format options map before applying to the
transport when using auto transports so that the options do not get
cleared and will be used for all future connections

(cherry picked from commit 9ab94883a8ba88aeeb0a16e2310ab42a46de1d05)
2016-09-07 07:44:07 -04:00
Christopher L. Shannon (cshannon)
c99eb1d600 https://issues.apache.org/jira/browse/AMQ-6418
Properly setting the transport properties on the
AutoNIOSSLTransportServer and fixing the Stomp protocol to set the peer
certs when using auto+ssl

(cherry picked from commit 98c5866c7534c1f26d2e41edbdb372fe21387fe4)
2016-09-06 10:19:20 -04:00
Christopher L. Shannon (cshannon)
679f0cfd31 https://issues.apache.org/jira/browse/AMQ-6414
Changing the nio+ssl transports to trigger a serviceRead after start up
to prevent blocking. The prevents the channels from not reading in
certain cases, most notably with the auto+nio+ssl transport when used
for a network bridge.  Also added a couple tests and changed a network
bridge test to test out auto+nio+ssl.

(cherry picked from commit ed0e786b6002633411037923fb28a075489e442b)
2016-09-06 10:19:20 -04:00
Christopher L. Shannon (cshannon)
a35371d880 NO-JIRA : creating 5.14.x branch 2016-08-02 09:30:31 -04:00
Christopher L. Shannon (cshannon)
71cbc65283 [maven-release-plugin] prepare release activemq-5.14.0 2016-08-02 09:02:54 -04:00
Christopher L. Shannon (cshannon)
eb9c584fbd https://issues.apache.org/jira/browse/AMQ-6373
More tests and cleanup
2016-08-01 12:27:34 -04:00
Christopher L. Shannon (cshannon)
e73ab34837 https://issues.apache.org/jira/browse/AMQ-6383
https://issues.apache.org/jira/browse/AMQ-6373

Adding a new flag that can be specified on a network bridge to allow
forcing of subscriptions to be durable.  Cleaned up some unit tests.
2016-08-01 10:02:56 -04:00
Christopher L. Shannon (cshannon)
7118247b65 https://issues.apache.org/jira/browse/AMQ-6379
Fixing unit test so that it uses a random port and changing the default
platform details to be "java" if there is an error
2016-07-28 13:10:44 -04:00
Michael L. Bloom
8d5e84bb67 AMQ-6379 - Add openwire properties for provider name, provider version,
and platform details
2016-07-28 12:25:13 -04:00
Christopher L. Shannon (cshannon)
3953b9aaef https://issues.apache.org/jira/browse/AMQ-6373
Adding a new OpenWire command called BrokerSubscriptionInfo in order to
help synchronize durable subs across a network bridge.  Added OpenWire
version 12.  For dynamicallyIncludedDestination durable subs will now be
synchronized on a bridge reconnect as long as the bridge supports
conduitSubscriptions and dynamicOnly=false
2016-07-25 11:56:13 -04:00