I have the endpoint defined as ftp://host/incoming?move=processed. How would I make sure that the file has been moved to “processed” directory using camel test infrastructure? How would I interecept this? Is Camel creating a separate endpoint for “processed”?
I have the endpoint defined as ftp://host/incoming?move=processed . How would I make sure that
Share
No there is no extra endpoint in that process. The file is moved using the FTP API.
You can test it either by consuming the file from the FTP server afterwards using the Camel API for that, for example with a consumer template. Something alike this: