Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4843

runtime config - support addition of composite virtual destinations - forwardTo

    XMLWordPrintableJSON

Details

    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)
      ..

      Attachments

        Activity

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: