give this a shot...
<choice>
<when>
<simple>${header.CamelFileName} regex '^prefix.*$'</simple>
<continue...route...here/>
</when>
</choice>
On Thu, Sep 5, 2013 at 8:58 AM, luixv <[email protected]> wrote:
> OK, thanks for your answer. How would you code this using spring xml?
>
> Luis
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-message-router-tp5738769p5738789.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta