You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by sap <pa...@gmail.com> on 2017/06/07 19:23:09 UTC

Camel moves the file despite "noop=true"

I have a route similar to below.

from("direct:start")
.to("sql:bla")
.pollEnrich("file:location?fileName=fname",aggregatorProcessor)
.to("http://bla")
.to("file:location?fileName=fname&noop=true")

Camel still moves the file in .camel subfolder. (There is no error/exception
thrown during the route execution)



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-moves-the-file-despite-noop-true-tp5802327.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel moves the file despite "noop=true"

Posted by sap <pa...@gmail.com>.
thanks, worked.



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-moves-the-file-despite-noop-true-tp5802327p5802329.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel moves the file despite "noop=true"

Posted by Taariq Levack <ta...@gmail.com>.
Hi
Noop applies to the consumer, try on the poll enrich.

Cheers


On 07 Jun 2017 21:23, "sap" <pa...@gmail.com> wrote:

I have a route similar to below.

from("direct:start")
.to("sql:bla")
.pollEnrich("file:location?fileName=fname",aggregatorProcessor)
.to("http://bla")
.to("file:location?fileName=fname&noop=true")

Camel still moves the file in .camel subfolder. (There is no error/exception
thrown during the route execution)



--
View this message in context: http://camel.465427.n5.nabble.
com/Camel-moves-the-file-despite-noop-true-tp5802327.html
Sent from the Camel - Users mailing list archive at Nabble.com.