Hi

This is a bit hard.
Have you considering doing this as a 2-way InOnly instead?

eg split the file, and send each splitted piece as a file to the FTP server.
And have another route that pickup the reply messages as they become ready?

Also I would suggest to use a naming style so the reply messages is
something like
original_name-reply.ext

eg if the original file is
123.txt

then the reply is
123-reply.txt

Or something like that. So you have a pattern you can use as filter to
consume the reply messages.




On Thu, Jan 10, 2013 at 2:23 PM, satyaPrakash <satya...@gmail.com> wrote:
> I need to implement the use case where I have to split a big request file
> into small request files and send it to FTP server.After receiving request
> file, FTP server is creating response files based on the request files
> received.FTP server can take their own time to create the response file.So
> the sending thread may wait till the response file will be get generated
> response from FTP server.So for this use case InOut EIP is most suitable
> approach as per my understanding. I am facing issue in getting reply from
> the same endpoint which is used in producer[FTP server will create the
> response file with same name or different as per user requirement, suppose
> the response file name is equal to request File name] . So sending request
> to FTP server is working but the same endpoint is not working to get
> response from the same FTP server i.e. InOut EIP. If this EIP will work in
> complete, it will save a lot of coding.I just want to know your thoughts so
> that I can decide best approach to implement said use case.Thanks alot!!!
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/InOut-pattern-issue-with-FTP-tp5725273.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

Reply via email to