[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Semantics of no local for a durable subscription
timfox
do-not-reply at jboss.com
Sun Sep 10 05:34:27 EDT 2006
Normally, if a message consumer is created with "no local" = true, then it won't receive any messages sent to it on the same connection the consumer is receiving on.
Durable subscriptions also can be created with "no local" specified, but this is a bit odd, since if a create a surable subscriber with no local = true, then close the subscriber, the subscription will still exist (since it is durable), but now what does no local mean, since it doesn't have a receiving connection?
Should it, or should it not receive a message from a particulat connection.
I think the only safe thing here is for the subscription to always receive messages irrespective of which connection they came from, and to filter them out on the receive.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970603#3970603
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970603
More information about the jboss-dev-forums
mailing list