Hi,

I have a route that is processing a file. So the body is an input stream. I
want in some part of the route do two sequential operations. So I am using
something like that:

        from("direct:foo").multicast().to(
                "sql:truncate table X",
                "direct:continue");

If I do that, sql read a portion of the input stream. I can solve if I
change the route to

        from("direct:foo").streamCaching().multicast().to(
                "sql:truncate table X",
                "direct:continue");

But I do not want add streamCaching() only for the reason that sql component
can not configure to do not read the body. Is it possible configure sql
component to does not read message body?

Thanks,
Juan



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-SQL-component-How-configure-sql-component-to-doesn-t-try-read-the-body-tp5729434.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to