Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
2.12.1
-
Mac OS X, Java 7
-
Unknown
Description
I noticed that using
onCompletion().bean(StopRoute(ID));
from("stream:url?url=...").to("stream:file?fileName=...").routeId(ID);
the bean StopRoute (which stops and removes the route) gets called before the transfer is complete, actually it gets called in the very beginning of the transfer after a non-predictable number of bytes gets transferred.
This behavior is not documented, so I think it's possibly a bug.
Please excuse me if I'm wrong.