activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hengyunabc <>
Subject How to filter message in virtual destinations?
Date Tue, 18 Jun 2013 08:37:20 GMT
My Message is TextMessage, and it's content is JSON string.
I know that use selector and filtered destinations can filter message.
But I don't want to set the jms message property.

I have read these pages:

I alse read some source under the package
I didn't found a easy way to filter the message.
I just want to define a class with a filter function, so I can do anything
what I want. For example:

class Myfilter implements Filter{
    public boolean doFilter(Message msg){

Is there anybody tell me how to do it?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message