lid xpath: $foo = 'true'.
I know that "$foo = 'true'" isn't valid xpath, but isn't it camel's
way of matching message headers? It worked in the version shipping
with 5.3.x and I'm following the docs here:
http://camel.apache.org/content-based-router
tween camel 2.0 & 2.4.0? Is that still
the proper way to match on headers (using xpath?). It doesn't
work for me anymore.
--
Illtud Daniel illtud.dan...@llgc.org.uk
Prif Swyddog Technoleg Chief Technical Officer
Llyfrgell Genedlaethol Cymru National Library of Wales
_true, regardless of the value
of the foo header.
I'm using stomp, BTW, to create the message in the first place, which
may have a bearing on the problem. I can see the message properties
(headers) in the activemq console, but I can't tell what type they
are.
.
--
Illtud Daniel
Thanks Claus, you've been very helpful
Claus Ibsen wrote:
On Sun, Sep 19, 2010 at 5:59 PM, Illtud Daniel
wrote:
Since the Content-Based Router EIP documents using
for content-based routing swiching on header values, does
this mean you can only do this if the content is XML? Seems
odd
On 20/09/10 08:41, Claus Ibsen wrote:
${in.header.foo}=='yes'
You need spaces around the operators
${in.header.foo} == 'yes'
Thanks, I've checked that and you're quite right. It works
fine with the cor
other things to do in the queue.
My solution would work for that, since there are separate queues.
The only issue is if your task hierarchy doesn't break down handily
like mine does (eg if Z could do A & E, but not the other tasks), but
you'd have pretty odd workers to have that scen
ation available? I'm thinking of DOM4J for
instance.
We've got a type translator for JDOM, if that's any use to you.
Mail me if you're interested.
--
Illtud Daniel illtud.dan...@llgc.org.uk
Prif Swyddog Technegol
on examples that
I'd like added, they take a while to work out if there's no example.
--
Illtud Daniel illtud.dan...@llgc.org.uk
Prif Swyddog Technegol Chief Technical Officer
Llyfrgell Genedlaethol Cymru National Library of Wales
x27;s
googling for this, by the way)
--
Illtud Daniel illtud.dan...@llgc.org.uk
Prif Swyddog Technegol Chief Technical Officer
Llyfrgell Genedlaethol Cymru National Library of Wales