https://github.com/d0k1/artemis-queue-filtering
How to filter a JMS Queue
https://github.com/d0k1/artemis-queue-filtering
apache-activemq-artemis artemis-mq jms jms-client
Last synced: 7 months ago
JSON representation
How to filter a JMS Queue
- Host: GitHub
- URL: https://github.com/d0k1/artemis-queue-filtering
- Owner: d0k1
- Created: 2018-08-01T05:37:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-01T10:56:23.000Z (almost 8 years ago)
- Last Synced: 2025-08-02T12:38:25.304Z (10 months ago)
- Topics: apache-activemq-artemis, artemis-mq, jms, jms-client
- Language: Java
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JMS queue filtering
This simple example shows a technique for dropping some messages from a queue of Apache ActiveMQ Artemis.
I wanted to avoid a lot of broken messages being processed, so I created this simple example.
This application connects to a broker, and receives messages one by one. When it receives a broken message the app just acknowledges it. Artemis removes acknowledged message from a queue.
On the other hand, when the app receives a valid message, the app send it back to the queue.