Hi
Yeah you can use the same processor to handle messages from different routes.
There is a method on exchange that tells you the original endpoint
which created the Exchange.
getFromEndpoint
getFromRouteId
You can also just check if there is attachments, then its from mail etc.
Where as if not,
Hey All,
I am trying to write processor class that can process files retrieved from
different routes. Originally It was designed to handle email routes but I
also want to handle sftp, ftp or local file routes. However I am finding
that the ftp files are not delivered as a Message like an email is