gtully
41a100766c
[AMQ-6824] - fix up prefetchExtension growth on transaction completion and delivered ack and tie in boolean usePrefetchExtension
2017-09-26 11:30:18 +01:00
Timothy Bish
61d3231d36
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
2017-09-20 15:50:09 -04:00
Erik Wramner
c691124d32
AMQ-6808 preserve destination for browsed scheduled messages
2017-09-15 09:02:36 -04:00
gtully
a359d8152c
[AMQ-6277] take account of producer audit not being updatated on recovery check, avoid unnecessary partial journal replay
2017-09-15 13:48:03 +01:00
Dejan Bosanac
5e656d394c
https://issues.apache.org/jira/browse/AMQ-6799 - stop the jmx server connector properly
2017-09-01 13:02:53 +02:00
Christopher L. Shannon (cshannon)
35bd3ad938
AMQ-6798 - Clean up store usage object on Queue stop
...
When queues are stopped the StoreUsage object needs to be stopped so it
will be removed from the parent StoreUsage. This allows the object to
be garbage collected and prevents a memory leak.
2017-08-24 09:24:36 -04:00
Dejan Bosanac
c7291f1ecf
https://issues.apache.org/jira/browse/AMQ-6799 - IOExceptionHandler during the startup
2017-08-24 14:04:36 +02:00
gtully
068b7946ce
[AMQ-6643][AMQ-5594] fix test regression to reflect match strategy
2017-08-09 11:40:39 +01:00
gtully
a67c75a9e1
[AMQ-6643] refine fix to allow wildcard subs to non wildcard subscription queues, enable simple wildcard sub to drain all subscription queues
2017-08-08 16:38:11 +01:00
gtully
a15626193c
[AMQ-6787] release securty context on failure to addConnection subsequent to auth, resolve leak. fix and test
2017-08-04 13:46:16 +01:00
gtully
206f77adac
[AMQ-6778] - fix test regression that needs to account for presence of correct advisory dests
2017-07-26 11:58:04 +01:00
gtully
ddfa96028c
[AMQ-6778] fix and test - no longer gate firing advisory on broker start flag b/c consumers may be present once transport connectors have started
2017-07-25 13:02:13 +01:00
gtully
d7f70837b7
[AMQ-6764] add logging of exit of jmx ops such that overlaps and delays are visible in the audit. fix and test
2017-07-10 14:10:05 +01:00
Christopher L. Shannon (cshannon)
a9fe4e33c3
[maven-release-plugin] prepare for next development iteration
2017-06-27 13:41:28 -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
d70852eec8
[AMQ-6625] fix mock test expectation regression
2017-06-16 10:29:32 +01:00
gtully
b07821ab64
[AMQ-6625] remove kahadbioexceptionhandler by pushing allowIOResumption into persistence adapter. This allows the lease locker to still be used with kahadb for stopStartConnectors support
2017-06-15 17:28:31 +01:00
gtully
99f3d4c505
[AMQ-6703] have jmx purge clear the audit such that messages can be copied back, fix and test
2017-06-15 10:46:23 +01:00
gtully
b6cb0eacea
[AMQ-6702] add maxProducersToAudit and maxAuditDepth to dead letter strategy to cofigure the audit, fix and test
2017-06-13 14:26:15 +01:00
Christopher L. Shannon (cshannon)
2a0b785a04
AMQ-6698 - Allow timeout of SSL handshake for auto+nio+ssl
...
The handshake now takes place inside of the async task that timesout so
that if the SSL handshake takes too long the connection attempt will
honor protocolDetectionTimeout and actually timeout. Also, change the
default of protocolDetectionTimeout to 30 seconds so it matches the rest
of the broker's default connection timeout settings.
2017-06-08 12:34:15 -04:00
gtully
7413ee00e1
[AMQ-6696] zero out usage for forwarded messages such that the original target is no longer referenced. fix and test
2017-06-02 12:23:58 +01:00
gtully
c50dc6ff00
[AMQ-6693] ignore the long term connection associated with the broker context, fix and test
2017-06-01 12:00:04 +01: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
gtully
8023b9ee44
[AMQ-6690] do nothing for move/copy jmx ops that try to modify self
2017-05-31 11:26:46 +01:00
gtully
30d3162982
[no jira] tidy up test teardown - prevent subsequent ci failures in error
2017-05-26 11:49:04 +01:00
gtully
25f112c5c9
[AMQ-6687] ensure transacted sends blocked on pfc do not resume after tx completion. AMQ-4467 refine the fix such that PFC kicks in such that the cache will accept messsages that push it over it's limit while it is still under the limit
2017-05-25 12:43:08 +01:00
gtully
acab282d9c
[AMQ-6678] sync destructive queue view mbean (jmx) operations such that concurrent calls see consistent state
2017-05-18 12:37:54 +01:00
gtully
ae97fbd52e
fix cn to match jdk8 cert
2017-05-05 11:01:33 +01:00
gtully
b30ae4e846
[AMQ-6665] - remove extranious import from test
2017-05-05 10:48:13 +01:00
gtully
07b0d913af
conform to jdk8 algorithm constraints with keystores
2017-05-04 13:14:31 +01:00
gtully
dcd9b9e186
use jdk8 allowed cypher in the restricted set
2017-05-04 12:58:25 +01:00
gtully
18d05ba5e0
modify test to validate setting isDLQ flag via startup destination query options
2017-05-03 16:17:29 +01:00
gtully
35f30102a6
[AMQ-2100] fix for intermittent ci failure
2017-05-03 12:31:09 +01:00
gtully
c4a1346875
[AMQ-6465] fix up test interplay - clean on start and consume what is produced
2017-05-03 12:22:24 +01:00
gtully
a0ba0bf4c6
[AMQ-6667] gate cursor cache enablement on a single pending send and tidy up setbatch to always check outstanding async future list. Fix and test
2017-05-03 11:36:06 +01:00
gtully
57795bafce
[AMQ-6665] - check for peercerts is now on tcp transport such that the bridge connection info can have the correct context
2017-04-27 12:07:12 +01:00
gtully
b64ac1dd77
[AMQ-6646] improve error reporting to include url
2017-04-04 17:30:29 +01:00
gtully
729766e492
[AMQ-6494] ensure vm transport propagates onCommand exceptions to peer
2017-04-04 14:17:27 +01:00
gtully
0f7561e85a
Revert "AMQ-6494 Return ExceptionResponse during broker service shutdown"
...
the root cause seems to be in the vm transport iterator
This reverts commit dce2b61f87
.
2017-04-04 14:15:00 +01:00
gtully
8b064889c6
[AMQ-6643] final modifier for test in the right place
2017-04-04 10:57:57 +01:00
gtully
2a2cb3997f
[AMQ-6643] final modifier for test
2017-04-04 10:52:38 +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
gtully
4ef1fc74cf
[AMQ-6640] either broker dispatch to bridge or bridge dispatch to broker needs to be async - dispatchAsync network option is the trigger for the vm transport to be sync in line with the current defaults. original BacklogNetworkCrossTalkTest scenario exposed this. upshot is dispatchAsync=false is not compatible with duplicate subscription suppression which is fair.
2017-03-30 12:12:13 +01:00
gtully
5ac9657c12
[AMQ-6640] shrink test duration for ci boxes
2017-03-30 10:16:18 +01:00
gtully
d84a58656c
[AMQ-6640] allign use of sync vm transport usage on duplex end of networkconnector with initiator end. only duplexinbound for forwarding is async to allow thread for responses. vm transport options applied in one place and test more deterministic w.r.t the hang scenario
2017-03-29 23:50:47 +01:00
gtully
770a73e9ba
[no jira] add identity option to consumer bean to aid logging/debugging
2017-03-29 22:19:15 +01:00
gtully
8e00c6c2bc
[AMQ-6640] fix duplicate suppression sync request on responder end of duplex network connector only b/c that has the async local transport. Additional test. Ensure broker sync is conditional on the need for duplicate suppression which should only be necessary in ring topologies when properly configured
2017-03-28 14:49:23 +01:00
gtully
36689beff7
[AMQ-6561] fix up unit test that expects socket to remain open after InvalidClientIDException, dubious expectation in the test that wants to verify broker is ok
2017-03-14 11:59:13 +00:00
gtully
01b1f7f694
[AMQ-3233] respect policy entry blockedProducerWarningInterval for flow control warning, 0 disables and Xmillis makes it periodic, default period of 30s is not unlike the existing once behaviour. fix and tests
2017-03-03 11:23:23 +00:00
gtully
2809befff5
[AMQ-6610] - fix up brittle jmock test
2017-03-03 10:14:30 +00:00
gtully
e67d48680f
[AMQ-6614] fix up jmx blockedSendsCount and producer view blocking flag for async send case. fix and test
2017-03-02 17:00:16 +00: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
a1f6261fb2
[AMQ-6414] additional test that reproduces and validates
2017-02-27 16:35:54 +00:00
Christopher L. Shannon (cshannon)
bab0887ed6
AMQ-6610 - Network connector mbean not registered on reload
...
On network connector add or update after broker start (such as the
runtime plugins) the mbean was not created. There was also a couple of
other properties not set. Fixed the network connector start to be the
same for normal broker start and runtime reload.
2017-02-24 14:05:27 -05:00
gtully
816f81e605
[AMQ-6517] resolve intermittent test failure - wait for client connection to see broker disconnect
2017-02-22 14:35:27 +00: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
da5742762a
[AMQ-6547] final for inner class reference
2017-02-14 11:49:00 +00:00
gtully
fad50812af
[AMQ-6547] revert mod from AMQ-3143 such that waitForSpace respects child usage, fix test and validate mKahadb blocking send
2017-02-14 11:33:59 +00:00
gtully
f5baebb001
intermittent failure - disable periodic expiry as it may use memory that effects the assertions
2017-02-10 16:03:15 +00:00
gtully
d86c98a687
[AMQ-6587] - fix root cause of deletion candidate seeing sub. contention between adding sub to dests and adding dests to sub, also removing sub from dests twice could leave dest stat negative allowing invalid candidate for gc
2017-02-10 11:38:03 +00:00
gtully
0ee4f5b843
[AMQ-6587] additional contention window with new sub while gc is in progress - need to verify new sub is actually subscribed to the candidate for deletion. Fix and test
2017-02-07 13:53:40 +00:00
gtully
9b64e188b5
[AMQ-6432] issue was journal scan on newly created ack file. I left the relevant braces from AMQ-6288 in place. Fix and test
2017-02-03 16:58:52 +00:00
gtully
64b3203713
[AMQ-6587] - fix typo in test that needs 1.7 final
2017-02-01 16:43:02 +00:00
gtully
e415d2921e
[AMQ-6587] ensure subs added to new destination before destination is exposed in the destination map. sort gc contention with wildcard subs and anonymous publish. fix and test
2017-02-01 15:08:46 +00:00
Krzysztof Sobkowiak
f09493727f
[AMQ-6586] Compilation of activemq-unit-test fails
...
(cherry picked from commit 659d1f6ba5
)
2017-01-31 15:32:34 -05:00
Vasco Veloso
687badb4fd
AMQ-6577: honour usePrefetchExtension in TopicSubscription.
...
AMQ-6577: move usePrefetchExtension flag to AbstractSubscription to promote reuse.
2017-01-30 11:13:57 -05:00
Christopher L. Shannon (cshannon)
d0c95146c3
https://issues.apache.org/jira/browse/AMQ-6579
...
Remove incorrect dispatch counter increment on message expiration in
TopicSubscription when a pending limit strategy is set
2017-01-25 11:16:43 -05:00
Christopher L. Shannon (cshannon)
56bb079c82
https://issues.apache.org/jira/browse/AMQ-1940
...
Queue purge now acquires the sendLock to prevent new messages from
coming in while purging. The statistics are no longer zeroed out as
they should properly decrement as messages are removed. These changes
should prevent the statistics from going negative.
2017-01-24 08:46:15 -05:00
gtully
030c44a554
[no jira] ensure clean db for test AMQ6463Test - intermittent ci failure
2017-01-16 11:11:45 +00:00
gtully
511b9b642a
[AMQ-6562] - suppress warn of durable sub duplicate from the store on cache exhaustion - expected in the absense of ordered sequenceid and setBatch. Fix leak of duplicates pending processing on batch fill for the durable sub case and remove eager page in for prefetch=0
2017-01-13 11:06:05 +00:00
Christopher L. Shannon (cshannon)
d9c74d7317
https://issues.apache.org/jira/browse/AMQ-6561
...
Stop connections on all connection attempt errors, not just security
exceptions, to prevent dangling open sockets.
2017-01-12 10:21:08 -05:00
gtully
3a0a7238b1
[no jira] remove hard coded 1099 dep to resolve ci failure in JmxAuditLogTest
2017-01-12 11:53:20 +00:00
gtully
c76f109692
https://issues.apache.org/jira/browse/AMQ-4467 - modify fix check full against shared limit and high water mark against local limit, additional test
2017-01-10 11:18:00 +00:00
gtully
0ae90c0897
https://issues.apache.org/jira/browse/AMQ-6547 - add storeUsage attribute to mKahadb filtered adapter such that disk utilisation is available as a QOS
2016-12-20 14:47:22 +00:00
Christopher L. Shannon (cshannon)
25703fbd1f
https://issues.apache.org/jira/browse/AMQ-6538
...
Fixing an issue with syncDurableSubs that cause a bridge failure when
adding multiple bridges between the same brokers
2016-12-13 11:58:57 -05:00
Christopher L. Shannon (cshannon)
4b3f07e90e
https://issues.apache.org/jira/browse/AMQ-6441
...
https://issues.apache.org/jira/browse/AMQ-6526
Adding missing license headers
2016-12-07 13:32:18 -05:00
gtully
8a28c06555
[AMQ-6441] add option to specify the hard limits on a usage such that spurious values from the file system can be overridden. this closes #202 thanks William Crowell for the patch with test
2016-12-07 18:09:34 +00:00
William Crowell
41bec0d658
Fixes AMQ-6441 where a negative value can be returned with large AWS EFS files systems when calling java.io.File.getTotalSpace()
2016-12-07 10:45:12 +00:00
William Crowell
f225120f61
Fixes AMQ-6441 where a negative value can be returned with large AWS EFS files systems when calling java.io.File.getTotalSpace()
2016-12-07 10:45:12 +00:00
gtully
dc68ad8967
[AMQ-5875] add queue test variant to validate shared mkahaDb remains when one dest is deleted
2016-12-06 14:54:24 +00: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 29ecfd6cdb
.
2016-12-02 13:57:44 +00:00
gtully
29ecfd6cdb
fix up createPublisher contract to throw on null topic param, match the java doc
2016-12-02 12:46:32 +00:00
Claus Ibsen
4e766d92c5
Add example using retroactive customer with a fixedsubscriptionrecoverypolicy for JMS Topic and broker restarted. Thanks to Charles Moulliard for the patch. This fixes #94 .
2016-11-29 17:38:06 +01:00
gtully
cf57559f1c
[no jira] unit test that exercises failover with xa and missing replys
2016-11-29 12:04:24 +00:00
gtully
dad629e889
[AMQ-6522] - remove hardcoded 32k batch limit from recovery check of the journal, fix and test
2016-11-29 11:32:03 +00:00
gtully
0a29533ed7
[AMQ-6520] respect kahadb indexDirectory for perDestination mKahaDB - fix and test
2016-11-25 16:44:28 +00:00
gtully
cfdff4edc5
[AMQ-6518] - fix up aveMessageSize dest stat and test
2016-11-25 10:38:09 +00:00
gtully
b6bca3976c
[AMQ-6517] make pre dispatch redelivery policy check optional jms.redeliveryPolicy.preDispatchCheck=false
2016-11-24 17:02:37 +00:00
gtully
99b7a28ccb
[AMQ-3166] fix typo that removed class name, sorry
2016-11-22 16:27:29 +00:00
gtully
7077d2b910
[AMQ-3166] init rollbackonly exception cause such that xaexception has meaning, thanks to james (jtahlborn) for the suggestion
2016-11-22 16:07:55 +00:00
Timothy Bish
e050519ff6
https://issues.apache.org/jira/browse/AMQ-6500
...
Better handle prefetch extension and pull consumers over Topics to avoid
the remote not receiving all the messages available based on the credit
it has issued.
2016-11-18 11:59:01 -05:00
gtully
105128a92d
[no jira] use the general wildcard for the drain test
2016-11-14 11:57:49 +00:00
Christopher L. Shannon (cshannon)
7e648d512d
https://issues.apache.org/jira/browse/AMQ-6505
...
Fixing the auto transport protocol detection so that the byte buffer
that captures the initial bytes for detection is not shared across
threads. This was causing failed connections under high load and high cpu
usage under NIO
2016-11-12 10:02:32 -05:00
gtully
9d6bc3a5d8
[no jira] add replay policy to draining broker to allow drain to origin
2016-11-11 12:01:54 +00:00
gtully
7d0df2d01e
[no jira] static network wildcard drain test
2016-11-11 11:49:56 +00:00
Christopher L. Shannon (cshannon)
dca066287e
https://issues.apache.org/jira/browse/AMQ-6494
...
Ignoring test that currently fails. The parent test is already ignored
in the build so I'm adding this one to be ignored as well. It
currently fails on exceptions that are expected and needs to be fixed.
2016-11-08 08:20:19 -05:00
Hadrian Zbarcea
dce2b61f87
AMQ-6494 Return ExceptionResponse during broker service shutdown
2016-11-04 09:30:09 -04:00
Christopher L. Shannon (cshannon)
016ae05d0e
https://issues.apache.org/jira/browse/AMQ-6489
...
Adding a new ActiveMQXASslContextFactory and jndi support for it
in ActiveMQSslInitialContextFactory
2016-11-04 08:31:19 -04:00
Hadrian Zbarcea
be24a133ef
This closes #88 (merged as a65ac586
). More file permissions fixes.
2016-11-03 14:26:34 -04:00
Hadrian Zbarcea
d5a929c0d2
This closes #205 . Won't fix. (fix even more file permissions)
2016-11-03 14:11:40 -04:00
Hadrian Zbarcea
f9bec8f99a
This closes #201 . Won't fix. (fix some file permissions though)
2016-11-03 11:48:16 -04:00
Hadrian Zbarcea
a6e35a6512
Test execution artifacts produced in ./target, so that clean runs cleanly
2016-11-01 14:48:12 -04:00
Christopher L. Shannon (cshannon)
5c80eda321
https://issues.apache.org/jira/browse/AMQ-6477
...
Fixing potential concurrent modification exception
2016-11-01 10:31:20 -04:00
Michael L. Bloom
11541e8608
https://issues.apache.org/jira/browse/AMQ-6489
...
Add support for SSL configurations using JNDI.
2016-10-31 12:03:33 -04:00
Christopher L. Shannon (cshannon)
7c3bb40100
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
2016-10-25 10:19:03 -04:00
Christopher L. Shannon (cshannon)
d206621a73
https://issues.apache.org/jira/browse/AMQ-6472
...
Durable sync over a network bridge will now also sync non-durable
subscriptions proplrly if the consumer belongs to a destination that is
configured to force network durable subscriptions.
2016-10-20 13:47:38 -04:00
Christopher L. Shannon (cshannon)
406a34294b
https://issues.apache.org/jira/browse/AMQ-6465
...
Properly decrementing the message reference count in
DemandForwardingBridgeSupport when messages supression is checked for
durable subscriptions
2016-10-14 12:16:07 -04:00
gtully
74a5381b9a
AMQ-6463 - provide connection to scheduler context in case of deferred send or error
2016-10-11 11:58:37 +01:00
gtully
8493f6b4d7
AMQ-6459 - store based % usage needs to poll the store for the current value on each access
2016-10-07 14:31:52 +01:00
gtully
e91f5c8062
AMQ-6454 - ensure message.acknowledge throws if consumer has closed and message has been released broker side
2016-10-07 09:57:28 +01:00
Christopher L. Shannon (cshannon)
72650a0b8b
https://issues.apache.org/jira/browse/AMQ-6449
...
Disabling doclint now only activates for JDK 8
2016-10-03 07:37:53 -04:00
Christopher L. Shannon (cshannon)
02082b1aec
NO-JIRA: More Java 8 JavaDoc fixes - also fixed findbugs for Java 8
2016-09-30 14:36:44 -04:00
gtully
5385fd1bb3
https://issues.apache.org/jira/browse/AMQ-6446 - use shared logger and pepend statements with connection counter. Old behaviour or per connection logger can be obtained with trace=true&jmxPort=0
2016-09-30 14:05:42 +01:00
gtully
634b42016a
https://issues.apache.org/jira/browse/AMQ-5486 - allow selector manager to reject tasks - org.apache.activemq.transport.nio.SelectorManager.rejectWork leaving the default to caller runs policy. This allows a broker to implement qos for existing connections by forcing others away
2016-09-28 12:15:50 +01:00
gtully
08695ab303
https://issues.apache.org/jira/browse/AMQ-6184 - add workQueueCapacity config property default to 0 where a value > 0 swaps out the dsynchQ for a capicity limited blocking queue. This allows the core pool to grow on demand as before but also allows work to be queued when necessary
2016-09-28 10:04:22 +01:00
Christopher L. Shannon (cshannon)
18571ce09b
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
2016-09-23 10:59:32 -04:00
Christopher L. Shannon (cshannon)
7c293b661f
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.
2016-09-21 09:34:46 -04:00
gtully
ffee8b442f
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-21 10:33:20 +01:00
Timothy Bish
9f812a2103
NO-JIRA: Additional test on JobSchedulerStoreImpl
...
Pushes on the journal log GC logic to ensure that cleanup is occurring
when the redelivery plugin is scheduling more resends on TX rollback.
2016-09-19 10:53:50 -04:00
Christopher L. Shannon (cshannon)
a038655605
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
2016-09-08 08:28:26 -04:00
Christopher L. Shannon (cshannon)
9ab94883a8
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
2016-09-07 07:42:13 -04:00
Christopher L. Shannon (cshannon)
98c5866c75
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
2016-09-06 10:17:05 -04:00
gtully
a3f1aa0bda
TrapMessageInJDBCStoreTest - intermittent ci failure. Avoid contention on datasource, use long lived connection for assertions
2016-09-02 11:27:12 +01:00
gtully
508df5359c
sanity check on provider url params for connection factory
2016-09-02 10:38:26 +01:00
Timothy Bish
bb8d32c04a
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.
2016-09-01 16:26:03 -04:00
gtully
a0d05f8ea3
AMQ-2910 fix timing on test timeout - ensure consumer connection is started
2016-09-01 16:54:50 +01:00
gtully
a9c7f7122b
AMQ-6411 - tidy up latch between runs. Have not seen repeat of npe yet
2016-09-01 16:53:02 +01:00
gtully
f8bc19b96d
AMQ-6413 - ensure audit update on skipped store add for kahadb concurrentStoreAndDispatch. Fix and test
2016-09-01 16:46:21 +01:00
Christopher L. Shannon (cshannon)
ed0e786b60
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.
2016-09-01 11:39:46 -04:00
Christopher L. Shannon (cshannon)
e57de54410
NO-JIRA: Fixing OpenWireConnectionTimeoutTest failure
2016-09-01 10:10:52 -04:00
gtully
bf5b1fcfce
address npe in intermittent failure in ci
2016-08-30 15:39:49 +01:00
Timothy Bish
de4f4e406f
Fix NPE case so a meaningful error is reported on failure.
2016-08-29 17:05:21 -04:00
Christopher L. Shannon (cshannon)
b9fad53fc6
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
2016-08-26 13:46:42 -04:00
gtully
2b1cda1964
AMQ-6406 - ensure duplicates trapped by the cursor-add or queue-page-in are removed from the message store
2016-08-25 15:01:19 +01:00
gtully
e52a052761
add some diagnostics to track intermittent ci failure
2016-08-17 15:52:54 +01:00
gtully
4800a7a1a4
AMQ-6392 - allow mapping of host names via the publish address strategy
2016-08-09 15:22:28 +01:00
gtully
9249315688
AMQ-6389 - init the size attribute prior to logging a message send in the logging plugin
2016-08-08 16:46:49 +01:00
Christopher L. Shannon (cshannon)
06a21dbbb3
[maven-release-plugin] prepare for next development iteration
2016-08-02 09:03:37 -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)
b1c4b1871f
https://issues.apache.org/jira/browse/AMQ-6373
...
Moving some test code into a shared support class
2016-07-30 08:35:24 -04:00
Christopher L. Shannon (cshannon)
82295fd2c6
https://issues.apache.org/jira/browse/AMQ-6381
...
Fixing DurableTopicSubscription so that an ack will properly update the
forwards statistic on an ack
2016-07-29 15:56:52 -04:00
Christopher L. Shannon (cshannon)
dd971a00f2
https://issues.apache.org/jira/browse/AMQ-6379
...
Removed unreliable check from unit test
2016-07-29 12:27:58 -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)
cf3d419528
https://issues.apache.org/jira/browse/AMQ-6375
...
Adding non-blocking metrics to KahaDB to track message counts and sizes
for subscriptions. Turned off by default but can be enabled on the
KahaDBPersistenceAdapter
2016-07-26 12:02:44 -04:00
gtully
2985651609
AMQ-6370 - speed up the test and wait a bit longer for sends in slow ci
2016-07-26 14:06:02 +01:00
gtully
01cfa7727d
AMQ-6361 - fix additional test regression on topic sub expiry AMQ4083Test,MessageEvictionTest
2016-07-26 13:45:41 +01: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
gtully
ad657cc202
AMQ-6370 - ensure derby instance is created
2016-07-25 13:41:05 +01:00
gtully
6cc2c1190d
AMQ-6361 - fix contention over expiry processing with expiry task and client expiry ack, unit test regression sorted.
2016-07-22 15:18:31 +01:00
gtully
2a815c2e08
AMQ-6370 - move cleanup lock to connection allocation to avoid contention with between store and connection pool. pool connection grant or block is now guarded by store lock which lasts till connection is closed
2016-07-21 10:54:40 +01:00
Christopher L. Shannon (cshannon)
39184e2fb0
https://issues.apache.org/jira/browse/AMQ-6366
...
Fixing the duplex bridge case for restarting durable subscriptions when
dynamicOnly is false
2016-07-19 11:31:44 -04:00
Timothy Bish
f43c090809
https://issues.apache.org/jira/browse/AMQ-6362
...
Add option connectResponseTimeout to allow a stuck connection in
ensureConnectionInfoSent from stalling out a client. Timeout is
disabled by default.
2016-07-18 11:30:38 -04:00
Timothy Bish
a3a5a1affa
https://issues.apache.org/jira/browse/AMQ-6336
...
Ensure that when expired messages are handled client side that pull
consumers get a chance to see it and send a new pull request complete an
outstanding timed pull.
2016-07-15 16:45:35 -04:00
Timothy Bish
cd5ea6c27f
https://issues.apache.org/jira/browse/AMQ-6361
...
Honor the expired ack from the client as the authority on expiration
2016-07-15 15:08:26 -04:00
Christopher L. Shannon (cshannon)
d635a36940
https://issues.apache.org/jira/browse/AMQ-6352
...
Fixing PList size tracking by moving the null assignment on removal to
after the onRemoval method is called to make sure that the decrement is
done properly.
2016-07-12 10:27:57 -04:00
Christopher L. Shannon (cshannon)
c02bc64846
https://issues.apache.org/jira/browse/AMQ-5426
...
Fixing a race condition in ActiveMQMessageConsumer that could cause a
NPE when the consumer is closing by only modifing pendingAck inside of
the deliveredMessagesMutex
Thanks to Michael Wong for providing the test case for this issue.
2016-07-05 20:35:07 +00:00
Christopher L. Shannon (cshannon)
3856c3999a
Revert " https://issues.apache.org/jira/browse/AMQ-5426 "
...
This reverts commit 6bfa13b6e7
.
2016-07-05 20:27:02 +00:00
Christopher L. Shannon (cshannon)
6bfa13b6e7
https://issues.apache.org/jira/browse/AMQ-5426
...
Fixing a race condition in ActiveMQMessageConsumer that could cause a
NPE when the consumer is closing
Thanks to Michael Wong for providing the test case for this issue.
2016-07-05 20:05:29 +00:00
gtully
30ff378a35
increase service logging, seems npe in the mix on intermittent failure
2016-07-05 14:08:43 +01:00
Timothy Bish
31c55f7510
https://issues.apache.org/jira/browse/AMQ-6339
...
Add support for AMQP client to connect using WebSockets.
2016-06-30 14:52:40 -04:00
Dejan Bosanac
3dfda807f6
https://issues.apache.org/jira/browse/AMQ-6336 - queue browser delivers expired messages
2016-06-23 17:47:15 +02:00
Dejan Bosanac
1faa4afa90
https://issues.apache.org/jira/browse/AMQ-6331 - Honor excluded destinations in static routing on network connectors
2016-06-21 15:07:30 +02:00
Timothy Bish
9ac5f83473
Fix test failure in CI
...
Has race condition on the ArrayList it uses to track subs and
Fix the unreliable sleep used to track locked messages in subs
Ensure Broker is shut down on test completion.
2016-06-16 12:26:50 -04:00
Timothy Bish
c0713415f5
https://issues.apache.org/jira/browse/AMQ-6325
...
Fix test that fails now that the parser checks the full expression.
2016-06-16 10:59:08 -04:00
Dejan Bosanac
36237cb30f
https://issues.apache.org/jira/browse/AMQ-6322 - fix NetworkRouteTest failure
2016-06-15 12:59:52 +02:00
Timothy Bish
7b207567d9
https://issues.apache.org/jira/browse/AMQ-6325
...
Fix issue with selector parser.
2016-06-14 12:49:08 -04:00
Christopher L. Shannon (cshannon)
a953f11d0e
https://issues.apache.org/jira/browse/AMQ-6323
...
Applying reduceMemoryFootprint for persistent Topic messages
2016-06-14 14:36:37 +00:00
Timothy Bish
cf750d5cee
Wait for bridge formation before attempting to receive otherwise the
...
timed receive might not work.
2016-06-10 11:22:45 -04:00
gtully
f548aafa81
move test utility to broker module to allow reuse from jdbc module tests
2016-06-10 10:20:33 +01:00
Timothy Bish
9f5fff795d
https://issues.apache.org/jira/browse/AMQ-5621
...
Ensure that connections using VM transport are closed.
2016-06-09 18:37:09 -04:00
Timothy Bish
5fd307cd9f
Ensure that connections get closed to allow the vm transport resources
...
to get cleaned up.
2016-06-07 09:29:41 -04:00
Jonathan Malek
6bf5987921
A fix for AMQ-6310
...
Checking for leading wildcard in the prefix for a virtualtopic,
modifying the behavior of shouldDispatch in the VirtualTopicInterceptor.
2016-06-04 16:51:27 -07:00
gtully
857597ca9e
AMQ-4181 - browser 'may' have more than 1 so message 'may' remain
2016-06-03 15:15:11 +01:00
Timothy Bish
3c5c5779e2
Remove version definition for managed dependency
2016-05-26 18:00:50 -04:00
gtully
62ab55683f
increase the lease to allow kahadb recovery, ci intermittent failure
2016-05-26 11:30:32 +01:00
Timothy Bish
0757cdcd59
Cleanup the tearDown method to ensure we follow on to the super tearDown
...
where the broker is stopped.
2016-05-25 12:15:21 -04:00
gtully
e467f34cc1
longer receive timeout on first message, intermittent ci failure
2016-05-25 12:45:07 +01:00
gtully
281fbb1f9d
tidy up close for vm broker - seems ci failure of InMemeoryJmsSchedulerTest is related to overlap between tests of vm transport
2016-05-25 12:34:07 +01:00
gtully
fe9d99e7a0
AMQ-3166 - implement rollbackOnlyOnAsyncException such that async exceptions on transactional sends or acks result in the transaction being marked rollback only and commit failing with an exception. Test that shows current state of play using alwaySendSync or AsyncCallback. rollbackOnlyOnAsyncException enabled by default.
2016-05-25 11:24:43 +01:00
gtully
f46b2927a4
fix intermittent ci failure - ensure no expiry before first dispatch
2016-05-24 10:47:34 +01:00
gtully
b4e35fe8a3
AMQ-4181 - revert mod to testQueueBrowserWith2ConsumersInterleaved which cause intermittent ci failure - browse is a snapshot at time of creation. tidy up some gaps in pagein logic sync
2016-05-23 13:29:39 +01:00
gtully
7c04aa9909
reduce test message size and quantity for ci
2016-05-20 15:37:24 +01:00
gtully
c2230fda4b
https://issues.apache.org/jira/browse/AMQ-6286 - refine fix to distinguish multiple consumers in a transaction, verify insertion at head will preserve order
2016-05-18 10:09:39 +01:00
Timothy Bish
a2720c4653
https://issues.apache.org/jira/browse/AMQ-6293
...
Clean up the test, the times were causing CI failure. Turn off
persistence and fix a couple other things, reduced time to 2.5 secs
while still reproducing with fix removed.
2016-05-16 11:02:20 -04:00
Christopher L. Shannon (cshannon)
1241e4120a
https://issues.apache.org/jira/browse/AMQ-6293
...
Fixing Queue destination statistics in dropMessage by adding sync in
between the check for dropped and actually dropping the message plus
fixing dequeue stats so messages aren't counted twice
2016-05-14 16:20:41 +00:00
gtully
d7b5a62bb0
https://issues.apache.org/jira/browse/AMQ-6286 - variant on test with n consumers sharing a session
2016-05-13 15:50:13 +01:00
gtully
3c0a4d960e
unit test to verify matching durable sub can statically forward topic
2016-05-12 22:11:25 +01:00
Timothy Bish
71893f1434
Allow the HTTP test to have extra time to wait for all messages to
...
arrive as the transmission rate is much slower.
2016-05-10 10:59:12 -04:00
Timothy Bish
3da9b0720e
https://issues.apache.org/jira/browse/AMQ-5621
...
Remove hard coded port as the bridge brokers method doesn't need the
port to be fixed. Turn off JMX since the test doesn't use it.
2016-05-10 10:05:05 -04:00
Timothy Bish
809d5b9bc8
https://issues.apache.org/jira/browse/AMQ-5621
...
Clean up, remove sleep and some unused code.
2016-05-10 09:56:19 -04:00
gtully
604f707d4d
https://issues.apache.org/jira/browse/AMQ-6286 - refactor insertAtHead from pendinglist to ordered variant
2016-05-10 11:45:27 +01:00
gtully
f47b370573
https://issues.apache.org/jira/browse/AMQ-6286 extend strictOrderDispatch to retain order of redispatched messages for a single consumer
2016-05-09 23:06:19 +01:00
gtully
1a8e17fbc3
tidy up test
2016-05-09 12:51:28 +01:00
gtully
9fc2661049
validate selector aware vt can give topic semantics by dropping messages when there is no consumer. Do selector cache plugin once to avoid adaptor check on each dispatch
2016-05-06 17:12:15 +01:00
gtully
1de7e7e8a3
tackle ci intermittent failure - think with prefetch extension it is not guarenteed that second consumer will get a dispatch
2016-05-06 13:54:12 +01:00
gtully
fc9ad9f023
tackle intermittent ci failure, think possibe all messages are dispatched before pause
2016-05-06 12:17:07 +01:00
gtully
9a35c3731b
fix ci failure when less than 4% disk space
2016-05-06 12:10:26 +01:00