Hi all,
we want to use the simple expression language to decide how to route the message to different endpoints in an activemq camelcontext.
The information we need to make a routing decision is in the text body of the message.
I tried to make a filter like this , but this won't work:
Maybe someone has an idea, link, example or other solution, please tell me.
thanks
airber
You can't do comparisons within a simple expression. You can do this with another expression language like EL though. If you don't want to add any more dependencies (for EL, etc) you can try a custom bean expression.
Cheers,
Jon