9477 Commits

Author SHA1 Message Date
Clebert Suconic
195046c503 NO-JIRA: Adding an extra test on AmqpTransactionTest
The test I'm adding was back ported from Artemis.
It will validate if the ACKs are nacked in case of a connection.close();
To avoid a situation where the TX would sit on a Transaction Resource Manager somewhere like an XID.
2016-09-27 12:16:16 -04:00
gtully
8e6fe414ad https://issues.apache.org/jira/browse/AMQ-6422 - move delivery tracking to pumpoutbound and additional test that shows how the presettle case breaks. Thanks to Robbie Gemmell for the feedback 2016-09-27 12:16:05 -04:00
gtully
ebbb7ab437 https://issues.apache.org/jira/browse/AMQ-6422 - match proton sender view credit to prefetchExtension - tracking credit to dispatch delta to track additional flow requests. Proton sender layer is distinct from the transport layer - they mirror each other 2016-09-27 12:15:50 -04:00
Timothy Bish
0bb76c7fb4 NO-JIRA: Add some more variants of the .NET transaction tests
Adds ability to not settle accepted messages on the client to enable
creation of tests that are equivalent to the AmqpNetLite client's
transaction tests which hold settlement and expect the resource to
handle it on successful discharge.
2016-09-27 12:15:40 -04:00
Timothy Bish
9211661244 NO-JIRA: Small test client fix to close threads out faster. 2016-09-27 12:15:30 -04:00
Timothy Bish
12ee866a6e NO-JIRA: Add some additional tests ported from the .NET AMQP client
Adds some transaction tests ported from AMQP .NET client with some
variances based on the way the test client works and limitations in the
brokers handling of Transacted sends.
2016-09-27 12:15:18 -04:00
Timothy Bish
fa5514985d NO-JIRA AMQP Test updates
Adds support for doing sends and receives that are enrolled in a
transaction created in a session other than the session that created the
sender or receiver.  Adds some tests that show this in action.
2016-09-27 12:15:06 -04:00
Timothy Bish
14c5c5276c https://issues.apache.org/jira/browse/AMQ-6422
Adds a split consumer test that uses presettled receivers.
2016-09-27 12:14:55 -04:00
Timothy Bish
566e82614a https://issues.apache.org/jira/browse/AMQ-6422
Small fix to test and check for zero inflight on successive send to
destination that should have no credit on the registered receiver.
2016-09-27 12:14:43 -04:00
Timothy Bish
ca11674f37 https://issues.apache.org/jira/browse/AMQ-6422
Add test for credit grants but no settles for a single receiver.
2016-09-27 12:14:31 -04:00
Timothy Bish
a5a4262b54 Allow the AMQP test client to also be configure to trace frames
The test client can allow for quick tracing of the frame traffic via a
call to setTraceFrames on the client or connection instance before
connection to the remote.  This allows for tests to easily switch on /
off tracing.  The log4j.properties is also updated to output frame
tracing with the URI option is put on the AMQP transport or the client
value is enabled.  
Conflicts:
	activemq-amqp/src/test/resources/log4j.properties
2016-09-27 12:14:08 -04:00
Timothy Bish
b77b3c428b Add a test case for anonymous sender links using simple test client. 2016-09-27 12:13:04 -04:00
Timothy Bish
cc0e78790f https://issues.apache.org/jira/browse/AMQ-6422
I've made a few minor test changes and added a couple more cases.  Under
heavy CPU load I'm able to get test,
testReceiveMessageAndRefillCreditBeforeAcceptOnQueue to fail on the
second receive call where it should get the second message since it
granted credit.
2016-09-27 12:12:43 -04:00
gtully
94ffb1bf81 AMQ-6422 - include the inflight count in the prefetch for positive remote credit flows. Fix and test 2016-09-27 12:12:33 -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)
c6f56738d7 NO-JIRA: Disabling doclint check so jdk8 can be used to build javadocs
(cherry picked from commit 507bf3ab01f604808274e3618008fd9ff2aa6903)
2016-09-27 08:21:35 -04:00
Christopher L. Shannon (cshannon)
ae97f7dfb7 NO-JIRA: Adding 5.14.1 schema entry
(cherry picked from commit 26e7136ab7891753604f0d50a5bf61b39366e51a)
2016-09-27 08:05:56 -04:00
Krzysztof Sobkowiak
4808b35b5f https://issues.apache.org/jira/browse/AMQ-6442
Config file org.apache.activemq.server-default.cfg points config to ${karaf.base}/etc

(cherry picked from commit 132840b09fbf0a071c51d357d12e13999925df25)
2016-09-27 08:00:01 -04:00
Christopher L. Shannon (cshannon)
b1c09d9a85 https://issues.apache.org/jira/browse/AMQ-6436
The temporary store will now delete the old temp directory on start up
if lazyInit is true instead of waiting for the store to initialize to
clear up space.  This prevents space on the disk from being wasted with
old data if the temp store isn't initialized

(cherry picked from commit a82c95cd29a6b06d2083b1869129b9e2addac7da)
2016-09-23 15:49:38 -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)
e0c70b843f https://issues.apache.org/jira/browse/AMQ-6430
Modifying patch so that only stores that persist the noLocal flag will
check if this flag has changed to prevent a subscription from being
deleted by mistake

(cherry picked from commit 18571ce09b6385d8560200928a353e9da1a1ffe4)
2016-09-23 11:26:22 -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)
d3b86e77dd https://issues.apache.org/jira/browse/AMQ-6430
When a nolocal durable consumer reconnects the new connectionId is properly captured for
the NoLocal expression so that nolocal works on reconnect.  Also fixed
the detection of the nolocal value changing on consumer connect.

(cherry picked from commit 7c293b661f22245ce21bf2b5aa1c5bf4192cb8c5)
2016-09-21 09:35:38 -04:00
Timothy Bish
48036bff05 https://issues.apache.org/jira/browse/AMQ-6427
Move to Qpid JMS 0.11.0
(cherry picked from commit 5de9bdac080cfcaa8777b1ee7e431dab4e03ac85)
2016-09-09 11:18:27 -04:00
gtully
f0d898cc9d AMQ-6403 - add indexDirectory attribute to kahadb plist impl - settable via broker service tempDataStore
(cherry picked from commit 5a874816b74a485822bcb60e1cf7fc550644d62a)
2016-09-08 15:36:44 -04:00
gtully
1d1c9262fd AMQ-6406 - ensure duplicates trapped by the cursor-add or queue-page-in are removed from the message store
(cherry picked from commit 2b1cda196471280c4fc587d8664d6373e18c97ca)
2016-09-08 15:36:15 -04:00
gtully
cf004c205d AMQ-6413 - ensure audit update on skipped store add for kahadb concurrentStoreAndDispatch. Fix and test
(cherry picked from commit f8bc19b96da752e216de2c5c543a7d8523512a03)
2016-09-08 15:35:32 -04:00
Christopher L. Shannon (cshannon)
5956bdc1f5 https://issues.apache.org/jira/browse/AMQ-6423
Fixing durable sync over a network bridge so that network subscriptions
that are no longer permissible are also cleaned up

(cherry picked from commit a038655605e8fa1de279b37989ba69a68f83c601)
2016-09-08 08:29:03 -04:00
Christopher L. Shannon (cshannon)
4dbe61dd56 https://issues.apache.org/jira/browse/AMQ-6418
Fixing mqtt link stealing default setting for auto transport

(cherry picked from commit 88af1c70d96d2df15a127ba02d73f205202fb5cc)
2016-09-07 08:28:36 -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
Timothy Bish
fb24b48b8a https://issues.apache.org/jira/browse/AMQ-6387
Fix up the Memory Store such that it removes the references it adds to
messages when they are placed into the memory durable topic subscription
store.
(cherry picked from commit bb8d32c04aa06735d0036963685a4bc41fcbaad7)
2016-09-01 16:27:56 -04:00
Timothy Bish
f15c0e8e0a https://issues.apache.org/jira/browse/AMQ-6410
Advertise that the connection supported delayed message delivery.
(cherry picked from commit 4a1f2f7ca73fc3cf8d650a4d1b884bc6a0750e59)
2016-08-30 15:02:03 -04:00
Timothy Bish
26f665b822 https://issues.apache.org/jira/browse/AMQ-6409
Update Netty to 4.0.41.Final
(cherry picked from commit a4cd4dc674be0dbe8ed98c4098e98dc449d76d95)
2016-08-30 11:05:11 -04:00
Timothy Bish
8e994366b3 https://issues.apache.org/jira/browse/AMQ-6408
Update to latest proton-j 0.14.0
(cherry picked from commit 1595912bbf3225c8d1a92cf9a0d54746756c6c12)
2016-08-30 11:02:10 -04:00
Christopher L. Shannon (cshannon)
a99edb8175 https://issues.apache.org/jira/browse/AMQ-6067
The JDBCMessageStore now checks hasSpace() when running a message
recovery listener to prevent going past the max configured page size

(cherry picked from commit b9fad53fc650a9026391bef0fd74aea1bea7ec1b)
2016-08-26 13:52:18 -04:00
Timothy Bish
680d082a17 https://issues.apache.org/jira/browse/AMQ-6404
Add check for unmarshalled text body and handle that case.
(cherry picked from commit 1030fb184216d00e3fd43a416931acd3b2fc6794)
2016-08-23 10:07:14 -04:00
Claus Ibsen
853e80063b AMQ-6402: Fixed potential NPE in OriginalDestinationPropagateStrategy 2016-08-20 12:16:31 +02:00
Christopher L. Shannon (cshannon)
124bd1ae3d https://issues.apache.org/jira/browse/AMQ-6397
Setting the HTTP timeout for all HttpClients instead of just on send

(cherry picked from commit 06e929f1016571f9e5a024e42a4fc5298d9f9684)
2016-08-17 09:39:04 -04:00
John D. Ament
5d28e0ceef Renamed README file. Updated link for encryption and location of LICENSE. Update NOTICE year. 2016-08-15 18:29:30 -04:00
Claus Ibsen
85a2d975a3 Fixes CAMEL-10226: camel-jms ignores connection pool settings in spring-boot deployment. 2016-08-10 10:50:35 +02:00
Hiram Chirino
7216322ef9 Fixes CAMEL-10226: camel-jms ignores connection pool settings in spring-boot deployment. 2016-08-10 10:50:30 +02: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 activemq-5.14.0 2016-08-02 09:02:54 -04:00
Christopher L. Shannon (cshannon)
9d39ffd875 https://issues.apache.org/jira/browse/AMQ-6380
Adding missing license header
2016-08-02 08:12:57 -04:00