You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by MichaelAtSAG <me...@gmail.com> on 2011/12/05 17:22:43 UTC

Same thing?

Are these two Spring XML expressions functionality equivalent?

(1)
<choice>
	<when>
		<xpath>
			$evtType = 'PartInventoryLow'
		</xpath>

(2)
<choice>
	<when>
		<language language="xpath">
			$evtType = 'PartInventoryLow'
		</language>

Thanks!
Michael

--
View this message in context: http://camel.465427.n5.nabble.com/Same-thing-tp5049364p5049364.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Same thing?

Posted by MichaelAtSAG <me...@gmail.com>.
Excellent, thanks Claus.

--
View this message in context: http://camel.465427.n5.nabble.com/Same-thing-tp5049364p5049406.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Same thing?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yes the should be the same.


On Mon, Dec 5, 2011 at 5:22 PM, MichaelAtSAG <me...@gmail.com> wrote:
> Are these two Spring XML expressions functionality equivalent?
>
> (1)
> <choice>
>        <when>
>                <xpath>
>                        $evtType = 'PartInventoryLow'
>                </xpath>
>
> (2)
> <choice>
>        <when>
>                <language language="xpath">
>                        $evtType = 'PartInventoryLow'
>                </language>
>
> Thanks!
> Michael
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Same-thing-tp5049364p5049364.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/