File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Reject Dupicate messages in ActiveMq. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Reject Dupicate messages in ActiveMq." Watch "Reject Dupicate messages in ActiveMq." New topic
Author

Reject Dupicate messages in ActiveMq.

Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 219

Hi Guys,

I am using ActiveMq alongwith Spring in my project.
I want my queue to be configured to reject the duplicate messages.
I tried my level best to do so. I tried googling for the same. but could not get anything.
Can you people help me to achieve the same.?

Regards,
Pankaj


PANKAJ SHET
B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
Anindya Roy
Ranch Hand

Joined: May 11, 2014
Posts: 73
Please have a look http://camel.apache.org/idempotent-consumer.html and http://camel.apache.org/activemq.html


http://www.webtuts.in
Pankaj Shet
Ranch Hand

Joined: Sep 08, 2006
Posts: 219

Hi Anindya,

Thanks for reply, I don't want to use camel. I am using simple ActiveMq with spring.

I have written a logic for rejecting the duplicates in the java class. I want to use this class as a filter which will intercept the message before reaching the messagelistener.

I want to know how to configure that class as an activeMq filter plugin.


Regards,
-Pankaj.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reject Dupicate messages in ActiveMq.
 
Similar Threads
how does application connect/commincate to Message Broker + JMS
javax.naming .NameNotFoundException:
jms server interoperability (activemq & weblogic)
Multiple queue listeners
actveMQ 5.5 jndi is not working