Jonathan Gallimore
f1d0100832
Provide RMI registry implementation to prevent re-bind
2020-02-11 21:10:56 +01:00
Jean-Baptiste Onofré
6417d62f60
Merge pull request #428 from coheigea/AMQ-7376
...
AMQ-7376 - Use correct type for collections retrieval
2020-02-09 08:33:04 +01:00
Jean-Baptiste Onofré
85851f7ce8
[AMQ-7391] Minor typo fixed
...
Credit: Alexandre Fruchaud <mmacphail>
2020-01-28 10:46:48 +01:00
Colm O hEigeartaigh
127852d2e7
AMQ-7142 - Inserting Bouncy Castle Provider Early in Java Security Provider Chain Breaks KeyStore Loading
2020-01-27 10:43:39 +00:00
Colm O hEigeartaigh
675fb7bcae
AMQ-7376 - Use correct type for collections retrieval
2020-01-20 18:35:01 +00:00
Christopher L. Shannon (cshannon)
0c6f9a9a1e
AMQ-7352 - Add support for anonymous producer advisories
...
By default this behavior is turned off but can be enabled by setting
anonymousProducerAdvisorySupport on the BrokerService to true
2019-11-22 13:35:32 -05:00
Jean-Baptiste Onofré
dcb5ba1fb3
Merge pull request #275 from PascalSchumacher/BrokerService_fix_typo
...
BrokerService: fix typo in field and parameter name
2019-11-18 17:42:44 +01:00
Jean-Baptiste Onofré
f3f8271503
[AMQ-7301] Use warn for connection failure instead of error.
2019-11-12 15:19:13 +01:00
Jean-Baptiste Onofré
a5f0602505
Merge pull request #395 from couclock/AMQ-7312
...
AMQ-7312 virtualSelectorCacheBrokerPlugin addConsumer issue
2019-10-18 19:09:32 +02:00
gtully
4af6f40186
AMQ-6494 is related, fix intermittent failure of RedeliveryPolicyTest related to vm transport server being shutdown while in use via async onException handler
2019-10-03 11:08:05 +01:00
Dany LECOQ
86a069ac5d
AMQ-7312 virtualSelectorCacheBrokerPlugin addConsumer issue
2019-09-29 16:18:24 +02:00
gtully
644b529ef6
AMQ-7185 - rework to leave tx-inflight messages pending in the cursor to avoid duplicates on completion, fix and test
2019-09-24 17:32:54 +01:00
gtully
289750d7c9
AMQ-7308 - ensure kahadb message add does not auto create the message store in error, expect an existing store. fix and test
2019-09-20 10:22:56 +01:00
gtully
501d55337a
AMQ-7302 - make jmx ops that pageIn aware of cursor memory limits to avoid excessive looping, fix and test
2019-09-10 11:46:04 +01:00
gtully
fb2296ac74
AMQ-7270 - remove toggle on maxPageSize, request page in of entire queue only when cache is in play or broker is non persistent, fix and test
2019-08-07 17:47:59 +01:00
Christopher L. Shannon (cshannon)
09003e8fef
AMQ-7102 - Improve ManagedRegionBroker performance by replacing
...
registeredMBeans CopyOnWriteSet with a Concurrent hashmap backed set
2019-07-31 12:56:57 -04:00
Colm O hEigeartaigh
75023f2bed
Remove default "secret" password from the LDAPAuthorizationMap
2019-07-15 18:24:48 +01:00
Christopher L. Shannon (cshannon)
c7eff84058
AMQ-7238 - Ensure remoteId subscription map is also cleared when local
...
map is cleared inside DemandForwardingBridgeSupport
2019-07-08 08:38:34 -04:00
gtully
de3f77063f
AMQ-7234 - fix up memory usage wait timeout such that topic pfc in a transaction can see connection context state changes, fix and test
2019-06-21 16:55:13 +01:00
Christopher L. Shannon (cshannon)
dc56fa3f6e
AMQ-7228 - Avoid unnecessary lock contention when getting pending
...
metrics
2019-06-14 10:46:21 -04:00
gtully
7404b43f2d
AMQ-7193 - resolve intermittent NPE on duplex network connector start; wait for start completion before dispatching inbound messages, fix and test
2019-05-02 16:31:26 +01:00
Christopher L. Shannon (cshannon)
bf3a9f44f6
AMQ-7191 - Prevent extra creation of openwire verifier objects per new
...
connection when using the auto transport
2019-04-30 08:41:08 -04:00
gtully
487d4a112e
AMQ-7185 - track durable sub prepared acks in preCommit callback and release/remove on xa outcome, avoid duplicate delivery; fix and test
2019-04-17 14:31:11 +01:00
Christopher L. Shannon (cshannon)
ccf56875b0
NO-JIRA - Update spring schemas and missing license files
2019-03-15 07:24:31 -04:00
gtully
2d394b383c
AMQ-7167 - ensure remote IP is visible in acceptor error messages from the transport connector - test and fix
2019-03-13 10:21:19 +00:00
gtully
a000a73431
no jira - init throwable cause to identify error on shutdown
2019-03-13 10:14:06 +00:00
Alan Protasio
87467dc61e
AMQ-7159 - Adding a new attribute on PersistenceAdapterViewMBean to show information about Storage write/read latency
2019-03-06 11:41:08 -08:00
Christopher L. Shannon (cshannon)
7fdad3a73d
AMQ-7151 - Remove dependency on Guava from activemq-broker
...
Guava is supposed to only be used for the leveldb store and as a test
dependency elsewhere but there is one spot it is used in activemq-broker for
filtering collections. With Java 8 this can be easily rewritten to avoid the use of Guava.
This commit is based on the patch submitted by Filip Hrisafov
2019-02-18 07:49:47 -05:00
Christopher L. Shannon (cshannon)
daea192eef
AMQ-7085 - Properly start TempUsage inside Queue start
...
This fix allows temp usage changes to the broker temp usage to propagate
properly to a Queue's temp usage settings
Patch applied with thanks to David Sitsky
2019-01-17 07:58:36 -05:00
hkesler
5c23dd53ad
AMQ7135 : do a purge before deleting the destination
...
(cherry picked from commit 9f513f8878
)
2019-01-14 13:44:52 -03:30
jgoodyear
4a21edc8d5
[AMQ-7126] Improvement to perf of 5266Test
2019-01-07 21:22:34 -03:30
gtully
8cc0c5ad6c
AMQ-7106 - fix pending stop support by avoiding sync through single shared status var - fix and test
2018-11-21 10:23:13 +00:00
gtully
9cb680c0ba
AMQ-7102 - don't track objectNames that have not been registered due to suppressMBean filter, fix and test
2018-11-15 17:45:18 +00:00
gtully
bc8c78cd32
AMQ-7009 - apply fix to memorymessagestore setBatch with thanks to Nezih BEN FREDJ for test and suggestion
2018-11-14 14:21:27 +00:00
gtully
d2b0affedb
AMQ-7094 - track the objectName with an annotated mbean such that the jmx audit log event can extract that target of an mbean operation, fix and test
2018-11-08 12:10:01 +00:00
gtully
f2cde24a62
AMQ-7088 - fix deadlock on remove add interaction from mqtt virtual topic sub use case
2018-11-01 10:11:08 +00:00
gtully
bf8eb08aca
AMQ-7086 - make kahadb gc/cleanup on shutdown optional to trade availability over disk usage for fast failover
2018-10-31 14:29:05 +00:00
gtully
9dd751149f
AMQ-7079 AMQ-7077 AMQ-6421 - check for consumers that have been destroyed
2018-10-18 16:49:29 +01:00
gtully
4dee173962
AMQ-7077 AMQ-6421 - tie queue consumer slow flag detection to abort slow consumer policy, fire advisory when set.
2018-10-17 11:04:47 +01:00
Christopher L. Shannon (cshannon)
3ac3a420a1
AMQ-7071 - Mark previously dispatched messages as redelivered if
...
connection for durable topic subscription is improperly closed leading
to a lastDeliveredSequenceId as unknown
2018-10-12 08:35:37 -04:00
gtully
5246151288
AMQ-7062 - have redelivery plugin ignore messages detected as duplicates
2018-09-26 11:22:59 +01:00
gtully
cae66f5d37
AMQ-6086 - variant with broker.schedulerSupport=true; same fix with additional test
2018-09-25 16:29:24 +01:00
gtully
cdbddcafa2
AMQ-7057 - support transport connector warnOnRemoteClose to suppress eof warnings on loadbalance or health check socket ping
2018-09-20 14:58:34 +01:00
Christopher L. Shannon (cshannon)
69fad2a135
Add support for hostname verification
2018-08-31 06:39:49 -04:00
gtully
54c56a0573
AMQ-7037 - add sslContext attribute to networkConnector, allow broker or jvm defaults to be overridden
2018-08-20 16:40:26 +01:00
gtully
50d27e7e54
AMQ-7035 - use NonCachedMessageEvaluationContext in place of MessageEvaluationContext to avoid unnecessary reference count management and subsequent leaks. Rework AMQ-6465 with additional JMX related tests
2018-08-15 16:21:57 +01:00
gtully
bdfa3394ad
AMQ-7030 - trap exceptions on future.get, fix and test
2018-08-02 14:45:31 +01:00
giliva
5b1412ddfd
Avoid overflow errors - see KAFKA-4290
...
Add test for overflow values
Bind test sockets to free ports
2018-07-27 08:32:36 -04:00
Christopher L. Shannon (cshannon)
b79fcd0a76
AMQ-7017 - Prevent ArithmeticException in ProducerBrokerExchange
...
Check for zero to prevent divide by zero error inside
getPercentageBlocked() method
Thank you to Matthew Stratton for the patch
2018-07-27 07:40:49 -04:00
gtully
0b76d3a0ea
AMQ-7021 - add unsynchronised accessors to destination map for usage with rw lock from abstract region; allow concurrent read of the destination map
2018-07-26 10:42:10 +01:00
gtully
c29d7477d0
no jira - fix warn formatting error
2018-07-05 11:54:22 +01:00
gtully
83514ef799
AMQ-7001 - ensure cursor pending cached id list is pruned of futures that end in an exception, fix and test
2018-07-03 21:18:36 +01:00
Jeff Genender
76490a2c7f
AMQ-7002 - Change jobid identifier to messageid format
2018-06-27 10:29:40 -06:00
gtully
e0aa091d9e
AMQ-7002 - ensure uniqueue jobids, fix and test via patch from Jamie goodyear applied with thanks
2018-06-27 14:14:44 +01:00
gtully
57a6f2373e
AMQ-6854 - ensure non null return in the event on no space to page in
2018-06-13 13:10:52 +01:00
gtully
1ebf186279
AMQ-3405 - rework fix to use original destination strategy which may be different from the default shared strategy. new test
2018-06-07 11:38:42 +01:00
gtully
6d14e4e85b
AMQ-6979 - fix test regression, avoid gc during shutdown such that the error check on the logging remains valid
2018-05-31 13:44:01 +01:00
gtully
cdb38b3275
AMQ-6979 - use scheduler as trigger task - do heavy lifting via the task runner executor, take care to trap errors to keep scheduler timer alive AMQ-5129
2018-05-30 22:03:50 +01:00
gtully
026c6f4403
AMQ-6967 - ensure there are some messages paged in for periodic expiry check if non are in memory
2018-05-21 14:26:45 +01:00
gtully
01384c714d
AMQ-6707 - fix destination filter delegate param, refactor-auto-gen method; jees
2018-05-18 14:44:05 +01:00
gtully
2eff835ee2
AMQ-6703 - fix regression in MBeanTest - StoreQueueCursor not sharing its audit - have purge use rollback and delegate to both cursors
2018-05-18 11:36:54 +01:00
gtully
8d3674be3d
AMQ-6707 - remove duplicated started state flag
2018-05-15 14:55:02 +01:00
gtully
09bf8f89b8
AMQ-6707 - ensure trace logging does not flip cacheEnabled flag outside required sync
2018-05-15 12:00:22 +01:00
gtully
573b366ca0
AMQ-6100 - use setOriginalDestination=false to make this behaviour optional b/c amqp cannot see the original dest property due to immutability of the message properties and folks can depend on the existing original destination behaviour
2018-05-10 10:55:15 +01:00
gtully
c1e7dbd53b
AMQ-6707 - fix trace log reporting in error
2018-05-09 12:17:29 +01:00
gtully
ea70e827c0
AMQ-6707 - JDBC XA recovery and completion.
...
ensure pending transactions are visible for recovery without restart
sync store and cursor size during and after completion
ensure pending messages are not visible to browsers
retain transaction state on jdbc error
a bunch of new tests around xa completion
2018-04-26 14:58:48 +01:00
Christopher L. Shannon (cshannon)
1d2226e6cf
Revert "AMQ-6947 - Make sure counters are updated correct on message drop"
...
This reverts commit 021c82859c
.
2018-04-18 12:34:18 -04:00
Christopher L. Shannon (cshannon)
7123534e1b
Revert "AMQ-6947 - Update Queue metrics on expiration"
...
This reverts commit 6e468b4540
.
2018-04-18 12:34:07 -04:00
Christopher L. Shannon (cshannon)
6e468b4540
AMQ-6947 - Update Queue metrics on expiration
...
The updated dropMessage method only decrements the destination metrics
if a message is removed from the pagedInMessages list to prevent
duplicate updates. There is also a case where we still need to update
metrics if the message never makes it into the pagedInMessages list in
the first place and that is on expiration so this patch fixes that. A
couple existing tests found this issue.
2018-04-18 09:04:11 -04:00
Christopher L. Shannon (cshannon)
021c82859c
AMQ-6947 - Make sure counters are updated correct on message drop
...
Only update metrics counters when message is removed from the
pagedInMessages list which is important to check in case of duplicates
2018-04-17 08:25:08 -04:00
Christopher L. Shannon (cshannon)
65b0f2ad0d
AMQ-6940 - Add flag to disable TopicSubscription in flight stats
...
To save memory usage in some use cases add a new flag to PolicyEntry
called useTopicSubscriptionInflightStats to allow disabling the
inflight stats
2018-03-29 13:25:36 -04:00
Christopher L. Shannon (cshannon)
f69fd6f002
AMQ-6940 - Reduce memory footprint for inflight statistics
...
For the TopicSubscription case we can reduce the inflight statistics
memory footprint by not storing the entire message reference for in
flight messages and instead just a subset of the information needed.
2018-03-29 09:00:26 -04:00
Christopher L. Shannon (cshannon)
5e2adc0ed7
AMQ-6924 - Fix StoreDurableSubscriberCursor non-persistent message add
...
StoreDurableSubscriberCursor now properly uses a timeout value when
attempting to add to the temporary store for non-persistent messages to
prevent an indefinite wait on free space
2018-03-09 07:41:09 -05:00
gtully
060817552d
[AMQ-4261] use WARN level for producer flow control events, DEBUG if blockedProducerWarningInterval=0
2018-03-02 12:17:24 +00:00
gtully
82c9f9531e
[AMQ-6907] add selectorAware option to conditionalNetworkBridgeFilterFactory such that replay back to origin can happen if there are no matching local consumers
2018-02-28 16:07:52 +00:00
gtully
efaf9cd77e
[AMQ-6906] jdbc store; ensure rolled back prepared ack messages are recovered asap
2018-02-28 13:31:12 +00:00
Pascal Schumacher
ecb404b3eb
BrokerService: fix typo in field and parameter name
2018-02-20 21:41:50 +01:00
gtully
dd2572bcb1
[AMQ-6891] test and fix non tx variant of this leak
2018-01-30 10:51:30 +00:00
Christopher L. Shannon (cshannon)
e5de25f4fc
NO-JIRA: Add missing license headers
2018-01-29 08:10:50 -05:00
gtully
f96a20e831
[AMQ-6891] apply fix and test from Radek Kraus with thanks. Pending cursor adds are now dropped on rollback
2018-01-26 13:18:00 +00:00
gtully
8c77e9553e
[AMQ-6880] fix filter match logic when transport connector updateClusterFilter is in play
2018-01-03 16:07:06 +00:00
Łukasz Dywicki
a8a032af09
AMQ-6861 Allow customisation of network bridge creation logic.
2017-12-20 22:00:54 -05:00
Christopher L. Shannon (cshannon)
56baba96c6
AMQ-6875 - Use the correct destination for Virtual destination consumers
...
when using Virtual Topics
2017-12-14 16:01:10 -05:00
gtully
9d98ee253f
sync code default with config default to use jvm mbean server
2017-11-24 10:36:52 +00:00
gtully
151e17abfe
[AMQ-6854] - periodic log warn on store limits reached in the same way
2017-11-21 14:56:02 +00:00
Christopher L. Shannon (cshannon)
08aa5118ff
(AMQ-6858) - add extra precautionary check for demand subs
...
also remove test that intermittently fails with timing issues
2017-11-16 07:44:33 -05:00
Christopher L. Shannon (cshannon)
6013441a9a
AMQ-6858 - handle resync of network proxy durables after restart
...
We need to properly handle the re-addition of network proxy durables
after the brokers are restarted so removal is done properly
2017-11-15 08:56:43 -05:00
Christopher L. Shannon (cshannon)
3ca439cada
AMQ-6858 - Allow configuration of the client Id token in network bridge
...
The client id token that is used to separate parts of a generated local
client id in a network bridge should be configurable so bridge names and
broker names can contain underscores if desired
2017-11-14 15:23:26 -05:00
Christopher L. Shannon
41211c78d1
AMQ-6858 - reworking durable subscription propagation fix
...
Significantly reworking previous fix so that the client id is properly
changed when tracking network proxy subscriptions. This makes it so
removal is done properly
2017-11-13 11:07:43 -05:00
Christopher L. Shannon (cshannon)
96ce14b278
AMQ-6858 - Fix several durable subscription bridge propagation issues
...
Durable network proxy subs will now be properly created across multiple
bridges when 3 or more brokers are used. Demand will be properly synced
and removed.
2017-11-09 11:21:18 -05:00
gtully
b29ccf3488
[AMQ-6854] log warn if page in is blocked on usage preventing dispatch. Reuse blockedProducerWarningInterval to tweak reporting
2017-11-02 16:04:30 +00:00
gtully
03b19b9da4
[AMQ-6847] limit the retry loop to one iteration overa all pending messages such that new additions are not replayed to avoid duplicates
2017-11-01 11:26:36 +00:00
gtully
2ea5d1420b
[AMQ-6847] pause dispatch for message move to avoid redelivery with pending ack/remove/audit rollback
2017-10-27 11:40:06 +01:00
gtully
8e576be1d9
[AMQ-6849] - fix sendFailIfNoSpaceAfterTimeout policy entry default value
2017-10-26 11:36:03 +01:00
gtully
6da08b245e
[AMQ-6849] provide a virtualTopic dropOnResourceLimit attribute, default to false.
...
Enabling will allow dispatch to continue even when end to some consumer queues
fail due to resource constraints.
The existing systemUsage sendFailIfNoSpace and sendFailIfNoSpaceAfterTimeout are
promoted to destination policy options allowing selective destinations to fail a
send with an exception. The global system usage options are still in place.
When dropOnResourceLimit=true dispatch will continue in the event that any
subscription queue throws a resource limit exception on send failure.
2017-10-25 14:53:20 +01:00
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
Erik Wramner
c691124d32
AMQ-6808 preserve destination for browsed scheduled messages
2017-09-15 09:02:36 -04: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