hi all,

what i am trying to accomplish is publish-subscribe pattern.
The subscribers are dynamic (come and go at will).
There is a static endpoint which receives subscribe request.
Request contains URL where the subscriber expects messages to be delivered
as well as filtering rules.
I add vm:tmpQueue_n to the recipientList and add route
from("vm:tmpQueue_n").process(filter).to(URL).
When the subscriber send unsubscribe, I remove the entry from the
recipientList (vm:tmpQueue_n), and remove the route. 
Q1. Is it ok to remove routes from the context which is already started? 
Q2. When the subscriber dies, the CXF endpoint attempts (i believe 6)
redeliveries. What is the best way to hook "unsubscribe" to failed delivery?

Pawel 


-- 
View this message in context: 
http://www.nabble.com/publish-subscribe-tp19357407s22882p19357407.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to