0

The use case is that, if I have a payment request message to activemq queue, how can I purge the specific message if it not consumed (in case payment is reversed)?

omexIT
  • 111
  • 8

1 Answers1

0

Only the way I’m aware of is the filter during queue consuming:

https://docs.spring.io/spring-integration/docs/5.0.0.RELEASE/reference/html/messaging-routing-chapter.html#filter

Artem Bilan
  • 113,505
  • 11
  • 91
  • 118