[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Once and only once delivery?
timfox
do-not-reply at jboss.com
Mon Oct 9 14:39:16 EDT 2006
I suppose "once and only once delivery" only really applies to the *delivery* of messages from a queue (or durable sub).
It doesn't apply to sending a message to a queue.
However, if it's not possible to write a client that can guarantee it hasn't sent the same message more than once to the same queue, then I'm trying to understand how useful that is.
So here's the problem:
Write a JMS client that sends 10 and only 10 messages to a particular queue on a remote server, with a client that consumes those 10, and only those 10 messages.
Can anyone volunteer a solution?
Right now, I can't see how that is possible in JMS without using 2PC.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977046#3977046
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977046
More information about the jboss-dev-forums
mailing list