camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfbayperson2016 <>
Subject good or bad practice to implement a custom GenericFileProcessStrategy?
Date Wed, 29 Jun 2016 20:13:45 GMT
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

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:
Sent from the Camel - Users mailing list archive at

View raw message