activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <>
Subject Re: Filtering by Message subtype (e.g. TextMessage, MapMessage)
Date Fri, 06 Jan 2012 09:57:58 GMT
Didn't try it but you can see if you can set selector against
"JMSXMimeType" which is available for ActiveMQ messages and text message
has value "jms/text-message" for example. If not, and you control producer
side you can set different JMSType on different type of messages when
you're sending them and filter on that

Dejan Bosanac -
The experts in open source integration and messaging -
ActiveMQ in Action -
Blog -

On Thu, Jan 5, 2012 at 9:10 PM, io42 <> wrote:

> Is it possible for a consumer to filter incoming messages based on the
> message sub-type (e.g. Only receive MapMessage objects and TextMessage
> objects from a queue, but not any StreamMessage objects that are on that
> queue)?  If so, how?
> --
> View this message in context:
> Sent from the ActiveMQ - Dev mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message