Commit Graph

46 Commits

Author SHA1 Message Date
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
gtully 4a01e40cb4 see to gets some more detailed info for jenkins intermittent failures of runtime config mods 2013-10-02 00:31:11 +01:00
gtully 8550f93031 https://issues.apache.org/jira/browse/AMQ-4682 - add original lastupdate time to info message 2013-10-01 13:02:17 +01:00
gtully 8d4fef8af2 https://issues.apache.org/jira/browse/AMQ-4682 - support values and list/values for PropertyPlaceholderConfigurer locations 2013-09-03 12:21:48 +01:00
gtully 634a81898c https://issues.apache.org/jira/browse/AMQ-4682 - use spring.schemas for spring.xsd resolution - use brokerContext for configurationurl, support property PropertyPlaceholderConfigurer locations and system prop replacement, nested networkConnector elements - excludedDestinations,dynamicallyIncludedDestinations etc. lists and sets of destination 2013-09-03 00:28:46 +01:00
Gary Tully 2ea02bc8fb https://issues.apache.org/jira/browse/AMQ-4682 - allow jaxb to validate with spring bean references - still need to pull schema from the classpath which needs a fix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1518373 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 20:32:20 +00:00
Gary Tully e8ea6cd95c https://issues.apache.org/jira/browse/AMQ-4682 - add support for mods and additions to destination policy - primitive attributes only
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1518009 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 22:02:07 +00:00
Gary Tully 4d3923a242 https://issues.apache.org/jira/browse/AMQ-4682 - remove stacktrace
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1517795 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 11:55:19 +00:00
Gary Tully 8d480b451a https://issues.apache.org/jira/browse/AMQ-4682 - support updates to authorizationPlugin/map/authorizationMap
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1517794 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 11:48:34 +00:00
Gary Tully a52c014648 https://issues.apache.org/jira/browse/AMQ-4682 - tidy imports and format
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1516652 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 22:52:17 +00:00
Gary Tully 8b8e726eec https://issues.apache.org/jira/browse/AMQ-4682 - add jmx mbean, manual update, validation and test refactor
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1516650 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 22:47:21 +00:00
Gary Tully 92860ae622 https://issues.apache.org/jira/browse/AMQ-4682 - implement virtualDestinationInterceptor runtime updates
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1516451 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 13:47:15 +00:00
Gary Tully 25a1dd071a https://issues.apache.org/jira/browse/AMQ-4682 - implement network connector modification, match, stop, apply restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1515461 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 15:18:55 +00:00
Gary Tully 3630a41fc9 https://issues.apache.org/jira/browse/AMQ-4682 - implement runtimeConfigurationPlugin that will track xml config and react to changes. simple verification via test that adds a new network connector on the fly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1513871 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 13:23:36 +00:00