I did a little modification to add routingKey to a queue routes. Thanks this I can make work my use case (great ! :)) ... Don't know if you're interested by the modification... Naturally the best would be to permit to define a durable transmission queue for the exchange routing (dynamic and static), but I do not know if it is easy to do...
I notice too there was a misunderstanding about how you route your messages from broker to broker in QPID. I was believing it was routing on GET (like ActiveMQ) because I read this on the broker federation documentation : "Messages published to the distributed exchange are forwarded to other brokers only if there are remote consumers to receive the messages. The dynamic binding protocol ensures that messages are routed only to brokers with eligible consumers." But in fact I don't need to open a JMS consumer on my remote destination to make the messages forward : the messages are delivered instantly in the remote broker and it's fine for me ! Thank you for your patience... ++ ffrenchm wrote: > > Using queue-routes is an interesting idea but could I create queue-routes > with direct exchange with a specified key work ? Looking at qpid-route it > seems not possible... > > ++ > > > Ted Ross wrote: >> >> Ted Ross wrote: >>> ffrenchm wrote: >>>> Hello, >>>> >>>> I've some questions about route configuration in QPID : >>>> >>>> Is there a way to force a dynamic route reconnection when a remote >>>> node is >>>> restarted ? (Currently I need to restart my local node and >>>> reconfigure my >>>> route) >>>> Is there a way to configure the internal routing queue durable and not >>>> auto-delete ? (Then if I stop my local node and if there is messages >>>> in my >>>> internal routing queue I will not lose my messages) >>>> >>>> Thanks >>>> >>> When you create the route using qpid-route, you can use the --durable >>> switch to make the route durable. >>> >>> -Ted >>> >> I just read your question more carefully. Creating a durable route >> means that the route will be automatically recreated when a broker >> restarts. It still will not make the federation queue durable. Rather, >> it will create a new private, auto-delete queue each time it restarts. >> >> You can declare a durable queue and use queue-routing (not dynamic) for >> federation if you like. >> >> -Ted >> >> >> --------------------------------------------------------------------- >> Apache Qpid - AMQP Messaging Implementation >> Project: http://qpid.apache.org >> Use/Interact: mailto:[email protected] >> >> >> > > -- View this message in context: http://n2.nabble.com/QPID-federation-limitations.-tp2503522p2510139.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
