This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reject Dupicate messages in ActiveMq.

 
Pankaj Shet
Ranch Hand
Posts: 300
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: 300
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