activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sachindra Nath <Sachindra.N...@efi.com>
Subject RE: Can any one help me in dealing with duplicating messages for clustered web application
Date Thu, 10 Jul 2008 11:54:38 GMT
I believe that's the pub-sub behavior. A message on a topic should be sent to
all registered subscribers. If you need the message to be processed only
once, your should use queues instead.

Regards
Sachin

-----Original Message-----
From: Manish1985 [mailto:pramanish@gmail.com] 
Sent: Wednesday, July 09, 2008 4:06 PM
To: users@activemq.apache.org
Subject: Can any one help me in dealing with duplicating messages for
clustered web application


Hi All,

I want to cluster my web application and my web application is using JMS for
messaging.
Here if i run three jetty servers at that time the same message to the same
topic is sent
thrice and as a result it is also received thrice by single receiver.I can
handle it at receiver level from being received thrice but apart from this
way,is there any way in activeMQ itself to avoid same messages from being
stored multiple times in a given topic.( Like using unique message id if
activemq discard messages containing same messageids).

Please help me ASAP.
Thanx in advance.

Regards,
Manish
-- 
View this message in context:
http://www.nabble.com/Can-any-one-help-me-in-dealing-with-duplicating-message
s-for-clustered-web-application-tp18358668p18358668.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message