qpid-jms.git
3 years ago[maven-release-plugin] prepare release 0.38.0 0.38.0
Robbie Gemmell [Mon, 12 Nov 2018 17:40:23 +0000 (17:40 +0000)] 
[maven-release-plugin] prepare release 0.38.0

3 years agoQPIDJMS-429: fix typo in spelling
Robbie Gemmell [Mon, 12 Nov 2018 16:50:58 +0000 (16:50 +0000)] 
QPIDJMS-429: fix typo in spelling

3 years agoQPIDJMS-429 Make use of newer proton-j APIs for send and decode
Timothy Bish [Mon, 12 Nov 2018 16:31:34 +0000 (11:31 -0500)] 
QPIDJMS-429 Make use of newer proton-j APIs for send and decode

Use newer APIs to clean up some send code that handles dispositions and
use new section type enums to simplify the message decoding portion of
the codec.  Also implement the writeable buffer ensure remaining method
to better handle writes where the buffer needs to grow.

3 years agoNO-JIRA: add openjdk11 to Travis build matrix. This closes #21.
Sean Sullivan [Wed, 3 Oct 2018 18:08:15 +0000 (11:08 -0700)] 
NO-JIRA: add openjdk11 to Travis build matrix. This closes #21.

3 years agoQPIDJMS-428: disable SaslGssApiIntegrationTest on Java11 onward until issues resolved
Robbie Gemmell [Mon, 12 Nov 2018 15:14:43 +0000 (15:14 +0000)] 
QPIDJMS-428: disable SaslGssApiIntegrationTest on Java11 onward until issues resolved

3 years agoNO-JIRA: ensure handshake completion notified at server before inspecting state,...
Robbie Gemmell [Mon, 12 Nov 2018 14:01:26 +0000 (14:01 +0000)] 
NO-JIRA: ensure handshake completion notified at server before inspecting state, fixes spurious test failure when using TLSv1.3

3 years agoQPIDJMS-427: update to proton-j 0.30.0
Robbie Gemmell [Tue, 6 Nov 2018 17:55:05 +0000 (17:55 +0000)] 
QPIDJMS-427: update to proton-j 0.30.0

3 years agoQPIDJMS-424: Update to Netty 4.1.31 and netty-tcnative 2.0.19. This closes #24.
Sebastian Thomschke [Wed, 7 Nov 2018 16:01:31 +0000 (17:01 +0100)] 
QPIDJMS-424: Update to Netty 4.1.31 and netty-tcnative 2.0.19. This closes #24.

3 years agoNO-JIRA: simplify test method, remove arg that isnt useful and is always false
Robbie Gemmell [Mon, 5 Nov 2018 11:16:29 +0000 (11:16 +0000)] 
NO-JIRA: simplify test method, remove arg that isnt useful and is always false

3 years agoQPIDJMS-420 Use local tracking in AmqpConsumer for prefetch refill
Timothy Bish [Tue, 30 Oct 2018 19:48:26 +0000 (15:48 -0400)] 
QPIDJMS-420 Use local tracking in AmqpConsumer for prefetch refill

Track the number of message that are currently in the prefetch buffer using
local counters that mesh well with the already added delivered message counts
to reduce access to synchronized code in the message queue.  Reduce code paths
where a message settlement might be missed or credit not replenished on error.

3 years agoQPIDJMS-423 Log only the host and port data from the URI on connect
Timothy Bish [Mon, 29 Oct 2018 18:45:36 +0000 (14:45 -0400)] 
QPIDJMS-423 Log only the host and port data from the URI on connect

Update the connection event handler to log only the on-query portion of
the URI when processing the event.

This closes #23

3 years agoQPIDJMS-420 Refactor the MessageConsumer prefetch queue
Timothy Bish [Fri, 26 Oct 2018 20:44:23 +0000 (16:44 -0400)] 
QPIDJMS-420 Refactor the MessageConsumer prefetch queue

Refactor the MessageQueue based implementations to remove some unused
APIs and simplify the interface.  Improves performance of the default
FifoMessageQueue and separates the implementation from the priority
based variant to allow for more efficiencies to be added in.

3 years agoQPIDJMS-420 Allow for direct dispatch to target JMS MessageConsumer
Timothy Bish [Fri, 26 Oct 2018 19:55:08 +0000 (15:55 -0400)] 
QPIDJMS-420 Allow for direct dispatch to target JMS MessageConsumer

Allow the connection to be provided a direct path to the targeted
consumer of an inbound message as opposed to looking one up via the
session map and then the session's consumer map.  Preserves the legacy
lookups for compatibility with connection consumer paths.

3 years agoNO-JIRA: fix test to avoid spurious failure due to race formed by old changes in...
Robbie Gemmell [Thu, 25 Oct 2018 16:33:20 +0000 (17:33 +0100)] 
NO-JIRA: fix test to avoid spurious failure due to race formed by old changes in connect behaviour

3 years agoQPIDJMS-421 Cache common message annotation encodings for sends
Timothy Bish [Fri, 19 Oct 2018 17:48:03 +0000 (13:48 -0400)] 
QPIDJMS-421 Cache common message annotation encodings for sends

Use a cache to store the msot commonly used message annotations that
are applied to outbound messages in order to reduce overhead of sends
that would otherwise be encoding the same annotations map each time.

Only when additional JMS features like scheduled delivery time are
used will we need to perform a full encode on the MessageAnnotations
section of the outbound message.

3 years agoQPIDJMS-420: add a try-finally to ensure the decrement occurs
Robbie Gemmell [Thu, 18 Oct 2018 14:17:29 +0000 (15:17 +0100)] 
QPIDJMS-420: add a try-finally to ensure the decrement occurs

3 years agoQPIDJMS-420 Avoid signaling attempt costs when no waiters
Timothy Bish [Wed, 17 Oct 2018 18:33:31 +0000 (14:33 -0400)] 
QPIDJMS-420 Avoid signaling attempt costs when no waiters

Track if a receive (dequeue) call is waiting on the prefetch queue in
the consumer and if none present don't try to wait a thread which avoids
some cost and reduces time under lock.

3 years agoQPIDJMS-419 Ensure created resources are tracked at all times
Timothy Bish [Wed, 17 Oct 2018 16:50:26 +0000 (12:50 -0400)] 
QPIDJMS-419 Ensure created resources are tracked at all times

If the request to create a resource doesn't complete until after
a failover and reconnect the recovery of the JMS resources on
reconnect may miss the fact it needs to recover that resource.

3 years agoQPIDJMS-418 Optimize usage of Symbol types to reduce overhead
Timothy Bish [Tue, 16 Oct 2018 19:12:30 +0000 (15:12 -0400)] 
QPIDJMS-418 Optimize usage of Symbol types to reduce overhead

The code is currently doing many Symbol.valueOf calls for each message
on send and receive where it should be using cached Symbol values to
avoid the overhead of the Symbol objects cache lookups and string
compares.  Clean up some other ares where we process Symbols to reduce
overhead on send and receive.

3 years agoQPIDJMS-2: commit for testing git to JIRA comment bot, ignore.
Robbie Gemmell [Fri, 12 Oct 2018 14:18:19 +0000 (15:18 +0100)] 
QPIDJMS-2: commit for testing git to JIRA comment bot, ignore.

3 years agoQPIDJMS-416 Allow the event loop to run until Transport close
Timothy Bish [Thu, 11 Oct 2018 23:10:35 +0000 (19:10 -0400)] 
QPIDJMS-416 Allow the event loop to run until Transport close

Allow the event loop to close only on Transport close to ensure that
work can be done async by users of the Transport up to the close.

Also fixes some random test failures by ensuring that the init method
failure triggers channel abort before connection completes.

3 years agoQPIDJMS-416 Run all AmqpProvider work on netty event loop thread
Timothy Bish [Tue, 9 Oct 2018 20:25:23 +0000 (16:25 -0400)] 
QPIDJMS-416 Run all AmqpProvider work on netty event loop thread

Move from a separate provider executor to using the netty event loop for
AMQP protocol handling.

3 years agoQPIDJMS-414: update to Netty 4.1.30
Robbie Gemmell [Tue, 2 Oct 2018 15:14:56 +0000 (16:14 +0100)] 
QPIDJMS-414: update to Netty 4.1.30

3 years agoQPIDJMS-415: update netty-tcnative, activemq, jetty, mockito, jacoco test deps
Robbie Gemmell [Tue, 2 Oct 2018 15:14:39 +0000 (16:14 +0100)] 
QPIDJMS-415: update netty-tcnative, activemq, jetty, mockito, jacoco test deps

3 years agoNO-JIRA Fix intermittent test failures due to timing
Timothy Bish [Fri, 28 Sep 2018 18:53:09 +0000 (14:53 -0400)] 
NO-JIRA Fix intermittent test failures due to timing

On very fast machine the delay can be the exact value specified so a
check on greatThanOrEqualTo is needed to ensure no sporadic faulures

3 years ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Fri, 28 Sep 2018 16:25:09 +0000 (17:25 +0100)] 
[maven-release-plugin] prepare for next development iteration

3 years ago[maven-release-plugin] prepare release 0.37.0 0.37.0
Robbie Gemmell [Fri, 28 Sep 2018 16:23:56 +0000 (17:23 +0100)] 
[maven-release-plugin] prepare release 0.37.0

3 years agoQPIDJMS-413 Fix improper calculation in the ReadableBuffer
Timothy Bish [Mon, 24 Sep 2018 19:44:33 +0000 (15:44 -0400)] 
QPIDJMS-413 Fix improper calculation in the ReadableBuffer

Don't add reader index to the array offset for the underlying buffer.

3 years agoNO-JIRA: strengthen testing of sync send with failover provider
Robbie Gemmell [Tue, 11 Sep 2018 11:22:10 +0000 (12:22 +0100)] 
NO-JIRA: strengthen testing of sync send with failover provider

3 years agoQPIDJMS-412: stop further [re]connection attempts after a non-temporary SASL failure
Robbie Gemmell [Fri, 31 Aug 2018 17:34:47 +0000 (18:34 +0100)] 
QPIDJMS-412: stop further [re]connection attempts after a non-temporary SASL failure

3 years agoNO-JIRA: tweak timeouts, avoid spurious failure if CI is a little slow
Robbie Gemmell [Tue, 21 Aug 2018 13:28:10 +0000 (14:28 +0100)] 
NO-JIRA: tweak timeouts, avoid spurious failure if CI is a little slow

3 years agoQPIDJMS-411: remove extra space after performative or before payload
Robbie Gemmell [Mon, 20 Aug 2018 15:15:58 +0000 (16:15 +0100)] 
QPIDJMS-411: remove extra space after performative or before payload

4 years agoQPIDJMS-411 Improve output of amqp.traceFrames with payload
Timothy Bish [Thu, 16 Aug 2018 16:36:11 +0000 (12:36 -0400)] 
QPIDJMS-411 Improve output of amqp.traceFrames with payload

Output payload as formatted string with truncation (configuration of
length added).

4 years ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Wed, 15 Aug 2018 17:19:27 +0000 (18:19 +0100)] 
[maven-release-plugin] prepare for next development iteration

4 years ago[maven-release-plugin] prepare release 0.36.0 0.36.0
Robbie Gemmell [Wed, 15 Aug 2018 17:18:43 +0000 (18:18 +0100)] 
[maven-release-plugin] prepare release 0.36.0

4 years agoQPIDJMS-391 Add new documentation to cover OpenSSL support
Timothy Bish [Wed, 15 Aug 2018 16:31:44 +0000 (12:31 -0400)] 
QPIDJMS-391 Add new documentation to cover OpenSSL support

4 years agoQPIDJMS-410: update test dep versions, to Mockito 2.21.0 and ActiveMQ 5.15.5
Robbie Gemmell [Wed, 15 Aug 2018 15:34:23 +0000 (16:34 +0100)] 
QPIDJMS-410: update test dep versions, to Mockito 2.21.0 and ActiveMQ 5.15.5

4 years agoNO-JIRA: update test to avoid race that could result in illegal ref count state
Robbie Gemmell [Wed, 15 Aug 2018 15:08:14 +0000 (16:08 +0100)] 
NO-JIRA: update test to avoid race that could result in illegal ref count state

4 years agoQPIDJMS-408 Implement the string write method of WritableBuffer
Timothy Bish [Tue, 14 Aug 2018 18:33:33 +0000 (14:33 -0400)] 
QPIDJMS-408 Implement the string write method of WritableBuffer

Implement the put(String) method for the WritableBuffer interface
introduced in proton-j 0.29.0 which allows us to use the Netty ByteBuf
string encoding to perform string encodes faster than the default
version in proton-j

4 years agoQPIDJMS-408: update to proton-j-0.29.0
Robbie Gemmell [Tue, 14 Aug 2018 16:58:48 +0000 (17:58 +0100)] 
QPIDJMS-408: update to proton-j-0.29.0

4 years agoQPIDJMS-391: reorg the dep props/entries for clarity, fix some typos
Robbie Gemmell [Tue, 14 Aug 2018 16:39:45 +0000 (17:39 +0100)] 
QPIDJMS-391: reorg the dep props/entries for clarity, fix some typos

4 years agoNO-JIRA Bind the AMQP connector to localhost only
Timothy Bish [Wed, 8 Aug 2018 14:38:11 +0000 (10:38 -0400)] 
NO-JIRA Bind the AMQP connector to localhost only

4 years agoQPIDJMS-407 Address thread unsafe failover requests handling
Timothy Bish [Wed, 8 Aug 2018 13:56:21 +0000 (09:56 -0400)] 
QPIDJMS-407 Address thread unsafe failover requests handling

Address thread unsafe handling of in progress requests being added and
removed from the request tracking map that lead to issues on reconnect
and recover losing track of pending requests.

4 years agoQPIDJMS-408: update to proton-j-0.28.1
Robbie Gemmell [Tue, 7 Aug 2018 14:25:11 +0000 (15:25 +0100)] 
QPIDJMS-408: update to proton-j-0.28.1

4 years agoQPIDJMS-391 Add support for netty OpenSSL implementations
Timothy Bish [Thu, 2 Aug 2018 20:35:58 +0000 (16:35 -0400)] 
QPIDJMS-391 Add support for netty OpenSSL implementations

Allow the client to utilize netty openssl features if available and
configured to do so.  The user will need to provide a netty-tcnative
dependency to the classpath such as the boringssl uber jar and set
the transport.useOpenSSL option to true.

The tests use the boringssl library v2.0.12.Final to validate.

Updates to Netty 4.1.28.Final which has some OpenSSL bindings fixes.

4 years ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Fri, 20 Jul 2018 09:22:03 +0000 (10:22 +0100)] 
[maven-release-plugin] prepare for next development iteration

4 years ago[maven-release-plugin] prepare release 0.35.0 0.35.0
Robbie Gemmell [Fri, 20 Jul 2018 09:21:27 +0000 (10:21 +0100)] 
[maven-release-plugin] prepare release 0.35.0

4 years agoQPIDJMS-406: update to Netty 4.1.27
Robbie Gemmell [Thu, 19 Jul 2018 14:49:52 +0000 (15:49 +0100)] 
QPIDJMS-406: update to Netty 4.1.27

4 years agoNO-JIRA Fix test to account for so that flow is emitted always
Timothy Bish [Wed, 18 Jul 2018 19:23:55 +0000 (15:23 -0400)] 
NO-JIRA Fix test to account for so that flow is emitted always

For the no listener case we should emit a flow so that the two cases are
consistent.

4 years agoNO-JIRA Ensure connection not dropped until listener is set
Timothy Bish [Wed, 18 Jul 2018 19:14:10 +0000 (15:14 -0400)] 
NO-JIRA Ensure connection not dropped until listener is set

Make the consumer a zero prefetch consumer so that the flow isn't
emitted until the message listener is set so the connection isn't
dropped until the test is in the correct state to manage the outcome.

4 years agoQPIDJMS-405: update to proton-j 0.28.0
Robbie Gemmell [Wed, 18 Jul 2018 17:10:39 +0000 (18:10 +0100)] 
QPIDJMS-405: update to proton-j 0.28.0

4 years agoQPIDJMS-398 Update Mockito to latest point release
Timothy Bish [Wed, 18 Jul 2018 17:07:27 +0000 (13:07 -0400)] 
QPIDJMS-398 Update Mockito to latest point release

4 years agoQPIDJMS-404 Add variants of ProviderFuture for perf tuning
Timothy Bish [Wed, 18 Jul 2018 16:11:53 +0000 (12:11 -0400)] 
QPIDJMS-404 Add variants of ProviderFuture for perf tuning

Adds three variations on ProviderFuture that allow for tuning on
platforms that don't benefit from the spin / wait pattern used in
the current implementation and default to using a variant that does
not park on windows to avoid unpredictably long parks that result
in performance decreases due to missing the event completion.

4 years agoQPIDJMS-403: adjust test to account for changes, avoid spurious failure in CI
Robbie Gemmell [Wed, 18 Jul 2018 16:16:48 +0000 (17:16 +0100)] 
QPIDJMS-403: adjust test to account for changes, avoid spurious failure in CI

4 years agoQPIDJMS-403 Trigger whenOffline event on queued requests on drop
Timothy Bish [Tue, 17 Jul 2018 21:17:20 +0000 (17:17 -0400)] 
QPIDJMS-403 Trigger whenOffline event on queued requests on drop

When the handle connection failure method runs it should trigger the
when off line behavior of any currently queued tasks in order to allow
timely completion of requests that do not need to wait for a new
connection to happen such as session close, message acknowledge etc.

4 years agoQPIDJMS-401 Clean up some older code in the AMQP provider
Timothy Bish [Thu, 12 Jul 2018 16:33:52 +0000 (12:33 -0400)] 
QPIDJMS-401 Clean up some older code in the AMQP provider

Remove some now unused code paths and tests that no longer apply to how
we manage consumer and producer resources.

4 years agoQPIDJMS-401 Refactor fixed producer send path
Timothy Bish [Wed, 11 Jul 2018 19:20:43 +0000 (15:20 -0400)] 
QPIDJMS-401 Refactor fixed producer send path

Remove need for instanceof on each send call when the common case it
that the send fires and we know what the type is.

4 years agoQPIDJMS-401 Remove unneeded volatile tag on variable
Timothy Bish [Wed, 11 Jul 2018 19:07:25 +0000 (15:07 -0400)] 
QPIDJMS-401 Remove unneeded volatile tag on variable

Removed volatile on the error member as it will be sync'd by the atomic
update on the state when written.

4 years agoThis closes #19
Timothy Bish [Wed, 11 Jul 2018 18:59:23 +0000 (14:59 -0400)] 
This closes #19

4 years agoQPIDJMS-401 Save allocation of new promise on each writeAndFlush
Francesco Nigro [Sun, 24 Jun 2018 14:10:15 +0000 (16:10 +0200)] 
QPIDJMS-401 Save allocation of new promise on each writeAndFlush

Use the Netty voidPromise instance owned by the channel to avoid allocation
of an unused promise on each write operation to the Transport.

4 years agoNO-JIRA: increase timeout to avoid spurious failure in slower CI envs
Robbie Gemmell [Thu, 5 Jul 2018 14:17:40 +0000 (15:17 +0100)] 
NO-JIRA: increase timeout to avoid spurious failure in slower CI envs

4 years agoQPIDJMS-399 Split write and flush of data into two operations
Timothy Bish [Thu, 28 Jun 2018 19:09:45 +0000 (15:09 -0400)] 
QPIDJMS-399 Split write and flush of data into two operations

Allow for split write and then flush of outbound data which allows
for quicker release of blocking operations where the flush can be
done after the caller has been notified of success or a batch of
writes could improve performance.

4 years agoQPIDJMS-397: override up to surefire 2.21.0 to resolve Java 10 compatibility issue
Robbie Gemmell [Thu, 28 Jun 2018 15:34:04 +0000 (16:34 +0100)] 
QPIDJMS-397: override up to surefire 2.21.0 to resolve Java 10 compatibility issue

4 years agoQPIDJMS-398 Update dependencies to latest
Timothy Bish [Tue, 26 Jun 2018 19:52:30 +0000 (15:52 -0400)] 
QPIDJMS-398 Update dependencies to latest

Update Mockito, Jetty and the bundle plugin.

4 years agoQPIDJMS-397 Update to the current v19 Apache parent pom
Timothy Bish [Tue, 26 Jun 2018 19:39:53 +0000 (15:39 -0400)] 
QPIDJMS-397 Update to the current v19 Apache parent pom

Update to latest pom to capture latest plugins and align with other
apache Java components.

4 years ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Mon, 25 Jun 2018 19:32:27 +0000 (20:32 +0100)] 
[maven-release-plugin] prepare for next development iteration

4 years ago[maven-release-plugin] prepare release 0.34.0 0.34.0
Robbie Gemmell [Mon, 25 Jun 2018 19:31:39 +0000 (20:31 +0100)] 
[maven-release-plugin] prepare release 0.34.0

4 years agoQPIDJMS-396: avoid corner case leading to unexpected wait
Robbie Gemmell [Mon, 25 Jun 2018 18:19:06 +0000 (19:19 +0100)] 
QPIDJMS-396: avoid corner case leading to unexpected wait

4 years agoQPIDJMS-395 Resend message in flight when remote closed
Timothy Bish [Mon, 25 Jun 2018 17:38:30 +0000 (13:38 -0400)] 
QPIDJMS-395 Resend message in flight when remote closed

When the remote closes the connection and an inflight send
is outstanding we should handle the close and resend those
messages that are still awaiting dispositions in the same
manner as we do when the connection unexpectedly drops when
using the Failover feature.

4 years agoQPIDJMS-396 Allow for faster reaction times on sync operations
Timothy Bish [Mon, 25 Jun 2018 17:05:07 +0000 (13:05 -0400)] 
QPIDJMS-396 Allow for faster reaction times on sync operations

For sync operations from the JMS layer into the provider we can
more quickly process the events by using a spin-wait future that
checks in a short spin for the completion of the target event.
The spin will back off and eventually back down to a parked wait
that will be signalled by the normal wait / notify pattern.

4 years agoQPIDJMS-395: expand test to check versions with and without container-id hint, i...
Robbie Gemmell [Mon, 25 Jun 2018 10:08:31 +0000 (11:08 +0100)] 
QPIDJMS-395: expand test to check versions with and without container-id hint, i.e. invalid ClientID

4 years agoQPIDJMS-395: fix some c&p test comments
Robbie Gemmell [Mon, 25 Jun 2018 09:15:33 +0000 (10:15 +0100)] 
QPIDJMS-395: fix some c&p test comments

4 years agoQPIDJMS-2: commit for testing git to JIRA comment bot another time, ignore.
Robbie Gemmell [Mon, 25 Jun 2018 08:33:29 +0000 (09:33 +0100)] 
QPIDJMS-2: commit for testing git to JIRA comment bot another time, ignore.

4 years agoQPIDJMS-2: commit for testing git to JIRA comment bot yet again, ignore.
Robbie Gemmell [Sat, 23 Jun 2018 10:08:50 +0000 (11:08 +0100)] 
QPIDJMS-2: commit for testing git to JIRA comment bot yet again, ignore.

4 years agoQPIDJMS-395 Adding additional failover handling tests
Timothy Bish [Thu, 21 Jun 2018 22:13:31 +0000 (18:13 -0400)] 
QPIDJMS-395 Adding additional failover handling tests

Add new test that validates reconnect on error after a successful
connection was made and the next reconnect has its open attempt
rejected.  Client should reconnect to final peer and return to normal
operation.

4 years agoNO-JIRA Fix race in test on link remote close
Timothy Bish [Thu, 21 Jun 2018 15:25:39 +0000 (11:25 -0400)] 
NO-JIRA Fix race in test on link remote close

Ensure that setMessageListener doesn't race the link close by using a
zero prefetch to cause the set to send the link credit.

4 years agoQPIDJMS-2: commit for testing git to JIRA comment bot again, ignore.
Robbie Gemmell [Wed, 20 Jun 2018 17:55:29 +0000 (18:55 +0100)] 
QPIDJMS-2: commit for testing git to JIRA comment bot again, ignore.

4 years agoQPIDJMS-2: commit for testing git to JIRA comment bot, ignore.
Robbie Gemmell [Wed, 20 Jun 2018 17:49:57 +0000 (18:49 +0100)] 
QPIDJMS-2: commit for testing git to JIRA comment bot, ignore.

4 years agoQPIDJMS-2: commit for testing git to JIRA comment bot, ignore.
Robbie Gemmell [Wed, 20 Jun 2018 17:39:20 +0000 (18:39 +0100)] 
QPIDJMS-2: commit for testing git to JIRA comment bot, ignore.

4 years agoQPIDJMS-2: commit for testing git to JIRA comment bot, ignore.
Robbie Gemmell [Wed, 20 Jun 2018 17:16:14 +0000 (18:16 +0100)] 
QPIDJMS-2: commit for testing git to JIRA comment bot, ignore.

4 years agoNO-JIRA: add some support to test peer for multi-frame messages, add some receiving...
Robbie Gemmell [Wed, 20 Jun 2018 17:04:19 +0000 (18:04 +0100)] 
NO-JIRA: add some support to test peer for multi-frame messages, add some receiving tests

4 years agoQPIDJMS-393 Fix test repetitions count not reset to one
Timothy Bish [Wed, 20 Jun 2018 15:36:33 +0000 (11:36 -0400)] 
QPIDJMS-393 Fix test repetitions count not reset to one

Reduce to one repetition from value left in during local testing.

4 years agoQPIDJMS-395 Throw a more descriptive exception type when forced
Timothy Bish [Tue, 19 Jun 2018 23:04:20 +0000 (19:04 -0400)] 
QPIDJMS-395 Throw a more descriptive exception type when forced

Use a somewhat more descriptive exception type when the connection is
remotely closed due to a forced error condition to aid in debug.

4 years agoQPIDJMS-395 Add failed state in provider to prevent possible race
Timothy Bish [Tue, 19 Jun 2018 19:03:15 +0000 (15:03 -0400)] 
QPIDJMS-395 Add failed state in provider to prevent possible race

Adds a failed state to the AMQP provider such that any queued actions
such as a send which race into the provider between the time a
connection error is detected and the failover bits close the provider
received a consistent exception that allows normal failover processing
to occur.

4 years agoQPIDJMS-394 Fix failover wrongly signalling async completion
Timothy Bish [Tue, 12 Jun 2018 19:24:32 +0000 (15:24 -0400)] 
QPIDJMS-394 Fix failover wrongly signalling async completion

Ensure that an inflight async completion that is held in the
Failover provider is not signaled as failed by the session
during connection recovery.

4 years agoQPIDJMS-393 Signal async completion when TX is in-doubt
Timothy Bish [Tue, 12 Jun 2018 17:04:21 +0000 (13:04 -0400)] 
QPIDJMS-393 Signal async completion when TX is in-doubt

Send an onCompletion event to any caller using the async completion API
for sending messages when a TX has been tagged as in-doubt

4 years ago[maven-release-plugin] prepare for next development iteration
Robbie Gemmell [Mon, 11 Jun 2018 15:09:57 +0000 (16:09 +0100)] 
[maven-release-plugin] prepare for next development iteration

4 years ago[maven-release-plugin] prepare release 0.33.0 0.33.0
Robbie Gemmell [Mon, 11 Jun 2018 15:09:20 +0000 (16:09 +0100)] 
[maven-release-plugin] prepare release 0.33.0

4 years agoQPIDJMS-389: fix race in test and a c&p issue with logging
Robbie Gemmell [Fri, 8 Jun 2018 23:46:56 +0000 (00:46 +0100)] 
QPIDJMS-389: fix race in test and a c&p issue with logging

4 years agoNO-JIRA Fix spelling in test support class API
Timothy Bish [Fri, 8 Jun 2018 18:51:31 +0000 (14:51 -0400)] 
NO-JIRA Fix spelling in test support class API

4 years agoQPIDJMS-390 Use an atomic int field updater in ProviderFuture
Timothy Bish [Fri, 8 Jun 2018 17:09:43 +0000 (13:09 -0400)] 
QPIDJMS-390 Use an atomic int field updater in ProviderFuture

Avoid allocation of AtomicBoolean instances for each ProviderFuture
instance and instead use an Atomic field updater to reduce GC overhead

4 years agoQPIDJMS-389 Signal the correct producer completion only
Timothy Bish [Thu, 7 Jun 2018 22:47:40 +0000 (18:47 -0400)] 
QPIDJMS-389 Signal the correct producer completion only

Ensure that if more than one producer exists on a session that the
remote close of one producer does not trigger completions for the other
producer that is waiting for its send to complete.

4 years agoQPIDJMS-386: add some tweaks for the tests
Robbie Gemmell [Thu, 7 Jun 2018 16:12:25 +0000 (17:12 +0100)] 
QPIDJMS-386: add some tweaks for the tests

4 years agoQPIDJMS-386 Handle errors on link recreate during failover
Timothy Bish [Wed, 6 Jun 2018 21:50:48 +0000 (17:50 -0400)] 
QPIDJMS-386 Handle errors on link recreate during failover

Better handle link recreation failures during failover so that on
successive attempts to failover the links are tried again and not left
in an unknown state.

4 years agoQPIDJMS-387 Update Netty and ActiveMQ to latest releasses
Timothy Bish [Mon, 4 Jun 2018 16:05:59 +0000 (12:05 -0400)] 
QPIDJMS-387 Update Netty and ActiveMQ to latest releasses

Update to Netty 4.1.25.Final and ActiveMQ 5.15.4

4 years agoQPIDJMS-386: fix failover provider to ensure handling of remote resource closure...
Robbie Gemmell [Mon, 4 Jun 2018 15:26:31 +0000 (16:26 +0100)] 
QPIDJMS-386: fix failover provider to ensure handling of remote resource closure process can complete

4 years agoNO-JIRA: make test more specific, and explicitly cover some bits only covered impicit...
Robbie Gemmell [Mon, 4 Jun 2018 09:16:50 +0000 (10:16 +0100)] 
NO-JIRA: make test more specific, and explicitly cover some bits only covered impicitly elsewhere

4 years agoNO-JIRA: fix race in peer configuration, avoid spurious test failure
Robbie Gemmell [Thu, 31 May 2018 16:13:16 +0000 (17:13 +0100)] 
NO-JIRA: fix race in peer configuration, avoid spurious test failure

4 years agoNO-JIRA Update ssl certs and keystores to use RSA 2048
Timothy Bish [Fri, 11 May 2018 19:10:13 +0000 (15:10 -0400)] 
NO-JIRA Update ssl certs and keystores to use RSA 2048

Newer OS releases have disabled DSA so updating the certs to use
a stronger algorithm is needed.

4 years agoNO-JIRA Fix typo in README file
Timothy Bish [Tue, 8 May 2018 14:37:00 +0000 (10:37 -0400)] 
NO-JIRA Fix typo in README file