$headername = 'value still works?

2010-09-17 Thread Illtud Daniel
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

Re: $headername = 'value still works?

2010-09-18 Thread Illtud Daniel
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

Re: $headername = 'value still works?

2010-09-19 Thread Illtud Daniel
_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

Re: $headername = 'value still works?

2010-09-20 Thread 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

Re: $headername = 'value still works?

2010-09-21 Thread Illtud Daniel
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

Re: Controlling how, and which messages, a JMS Consumer pulls

2010-10-04 Thread Illtud Daniel
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

Re: XML performance concerns

2010-12-07 Thread Illtud Daniel
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

Importing routes from other XML files

2010-12-07 Thread Illtud Daniel
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

Re: Importing routes from other XML files

2010-12-07 Thread Illtud Daniel
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