Do this: <compositeTopic name="Vera.>" forwardOnly="false">
On Sun, Nov 17, 2013 at 8:05 AM, Joacim <4integrat...@gmail.com> wrote: > Hi, > > I tested composite topic but doesn't work as I would expect it. > This will send all publications with topic Vera/# to the queue VERA.EVENTS > but the publications isn't published so other subscribers is not possible > unless they also is defined with physical queue. > ...or have I done it wrong?! > > Also a bit odd to have > in the XML but seems to work even if invalid :) > > <destinationInterceptors> > <virtualDestinationInterceptor> > <virtualDestinations> > <compositeTopic name="Vera.>"> > <forwardTo> > <queue physicalName="VERA.EVENTS" /> > </forwardTo> > </compositeTopic> > </virtualDestinations> > </virtualDestinationInterceptor> > </destinationInterceptors> > > Any ideas are welcome. > > > > / Joacim > > -----Original Message----- From: James Carman > Sent: Saturday, November 16, 2013 5:11 PM > To: users@activemq.apache.org > Subject: Re: Durable subscription to queue > > > ActiveMQ allows you to set up Composite Destinations. That might help: > > http://activemq.apache.org/virtual-destinations.html > > > On Sat, Nov 16, 2013 at 10:02 AM, Christian Posta > <christian.po...@gmail.com> wrote: >> >> you could use Apache Camel to do that. >> check out this cool new component that would make it fairly easy: >> http://activemq.apache.org/broker-camel-component.html >> >> On Sat, Nov 16, 2013 at 3:26 AM, Joacim <4integrat...@gmail.com> wrote: >>> >>> Hi, >>> >>> I am publishing messages on topic “Vera/DeviceId/Variable” and I have a >>> queue named “VERA.EVENTS”. I would like to create a subscription statically >>> in ActiveMQ which subscribe to “Vera/#” and put these messages to >>> “VERA.EVENTS”. >>> >>> How can I configure that in ActiveMQ?? >>> >>> / Joacim >>> >>> >> >> >> >> -- >> Christian Posta >> http://www.christianposta.com/blog >> twitter: @christianposta > > -- Christian Posta http://www.christianposta.com/blog twitter: @christianposta