activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-4843) runtime config - support addition of composite virtual destinations - forwardTo
Date Mon, 04 Nov 2013 14:01:20 GMT

     [ https://issues.apache.org/jira/browse/AMQ-4843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Tully resolved AMQ-4843.
-----------------------------

    Resolution: Fixed

implementation and test in http://git-wip-us.apache.org/repos/asf/activemq/commit/4109b790

> runtime config - support addition of composite virtual destinations - forwardTo
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-4843
>                 URL: https://issues.apache.org/jira/browse/AMQ-4843
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.9.0
>         Environment: <runtimeConfigurationPlugin checkPeriod="1000"/>
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>              Labels: compositeDestination, runtimeConfiguration, virtualDestinations
>             Fix For: 5.10.0
>
>
> Add support for runtime additions of the form:{code}<destinationInterceptors><virtualDestinationInterceptor><virtualDestinations>
>       <compositeQueue name="VirtualDestination.CompositeQueue">
>         <forwardTo>
>           <queue physicalName="VirtualDestination.QueueConsumer"/>
>           <topic physicalName="VirtualDestination.TopicConsumer"/>
>         </forwardTo>
>       </compositeQueue></virtualDestinations></virtualDestinationInterceptor></destinationInterceptors>{code}
> currently composite dest runtime addition results in NPE:{code}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)
> ..{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message