I think Camel should work perfectly for you for this.  Have you
checked out the documentation on the camel-file endpoint here -
http://camel.apache.org/file2.html?  It's pretty exhaustive with a lot
of examples that should get you going in the right direction.

Also note that the camel Java and Spring maven archetypes set you up
with a really simple route that moves XML files:

http://camel.apache.org/camel-maven-archetypes.html

On Thu, Dec 3, 2009 at 11:47 AM, boden <[email protected]> wrote:
>
> I need to watch a folder for incoming binary files.  When one appears, I need
> to examine it to determine where the file is to be sent.  I then need to
> send the file to one or more "recipients" which may include a network share,
> email, webdav, and a web service.  It may go to one, multiple, or all of
> these destinations.  In some cases, where it ends up will also be dynamic,
> such as the path on a network share (e.g. I know the base share at
> configuration time, but ultimate path the file is copied to will be
> dynamic).
>
> Is this something that I can do with relative ease in Camel?  If so, can you
> help get me started?
>
> I realize that ESB-like products such as Camel may not be a perfect fit for
> this scenario, but Camel has so many of the features I need already built
> in...seems like it might be better than writing from scratch.
> --
> View this message in context: 
> http://old.nabble.com/Using-Camel-to-%22route%22-binary-files-tp26629157p26629157.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>

Reply via email to