I wrote the following directions into activemq.xml
When I omit the inner <virtualDestinationInterceptor> then the
incming msgs are mirrored successfully as intended to the Topic
myqueue22.qmirror

But when I want to forward them from this Topic into a second queue
myqueue22_log everything fails. Even worse the incoming mirrors are not
mirrored 
any more or in some constellations they are mirrored to
a topic ActiveMQ.Advisory.ConsumerTopic.myqueue22.mirror (not .qmirror !).

So whats wrong?

Mind the two different instructions inside <destinationInterceptors/>!

  <broker ....>
    ...
    <destinationInterceptors>
      <mirroredQueue copyMessage="true" postfix=".qmirror" prefix=""/>

      <virtualDestinationInterceptor>
        <virtualDestinations>
          <compositeTopic name="myqueue22.qmirror">
            <forwardTo>
              <queue physicalName="myqueue22_log" />
            </forwardTo>
          </compositeTopic>
        </virtualDestinations>           
      </virtualDestinationInterceptor>
    </destinationInterceptors>
   ...
  </broker>

-- 
View this message in context: 
http://old.nabble.com/Why-do-MirroredQueues-not-work-with-virtualDestinations--tp29174562p29174562.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to