camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From FuzzKat Media <fuzzkatme...@gmail.com>
Subject RouteDefinition.recipientList(...) post processing callback
Date Mon, 29 Apr 2013 12:35:40 GMT
Hi
I have a file route that sends a set of files (unix scripts) to many
servers. This one to many is achieved via the

RouteDefinition.recipientList(property(TO_FILE_COMPONENT_URI))

with the TO_FILE_COMPONENT_URI containing the array of to URIs (each
pointing to the NAS location for the particular server)

All works fine, except I need to be able to do 'post' processing on
the destination files - in this case a chmod 700
/the/path/to/the/destination/script

I can't see a callback inteface on the producer side of the File component.

I could write a Processor to do all the files after they are written
by recipientList(...), but would prefer to just configure via the out
URI query string.

any thoughts, ideas welcome.

thanks in advance
steve

Mime
View raw message