camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen" ...@silverbullet.dk>
Subject RE: How to transpose this route in Spring XML ?
Date Fri, 18 Jul 2008 11:29:15 GMT
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.


Mime
View raw message