On 11/10/2007, William Tam <[EMAIL PROTECTED]> wrote:
> The XML config example in the doc seems to be obsolete
> http://activemq.apache.org/camel/content-based-router.html.
Fancy editing that? :)
> I am
> trying to use the Simple language support. Does "${in.header.foo} =
> 'bar'" look right? I am trying to say "if in.header foo equals to
> 'bar'". It does not seem to work.
The simple language doesn't yet support predicates unfortunatey. I
recommend you use either EL, XPath or Groovy
http://activemq.apache.org/camel/languages.html
XPath is a good choice as it doesn't add any new dependencies; you can
evaluate XPath from camel-core.
--
James
-------
http://macstrac.blogspot.com/
Open Source SOA
http://open.iona.com