Commit Graph

63 Commits

Author SHA1 Message Date
Matt Pavlovich 9db69bc299 [AMQ-9323] Migration to jakarta-based jaxb 2023-10-20 16:08:25 -05:00
Matt Pavlovich 4faad74272 [AMQ-9239] jakarta.jms - activemq-runtime-config, activemq-shiro changes 2023-08-24 09:45:31 -05:00
Christopher L. Shannon (cshannon) ed924cddac AMQ-9202 - Make sure Reentrant locks are acquired outside a try block
This is best practice and will prevent unlock from being attempted
inside of a finally block when the thread doesn't actually own the
lock which can happen when the lock attempt throws an exception
such as calling lockInterruptibly()
2023-02-01 11:19:24 -05:00
Christopher L. Shannon (cshannon) 76f612600d AMQ-9157 - Add a new optional advisory for dispatched messages 2022-11-03 14:30:33 -04:00
Zishuo Ding f2c9a6c718 Refine the logging messages 2022-05-11 14:46:31 -04:00
Jean-Baptiste Onofré e597017200
Merge pull request #662 from jbonofre/AMQ-7426
[AMQ-7426] Upgrade to log4j2
2022-02-27 13:23:53 +01:00
Matt Pavlovich 9956dd602a
[AMQ-8440] Set sendDuplicateFromStoreToDLQ to 'false' by default (#773) 2022-02-24 08:45:35 -06:00
jbonofre 472dcf8497 [AMQ-7426] Upgrade to log4j2 2022-02-24 15:20:51 +01:00
Matt Pavlovich 9d8ee0d3b7 [AMQ-8397] Add unit tests for AMQ-8397 2022-02-08 22:19:57 -06:00
Matt Pavlovich 950a140455 [AMQ-8282] Migrate from deprecated .newInstance() calls to .getConstructors().newInstance 2021-06-02 08:30:36 -05:00
Jean-Baptiste Onofré fc80b86ac6
[AMQ-7442] Support JDK11 full build and code style (#647) 2021-05-25 06:55:39 +02:00
jbonofre c83f7e9aa8 [AMQ-6899] Use generic spring schema name (working with any Spring version) in RuntimeConfigurationPlugin 2020-12-02 16:50:58 +01:00
Colm O hEigeartaigh 930b18df65 AMQ-7512 - Consolidate XBean byte parsing 2020-07-10 17:22:09 +01:00
Pascal Schumacher 67e06c82f7 Fix some javadoc warnings releated to non-existing parameter names. 2020-05-17 11:38:05 +02:00
Colm O hEigeartaigh a87b61e8be Enable secure processing on all DocumentBuilderFactory.newInstance() 2018-11-22 10:24:43 +00:00
gtully b488df694c AMQ-7037 - allow sslContext attribute of networkConnector to be added via runtime config plugin jaxb processor 2018-08-22 12:20:21 +01:00
Christopher L. Shannon (cshannon) 2ce1c1352f AMQ-6901 - Make sure proper policy is used to configure a destination
When multiple wildcard policies exist in a hierarchy it was possible for
the wrong policy to be selected when configuring a destination
2018-02-16 10:41:33 -05: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 ef97b67f00 avoid jmx 1099 port clash - no need to create connector for these tests that use the internal mbean server 2016-12-21 11:03:49 +00:00
Hadrian Zbarcea be24a133ef This closes #88 (merged as a65ac586). More file permissions fixes. 2016-11-03 14:26:34 -04:00
gtully 52ab6ba09b AMQ-6471 - map groupClass attribute on mod to authorization map. fix and test 2016-10-20 12:32:33 +01:00
gtully c1e94c6158 NO-JIRA - remove info logging of config mods, add sanity test of mod to write acl for authorization plugin 2016-10-05 17:08:46 +01:00
Christopher L. Shannon (cshannon) 8e2176d93c https://issues.apache.org/jira/browse/AMQ-6109
The chooseValue method in DestinationMap will now always return the
exact match, if there is one, else it will then sort as before.
2015-12-28 16:41:14 +00:00
Christopher L. Shannon (cshannon) fc4c697d44 NO JIRA - cleanup imports 2015-12-22 13:11:28 +00:00
Christopher L. Shannon (cshannon) a253ad3c71 https://issues.apache.org/jira/browse/AMQ-6091
The JavaRuntimeConfigurationBroker can now apply a subset of policy
properties retrospectively to existing destinations versus applying
all properties of the policy update.
2015-12-17 14:35:50 +00:00
Christopher L. Shannon (cshannon) 9e7fae0d83 https://issues.apache.org/jira/browse/AMQ-6088
The runtime plugins will now find the exact policy to update which means
that a destination can match more than one policy and the policy can
still be updated at runtime.

The java runtime broker also supports the ability to replace or add a
policy entry based on a flag on a new method call.
2015-12-14 19:03:06 +00:00
Christopher L. Shannon (cshannon) cc81680e10 https://issues.apache.org/jira/browse/AMQ-6027
Adding support for consumers on virtual destinations to create network
demand. This behavior is turned off by default but can be enabled.

For example, if a consumer comes online for a queue that is part of a
VirtualTopic, this will cause a network of brokers to forward messages
because a demand subscription will be created. Same for if a consumer
comes online for a forwarded destination from a composite
destination.

There is also an option to enable flow based on the existence of a
virtual destination if the virtual destination is forwarding to a
Queue.

Full configuration instructions for this feature will be on the wiki page.
2015-11-09 20:07:43 +00:00
Christopher L. Shannon (cshannon) 5db9af8b24 https://issues.apache.org/jira/browse/AMQ-6035
Adding a flag to be able to specificy when to apply changes immediately
after updating the virtual destinations using the Java runtime plugin.
2015-11-05 13:34:08 +00:00
Christopher L. Shannon (cshannon) 43c3cae2c0 https://issues.apache.org/jira/browse/AMQ-5915
Adding a new JavaRuntimeConfigurationBroker which allows dynamic
changes to parts of the broker through a Java api instead of
just through xml configuration.  This is useful if starting a broker
with java config and not using xml.  It is also useful for temporary
changes that shouldn't be persisted.
2015-10-20 13:53:01 +00:00
gtully 4a603a9936 AMQ-5895 - apply patch with thanks to Anders Aaberg 2015-07-29 12:49:29 +01:00
Dejan Bosanac 10c47d69d7 https://issues.apache.org/jira/browse/AMQ-5644 - fixing the test as many assumptions in it are not correct and were working previously only cause of this bug 2015-03-13 14:16:58 +01:00
Dejan Bosanac bbc039fceb https://issues.apache.org/jira/browse/AMQ-5305 - modify <destination> element with runtime configuration plugin 2014-08-28 14:08:41 +02:00
Hadrian Zbarcea 5b7bc9057f Update poms to fully load into M2E. Thanks dkulp 2014-07-10 13:47:55 -04:00
Dejan Bosanac 14fcd7cbea https://issues.apache.org/jira/browse/AMQ-5160 - make runtime configuration plugin work properly with destination filters 2014-06-03 13:26:43 +02:00
Dhiraj Bokde 94b404d0ab Fixed AMQ-5160, allowed wildcard subscriptions for future destinations, added tests for wildcard authorization, fixed consumer and producer AdvisoryTopic names for composite destinations by replacing ',' with '&sbquo;' 2014-05-05 10:06:06 +02:00
Dhiraj Bokde a38a7c0093 Initial fix for AMQ-5160 to support subscription authorization for destination filters 2014-05-05 10:06:06 +02:00
Dejan Bosanac 907660d2cf https://issues.apache.org/jira/browse/AMQ-4995 - add xml config file for the test 2014-01-29 11:35:05 +01:00
Dejan Bosanac 713250f5f0 https://issues.apache.org/jira/browse/AMQ-4995 - more fixes 2014-01-28 16:08:53 +01:00
Dejan Bosanac 55da9bc821 https://issues.apache.org/jira/browse/AMQ-4995 - reapply destination interceptor after change 2014-01-28 14:53:18 +01:00
Timothy Bish 3a8ee81154 update ignore settings. 2013-12-04 10:00:41 -05:00
gtully eead6e5110 https://issues.apache.org/jira/browse/AMQ-4905 - resolve by embedding spring xsd 2013-11-27 16:04:14 +00:00
gtully 2fd52c9dcf https://issues.apache.org/jira/browse/AMQ-4682 - add removal modification test 2013-11-12 16:50:05 +00:00
gtully 67a7d30b47 https://issues.apache.org/jira/browse/AMQ-4849 - runtime modifications to simpleAuthenticationPlugin plugin implemented with test 2013-11-05 20:38:23 +00:00
gtully 4109b79059 https://issues.apache.org/jira/browse/AMQ-4843 - implement and test for composite virtual destinations - forwardTo 2013-11-04 13:55:21 +00:00
gtully da45d994ac https://issues.apache.org/jira/browse/AMQ-4821 - refix; we now use any referenced factorybean for default properties 2013-10-24 22:09:16 +01:00
gtully 043a4ad4ff https://issues.apache.org/jira/browse/AMQ-4820 - find elements by ns and local name to deal with namespace prefix. Ensure we trap all errors on plugin start so we don't cause a failed broker start, and trap no broker element with a better error 2013-10-24 13:00:04 +01:00
gtully 4f108cead5 fix up missing license headers - keep mr. rat happy :-) 2013-10-10 11:41:58 +01:00
gtully 77a9ade207 https://issues.apache.org/jira/browse/AMQ-4682 - add support for mb/kb limit suffix and add karaf itest, fix up spring context in pid factory 2013-10-07 19:59:36 +01:00
gtully 1fdc2c477b https://issues.apache.org/jira/browse/AMQ-4682 - take account of granularity of filesystem lastModified in tests, > 2seconds, resolved intermittent failures 2013-10-03 16:17:01 +01:00
gtully 531d67cd13 https://issues.apache.org/jira/browse/AMQ-4682 - remove unecessary stack trace from info log re no mapping to getContents - usefull only for dev/debug 2013-10-03 13:53:21 +01:00