Re: Routes controlling + thread dsl

2012-09-11 Thread Nafees
I will incorporate ur suggestions, and come back again. Thank you Nafees -- View this message in context: http://camel.465427.n5.nabble.com/Routes-controlling-thread-dsl-tp5719019p5719163.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Routes controlling + thread dsl

2012-09-11 Thread Nafees
s are processed, then it is suspending/resuming/stopping. Prior to concurrency introduction, it was running fine. Please guide me. Thanks Nafees -- View this message in context: http://camel.465427.n5.nabble.com/Routes-controlling-thread-dsl-tp5719019p5719102.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Routes controlling + thread dsl

2012-09-10 Thread Nafees
(endRoute,localMethod).stop() .setExecutorService(service); If we are trying to suspend this route , let the threads complete processing current file. But, they should not pick up next files. How this can be accomplished. Awaiting ur reply Nafees -- View this message in context

Routes controlling + thread dsl

2012-09-10 Thread Nafees
e(), "Problem while pausing the mediation process " + e.getMessage()); } }// pause What things should be done in order to do this. Earlier , without threads(), suspend/resume/cancel were working fine. Please help me Thanks & Regards Nafees -- View this message i

Re: FTP connect issue

2012-07-30 Thread Nafees
routes, I am calling memoryRepo.getCache().clear(); So, that next time, we run the same route, it will pick all the files correctly. Plz correct me if there is any better way to do this. Regards Nafees -- View this message in context: http://camel.465427.n5.nabble.com/FTP-connect-issue

FTP connect issue

2012-07-25 Thread Nafees
; camelContext.getInflightRepository().removeRoute(strRouteID); camelContext.removeRoute(strRouteID); } I am using disconnect = true in FTP options. Why is it showing me one file less. Plz help me. Thanks Nafees -- View this message in context: http://camel.465427.n5.nabble.com/FTP-connect-issue-tp5716452.html Sent from the Camel - Users mailing list archive at Nabble.com.

Parallel processing using apache camel

2012-07-22 Thread Nafees
,localStopper); I want to implement threading mechanism so as to reduce processing time. Plz guide me how this can be achieved. My idea is to start e.g. 5 threads.. 5 files shud be processed in parallel, after threads have done there job..next 5 files and so on.. Thanks Nafees -- View this message in

Re: Updating status when FTP connection fails

2012-07-12 Thread Nafees
Hi Claus, Thanks for ur response, I will try to use CamelContext to get required information. Will take ur help if i am getting strucked up. Thank you -- View this message in context: http://camel.465427.n5.nabble.com/Updating-status-when-FTP-connection-fails-tp5715802p5715919.html Sent from th

Updating status when FTP connection fails

2012-07-10 Thread Nafees
routes , I want to stop the route and update the status when exception occurs. Please help me Thanks Nafees -- View this message in context: http://camel.465427.n5.nabble.com/Updating-status-when-FTP-connection-fails-tp5715802.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP misses few bytes when downloading files

2012-07-07 Thread Nafees
Hi Claus, I am extremely thankful to you. It is working fine now. U have helped me resolved major problem. Thanks Nafees -- View this message in context: http://camel.465427.n5.nabble.com/FTP-misses-few-bytes-when-downloading-files-tp5715593p5715646.html Sent from the Camel - Users mailing

FTP misses few bytes when downloading files

2012-07-06 Thread Nafees
tFailed=true&maximumReconnectAttempts=1&localWorkDirectory=/tmp&idempotent=true My File URL is {0}://{1}?noop={2}&autoCreate=false why it is unable to download files correctly. Please help me out. Thanks & Regards Nafees -- View this message in context: http://camel.465427.n5.nabble.com/FTP-m

Handling Database and Activemq connection exceptions

2012-06-11 Thread Nafees
ctivemq service. I am unable to handle these connection related exceptions. Please guide me. Thanks Nafees -- View this message in context: http://camel.465427.n5.nabble.com/Handling-Database-and-Activemq-connection-exceptions-tp5714284.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP

2012-06-09 Thread Nafees
HI Claus, Thanks for your quick response , I have added idempotent=true in ftp options and it works for my case. Thank you so much. Nafees -- View this message in context: http://camel.465427.n5.nabble.com/FTP-tp5714245p5714249.html Sent from the Camel - Users mailing list archive at

FTP

2012-06-09 Thread Nafees
ssiveMode=false&pollStrategy=#optimerPoll&throwExceptionOnConnectFailed=true&maximumReconnectAttempts=0&localWorkDirectory=/tmp";) routeId("ftp_route").noAutostartup().to("file:///home/nafees/mediation/09-Jun-2012/MSC_Huawei/download?noop=true&autoCreate

Re: Handling exception when routes are processed

2012-05-25 Thread Nafees
Thanks for your quick response as usual, I am trying to work on this. -- View this message in context: http://camel.465427.n5.nabble.com/Handling-exception-when-routes-are-processed-tp5713541p5713545.html Sent from the Camel - Users mailing list archive at Nabble.com.

Handling exception when routes are processed

2012-05-25 Thread Nafees
HI.. I am using the following route to consume files from FTP server and store in a local folder. When the directory name is not correct, it raises this exception - org.apache.camel.component.file.GenericFileOperationFailedException: File operation failed: 550. I want to handle them. from(ftpUrl

Running Route inside another route

2012-05-16 Thread Nafees
Hi, I have a requirement, in which we will be listening to active MQ to consume messages, which is master route. from("activemq:queue:mediation-mq").to("bean:messageConsumer?method=processMessage") -- this master route does some basic stuff which is required for the application. I want to star

Re: How to invoke a route based on incoming ftp message..

2012-04-16 Thread Nafees
Thanks. I will try to implement your suggestions. Thank u so much... -- View this message in context: http://camel.465427.n5.nabble.com/How-to-invoke-a-route-based-on-incoming-ftp-message-tp5643121p5643395.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to invoke a route based on incoming ftp message..

2012-04-16 Thread Nafees
Thanks for reply. Is there any way, in which I can just send message once to activemq apart from using it inside a route and depending on data received from that .. I want to call the routes.. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-invoke-a-route-based-on-inc

How to invoke a route based on incoming ftp message..

2012-04-16 Thread Nafees
Hi , I am new to Apache Camel. I am facing this problem.. Depending on message coming from activemq , i have to select the appropriate route .. // a bean which is sending message to activemq using jms from("bean:idProducer?method=sendMessage").to("jms:queue:myqueue1"); // from message com