montjet
montjet

Reputation: 635

Filter messages by content property

I am using ActiveMQ Artemis 2.17.0. I am trying to filter messages by content property using this field:

enter image description here

Sample message content:

{test:1}

For example I want to serach every message with test equal to 1. How can I do that?

Upvotes: 3

Views: 1666

Answers (1)

ActiveMQ Artemis web console allows to browse messages on a queue and apply a filter.

Until ActiveMQ Artemis 2.15 the messages are filtered at the client side and you can use the body keyword to filter the messages by their content. However filtering messages at the client side is inefficient and inconsistent.

Since ActiveMQ Artemis 2.16 the messages are filtered at the broker side using a filter but you can not filter the messages by their content.

ActiveMQ Artemis 2.18 will support xpath filters to filter the messages by their content, see ARTEMIS-3137 for further details.

Upvotes: 2

Related Questions