activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Bertram <jbert...@apache.com>
Subject Re: Valid Artemis Filter content
Date Mon, 23 Nov 2015 15:19:34 GMT
As far as I can tell filter expressions only work on message properties.


Justin

----- Original Message -----
From: "UrgeToSplurge" <angusmca@btinternet.com>
To: users@activemq.apache.org
Sent: Monday, November 23, 2015 7:59:37 AM
Subject: Valid Artemis Filter content

Hello all,

I have scoured both the Artemis/HornetQ documentation, and every forum
going, and have not found an answer to this question, so am posting here.

We have a use case which entails a divert queue (core, not JMS), taking a
subset of messages from a JMS queue on the same server, accomplished using a
filter.  So far so good.

Our challenge is that we would ideally like to filter the messages based on
a particular JSON string in the message *body*, rather than a message
property.  The documentation isn't explicit as to whether this is possible
or not.  We'd rather avoid publishing all content in the message properties,
if we can, since this would render the body effectively redundant.

Could someone clarify whether this is possible, and if so, how?

For reference, we are using HornetQ 2.4.1 embedded in Wildfly 8.1.

Many thanks,

Angus



--
View this message in context: http://activemq.2283324.n4.nabble.com/Valid-Artemis-Filter-content-tp4704185.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message