camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject When().choice() & Filter() DSL not supported together !!
Date Wed, 09 Jul 2008 06:23:22 GMT

Hi,

I would lie to know why the following route cannot be configurated and if
there is a workaround ?

from("")
.choice()
.when.xpath("")
        .setHeader("name").xpath("")
        .filter().xquery("extract a part of the XML")
            .unmarshall()
        .to("queue:A")
        .end()
.otherwise().to("queue:B"); 

Regards,

charles
-- 
View this message in context: http://www.nabble.com/When%28%29.choice%28%29---Filter%28%29-DSL-not-supported-together-%21%21-tp18355221s22882p18355221.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message