I want to give preference to an execution of a route than others, for example, if an user requests something, the route that he executes should have more priority than the automatic routes that start with "<from uri='file:..."
Sorry, but i don't mean that. I want to if an automatic route, so file consumer, is working and, in the same moment, a human execute a other route, so a webservice implemented with cxfEndpoint, this route has more priority than the first one.
My intention is that the human waits as short as possible.
Current Camel doesn't provides any priority control on the route. As each route handle the message separately. For your case, Camel start two different thread or thread pool to poll the directory and handle the soap request.
If you want to camel handle the message in these route differently, I think you can do some thing to change the file polling endpoint wait time or do some configuration on the thread pool.