Thanks Claus, this works:

                    <choice>
                        <when>
                            <simple>${body.size} > 0</simple>
                            <marshal>
                                <csv />
                            </marshal>
                            <to
uri="file:/data/smartstore/outbound/?fileExist=Append"/>
                            <to uri="log:dump"/>
                        </when>
                    </choice>

-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Conditional-processing-in-Spring-DSL-tp3295646p3298814.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to