Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reject Dupicate messages in ActiveMq.

 
Pankaj Shet
Ranch Hand
Posts: 294
Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
Anindya Roy
Ranch Hand
Posts: 76
 
Pankaj Shet
Ranch Hand
Posts: 294
Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic