Hi See the doneFileName option http://camel.apache.org/file2
On Sat, Oct 27, 2012 at 8:46 PM, sekaijin <jean-yves.terr...@sap.aphp.fr> wrote: > hello, > > I receive messages via MLLP containing the name of a file that I must > retrieve and link attachment in the message. > > I looked for a pattern to retrieve the attachment but I have not found. > > I have another very similar case > I have a ftp consumer that retrieves files "*.ok" > when the file "aaa.ok" is available I have to take the file "aaa.csv" which > is in the same folder on the server. > I do not take the "*.csv" without first reading the file ok because I can > not guarantee it will be available on the server. (the partner has not yet > finished writing it) > Unlike the previous case I only transmits the file "aaa.csv" > > what is the best design for this kind of problem? > I made a processor in java that establishes the connection to retrive the > file. but it is not very convincing. > > A+JYT > Sorry for my approximative english > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/secondary-dynamic-endpoint-to-retrieve-an-item-attached-tp5721649.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen