I might not be clear in presenting my problem, I have concurrency for the
second route.
ROUTE_LOCAL :
fileUrl - file:///home/user/domediation
from(fileUrl).noAutoStartup().routeId(localRouteName)
.threads()
.bean(processManager)
.bean(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: http://camel.465427.n5.nabble.com/Routes-controlling-thread-dsl-tp5719019p5719074.html
Sent from the Camel - Users mailing list archive at Nabble.com.