Hi, is this good or bad?
I'm going to implement a custom GenericFileProcessStrategy for an SFTP
"from" endpoint. The custom strategy's GenericFileProcessStrategy.begin() is
going to check if the node is the master of the cluster and if not, abort
processing. This is to work around the SFTP endpoint when it tries to GET
the file before ever trying to evaluate route policies (such a
run-on-master-only). 

Is this kosher? Will this cause issues with future releases of camel to have
this custom code? I'd like to do this, as camel (currently allows for it and
explicitly has hooks to let you do it), but an architect prefers we don't
have this custom code. But this seems to be the proper most concise camel
way of doing this.



--
View this message in context: 
http://camel.465427.n5.nabble.com/good-or-bad-practice-to-implement-a-custom-GenericFileProcessStrategy-tp5784568.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to