You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by cmoulliard <cm...@gmail.com> on 2008/07/18 12:53:47 UTC

How to transpose this route in Spring XML ?

hi,

How can I transpose this splitter route (where there is no XPATH expression)
into XML ?

from("direct:A")
.splitter(body())
.to("bean:MyBean")

or 

from("direct:A")
.splitter(body().tokenize(","))
.to("bean:MyBean")

It should be interesting to improve the documentation concerning this point.

Regards,

Charles Moulliard

-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : cmoulliard@xpectis.com
web site : www.xpectis.com 
-- 
View this message in context: http://www.nabble.com/How-to-transpose-this-route-in-Spring-XML---tp18526794s22882p18526794.html
Sent from the Camel - Users mailing list archive at Nabble.com.


RE: How to transpose this route in Spring XML ?

Posted by Claus Ibsen <ci...@silverbullet.dk>.
Yep the DSL are in badly need for improved documentation or documentation at all. 



Med venlig hilsen
 
Claus Ibsen
......................................
Silverbullet
Skovsgårdsvænget 21
8362 Hørning
Tlf. +45 2962 7576
Web: www.silverbullet.dk

-----Original Message-----
From: cmoulliard [mailto:cmoulliard@gmail.com] 
Sent: 18. juli 2008 12:54
To: camel-user@activemq.apache.org
Subject: How to transpose this route in Spring XML ?


hi,

How can I transpose this splitter route (where there is no XPATH expression)
into XML ?

from("direct:A")
.splitter(body())
.to("bean:MyBean")

or 

from("direct:A")
.splitter(body().tokenize(","))
.to("bean:MyBean")

It should be interesting to improve the documentation concerning this point.

Regards,

Charles Moulliard

-----
Enterprise Architect

Xpectis
12, route d'Esch
L-1470 Luxembourg

Phone +352 25 10 70 470
Mobile +352 621 45 36 22

e-mail : cmoulliard@xpectis.com
web site : www.xpectis.com 
-- 
View this message in context: http://www.nabble.com/How-to-transpose-this-route-in-Spring-XML---tp18526794s22882p18526794.html
Sent from the Camel - Users mailing list archive at Nabble.com.