Hi

On Wed, Sep 16, 2009 at 2:33 AM, themitchy <[email protected]> wrote:
>
> I'm trying to set up a filter in one of my routes.  I want to filter on the
> custom header 'system' that I'm adding but when you set headers with perl
> stomp client they show up as 'Properties' when I brows the message in amq.
> How would I filter these properties?
>
> I've tried
> <simple>${property.system} == 'foo'</simple>
>
> and
>
> <simple>${in.header.system} == 'foo'</simple>
>

The syntax seems right to me. You can use tracer to see how the
message "looks" like when Camel receives it.
Then you can check if the property is there that you need.

http://camel.apache.org/tracer


> But no luck.  Any suggestions?
> --
> View this message in context: 
> http://www.nabble.com/filtering-messages-sent-via-stomp-tp25463983p25463983.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to