Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.9.0
-
<runtimeConfigurationPlugin checkPeriod="1000"/>
Description
Add support for runtime additions of the form:
<destinationInterceptors><virtualDestinationInterceptor><virtualDestinations> <compositeQueue name="VirtualDestination.CompositeQueue"> <forwardTo> <queue physicalName="VirtualDestination.QueueConsumer"/> <topic physicalName="VirtualDestination.TopicConsumer"/> </forwardTo> </compositeQueue></virtualDestinations></virtualDestinationInterceptor></destinationInterceptors>
currently composite dest runtime addition results in NPE:
Caused by: java.lang.NullPointerException at org.apache.activemq.broker.region.virtual.CompositeDestinationFilter.send(CompositeDestinationFilter.java:53) at org.apache.activemq.broker.region.AbstractRegion.send(AbstractRegion.java:394) at org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:442) at org.apache.activemq.broker.jmx.ManagedRegionBroker.send(ManagedRegionBroker.java:283) at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:147) at org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:96) at org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:307) at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:147) at org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:147) at org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:152) at org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:467) at org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:751) at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292) ..