8904 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon)
6ccbbce23d [maven-release-plugin] prepare release activemq-5.12.2 activemq-5.12.2 2016-01-05 15:44:06 +00:00
gtully
6f8942387e https://issues.apache.org/jira/browse/AMQ-6094 - regression via https://issues.apache.org/jira/browse/AMQ-6014 - incorrect ref count on message expiry event during cursor move for dispatch. Fix and test - thanks for the test
(cherry picked from commit e3df09b9db09d6cf2834b0beb901c253be9b6120)
2016-01-05 15:08:33 +00:00
Christopher L. Shannon (cshannon)
bf35f42bb6 https://issues.apache.org/jira/browse/AMQ-6109
The chooseValue method in DestinationMap will now always return the
exact match, if there is one, else it will then sort as before.

(cherry picked from commit 8e2176d93c95d847c813f54d54aaf9bafba4d5c4)
2015-12-29 12:48:08 +00:00
Christopher L. Shannon (cshannon)
7eb1425733 https://issues.apache.org/jira/browse/AMQ-6097
Fixing JournalCorruptionEofIndexRecoveryTest class

Because of the size being stored in the message order index, the test
testRecoveryAftercorruptionCheckSumExistingIndex was no longer passing
as that test was corrupting the size value in the journal, but not the
size value in the index.  The test now corrupts both values so that the
expect exception occurs again.

(cherry picked from commit 507d40a79f15449ba6d79ef85d7fdf6bf50a3a65)
2015-12-22 13:26:14 +00:00
Christopher L. Shannon (cshannon)
0411916793 https://issues.apache.org/jira/browse/AMQ-6097
remove un-needed import statements

(cherry picked from commit 370b1810995c48129521d1c86d7b0a31d1d966d9)
2015-12-22 13:26:14 +00:00
Christopher L. Shannon (cshannon)
28f711e50e https://issues.apache.org/jira/browse/AMQ-6097
Fixing KahaDB so that the correct marshaller is used for the message
keys inside of the message order index.  This will ensure that message
size metrics are accurate.

(cherry picked from commit 246ccb8e04515c6e85544b32035537f60d92b5b9)
2015-12-22 13:26:14 +00:00
Timothy Bish
819e2371d6 https://issues.apache.org/jira/browse/AMQ-6102
Call to the statistics instance of the subscription to reset the
counters.
(cherry picked from commit 564d55023ec7386c31277db054ecc63d966e2b29)

Conflicts:
	activemq-unit-tests/src/test/java/org/apache/activemq/broker/jmx/MBeanTest.java
2015-12-21 17:23:29 -05:00
Timothy Bish
a7d7f4c74a https://issues.apache.org/jira/browse/AMQ-6101
Update to v0.7.0 of Qpid JMS client libraries.
(cherry picked from commit ddd2812279e2e3f9750317e0a5a35f4187af9e20)

Conflicts:
	pom.xml
2015-12-21 13:03:42 -05:00
Timothy Bish
7dfb2aef41 https://issues.apache.org/jira/browse/AMQ-6096
Update proton to latest.
(cherry picked from commit 9ee92a1e16408c2174bfe29fe1ba1308821367da)
2015-12-18 17:50:50 -05:00
Robert Gemmell
df5c7cd661 AMQ-6045: update to proton-j 0.11.0
(cherry picked from commit 11ac3d9d85a32b5f58e9fdbdb11e9354dc9c689e)
2015-12-18 17:50:32 -05:00
Robert Gemmell
61890098dd AMQ-5891: update to the proton 0.10 release
(cherry picked from commit 049f8da23605e13f60a8a53a519661cfb226edc1)

Conflicts:
	pom.xml
2015-12-18 17:50:02 -05:00
Christopher L. Shannon (cshannon)
ec50d23caa Revert "[maven-release-plugin] prepare release activemq-5.12.2"
This reverts commit f4a05c45730bbf2b2c531e5d263447e53b7c7ddc.
2015-12-18 17:43:08 +00:00
Christopher L. Shannon (cshannon)
340d095588 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 33d8bde31ac1a7d75335435eef9f1b293b9a66ed.
2015-12-18 17:43:04 +00:00
Christopher L. Shannon (cshannon)
33d8bde31a [maven-release-plugin] prepare for next development iteration 2015-12-16 15:02:41 +00:00
Christopher L. Shannon (cshannon)
f4a05c4573 [maven-release-plugin] prepare release activemq-5.12.2 2015-12-16 15:00:53 +00:00
Christopher L. Shannon (cshannon)
2ae189e700 https://issues.apache.org/jira/browse/AMQ-6077
Making new values in ActiveMQObjectMessage transient which fixes HTTP
serialization

(cherry picked from commit b9dcb010f74675f6369f7e74b931b670e0ecab51)
2015-12-16 14:41:45 +00:00
gtully
c3339bc0fb https://issues.apache.org/jira/browse/AMQ-6016 - ensure xstream inits transients to default values when it bypasses the default creation method through object deserialization. Can make it more general if there are ever more instances of this. It avoids the need to check for null and sync
(cherry picked from commit 8136e67b408a3d756241ebdf8de9347eb6135363)
2015-12-16 14:41:37 +00:00
gtully
b84785d5d0 https://issues.apache.org/jira/browse/AMQ-6016 - rework fix for https://issues.apache.org/jira/browse/AMQ-2106 - account group assignment on a per destination basis to prevent modification during consumer ordering
(cherry picked from commit 5d697cff3b0f98a2d4d4f7176508bbbc77305d5d)
2015-12-16 14:41:14 +00:00
Christopher L. Shannon (cshannon)
4ceda81e07 Revert "[maven-release-plugin] prepare release activemq-5.12.2"
This reverts commit 9d789cd28edb33e16ededbdec88d8bc1b72ef7f0.
2015-12-15 18:16:44 +00:00
Christopher L. Shannon (cshannon)
ab43a15c99 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 21aa3ff35bd0ce7138acc8047aaa07c908819591.
2015-12-15 18:16:05 +00:00
Christopher L. Shannon (cshannon)
21aa3ff35b [maven-release-plugin] prepare for next development iteration 2015-12-15 16:19:29 +00:00
Christopher L. Shannon (cshannon)
9d789cd28e [maven-release-plugin] prepare release activemq-5.12.2 2015-12-15 16:18:53 +00:00
Christopher L. Shannon (cshannon)
b0858b213b Adding activemq-5.12.2 to spring.schemas
(cherry picked from commit 09cbfa947772ad859fab49c37a08d1eb8d7ecdaa)
2015-12-15 15:15:21 +00:00
Dejan Bosanac
9a0298f3e9 https://issues.apache.org/jira/browse/AMQ-6077 - define default values (based on system property) for connection factory and object message
(cherry picked from commit eeec0c07b06e6121ed33e20f7c663214538d0da1)
2015-12-15 12:52:30 +00:00
Dejan Bosanac
5a8cd29195 https://issues.apache.org/jira/browse/AMQ-6077 - test
(cherry picked from commit 7951037f20e8d6752ab0bbd90189a8276bc61a55)
(cherry picked from commit f3aedc753c877cd947c6eb968f1ca8d8d1809f8a)
2015-12-14 19:13:56 +00:00
Dejan Bosanac
7a262b74db https://issues.apache.org/jira/browse/AMQ-6077 - define object message trusted packages on connection factory
(cherry picked from commit 94446e53dc348b9109dff46e92484ed9e6cc1d72)
(cherry picked from commit 5e02e305ea39314589329643c164be62d5b35592)
2015-12-14 19:13:49 +00:00
Timothy Bish
0ac1e23d00 https://issues.apache.org/jira/browse/AMQ-6074
Make the transportConnector configs consistent across all four variants
by removing the enableCipherSuites option on openwire NIO+SSL.  RC4 was
enabled on the broker side but in later JDK releases that suite is
disbaled as it is insecure so the client side couldn't find a supported
suite.
(cherry picked from commit 315147c5ef3d545a868c74fe55d8ea7efb09f1d1)
2015-12-07 12:29:03 -05:00
Torsten Mielke
8daf6f503e https://issues.apache.org/jira/browse/AMQ-6071 - Log info about corrupted journal records at WARN level
(cherry picked from commit 66c348b1b85e341ed508b9c10028c037a226dfb6)
2015-12-04 15:24:24 -05:00
Daniel Kulp
82e12f0e5f Fix compile failure after back ports/cherry-picks 2015-12-03 19:38:28 +01:00
Dejan Bosanac
7eb9b218b2 https://issues.apache.org/jira/browse/AMQ-6013 - init serializable packages statically 2015-12-03 19:22:45 +01:00
Dejan Bosanac
e7a4b53f79 https://issues.apache.org/jira/browse/AMQ-6013 - restrict classes which can be serialized inside the broker 2015-12-03 19:22:30 +01:00
gtully
d5f6b0297e https://issues.apache.org/jira/browse/AMQ-6070 - set correct originalDestination property value in advisories
(cherry picked from commit 75ff17af414b98dbdd891f66b9425692ca799fcc)
2015-12-03 09:00:39 -05:00
Christopher L. Shannon (cshannon)
58359a85d8 https://issues.apache.org/jira/browse/AMQ-6062
Updated QueueBrowserSubscription to use a ConcurrentMap to avoid a
potential race condition when multiple queue browsers browse
multiple queues.

(cherry picked from commit d346a765e3064a951c5d55119b80b8432a45bcb6)
2015-12-02 15:55:37 +00:00
Christopher L. Shannon (cshannon)
bbb002afda https://issues.apache.org/jira/browse/AMQ-6069
Fixed contains method in PrioritizedPendinList which was not returning
correctly.  This was causing messages to not be removed from the
dispatchPendingList when purge was called inside a Queue leading to an
eventual OOM error if enough messages were purged. This fix also
improves performance of the contains method.

(cherry picked from commit 8363c99b51a98eb176e6baea82fcafce3225ba2c)
2015-12-02 13:43:03 +00:00
Christopher L. Shannon
9617700725 https://issues.apache.org/jira/browse/AMQ-6066
Improving performance of OrderedPendingList contains method

Thanks for David Sitsky for the patch

(cherry picked from commit 673c2928a1b567958c2d9eabe2995a039f2aa1e2)
2015-11-30 19:20:35 +00:00
Christopher L. Shannon (cshannon)
a38c3d4b6b https://issues.apache.org/jira/browse/AMQ-5898
Removing assertion in VirtualDestinationInterceptor to allow
multiple composite destinations to forward to a physical destination

(cherry picked from commit 35b7ac250b5fa0b8c8dbf728881cc9dbf6edce19)
2015-11-25 13:46:52 +00:00
Timothy Bish
451344486b https://issues.apache.org/jira/browse/AMQ-6055
Account for Authzid in SASL PLAIN mechanism and provide a means to fail
the authorization if the challenge response is invalid.  Update the
client to properly exclude sasl mechanism that don't apply to it's
configured credentials such as using only ANONYMOUS when no user or
password is set.
(cherry picked from commit b5dd0a16f4197cfab086b3139892a73b27c8ac74)
2015-11-20 14:40:34 -05:00
Robert Gemmell
c8994b1d2e AMQ-6055: fix for earlier change to plain response encoding
(cherry picked from commit d7e4c6d96f0e5b26d4b392e6b36595ee644fb9a2)
2015-11-20 14:40:21 -05:00
Robert Gemmell
e5c46df48c AMQ-6055: uptest test client and add [currently-ignored] test to demonstrate the issue
(cherry picked from commit ce5628a389b5491975fda0493ab9073cca6cb87e)
2015-11-20 14:40:07 -05:00
Romain Manni-Bucau
d9a79d172b release the connection even if broker communication fails
(cherry picked from commit 934f3cea7effdff3b43ddabc9d0f03535fa44e5f)
2015-11-20 13:37:03 +00:00
Claus Ibsen
81ef5efdc7 Use the new 3.2.2 relese of commons-collections to fix its security issues. 2015-11-19 12:25:46 +01:00
gtully
14f6abc552 https://issues.apache.org/jira/browse/AMQ-6014 - test needs more time in ci. need to figure why it is sooo slow
(cherry picked from commit 92d5efc32ca79b23225a2fa5225fe07083a0c3e5)
2015-11-13 18:41:33 +00:00
gtully
e54c9ccfa0 https://issues.apache.org/jira/browse/AMQ-6014 - fix up reference counting for durable subs such that ack on one sub does not decrement usage for offline subs. Fix and test
(cherry picked from commit 1ad0117932ae73603b963860c92c0980a3572b9e)
2015-11-13 18:41:21 +00:00
Timothy Bish
3faf87ba8a https://issues.apache.org/jira/browse/AMQ-6037
Add support for amqp style variants of the ActiveMQ job scheduler
options set in message annotations.
(cherry picked from commit 5d353e241b0ba76ad1a0b42ef5c7a2ae54106860)
2015-11-13 11:48:12 -05:00
Timothy Bish
e0e737743c https://issues.apache.org/jira/browse/AMQ-6037
Add support for the delivery time header to allow for scheduled messages
at a desired time.
(cherry picked from commit 480b3e7c36b157d12dfdc1318f5517c4050df312)
2015-11-13 11:46:39 -05:00
Timothy Bish
eccbd87156 AMQ-6030 Add support for composite destinations to STOMP.
(cherry picked from commit c360c3e4a38b51f72b109a095a648433754acc2d)
2015-11-13 11:36:58 -05:00
Timothy Bish
6643458539 NO-JIRA Allow validation points to use asserts, adds a new test in idle
test.
(cherry picked from commit 7c06d8d683290e9ebda0312993236b0895b68172)
2015-11-13 11:36:20 -05:00
Timothy Bish
7875e978cd https://issues.apache.org/jira/browse/AMQ-6000
Fix and test, wakeup queue dispatch when resume is called.
(cherry picked from commit 078a101cf735ae23ebf96b3bbe3f53003dccc0c7)
2015-11-13 11:34:25 -05:00
Timothy Bish
77cd22ce62 Update Camel to 2.15.4 release 2015-10-30 15:39:53 -04:00
Timothy Bish
42065035b6 AMQ-6032 Repack message prior to scheduler dispatch to store updated
properties in marshaled form.
(cherry picked from commit 014d5594d605515e84f935eea3fcd1a201648653)
2015-10-30 14:48:06 -04:00