Yes .. let´s first use a processor for it.

@Preben would be great if you could write about your experiences when you have used that for a while. So for example if you need to auto start the routes after a while.

Christian

Am 04.11.2011 11:38, schrieb Claus Ibsen:
On Fri, Nov 4, 2011 at 11:33 AM, Christian Schneider
<[email protected]>  wrote:
We could have a special dsl element that you can call in the onException
like:

onException()
...
.stopRoute()

But which route to stop. The exchange could have travel accross many routes etc.
So its not always so easy.

And IMHO we should be careful to extend the DSL as it has a lot of
options already.

Also what should happen if you cannot stop? And what about timeout.
For how long time do you want to try to stop etc.
It can just suddenly become more complicated. And error handler in
Camel is already feature rich and complicated already.


Christian

Am 04.11.2011 11:16, schrieb Preben.Asmussen:
Year I know and I will do that, but I was rather thinking this could be a
general feature of the RedeliveryPolicy, and then be used with the DSL.

I would guess that other users could benefit from a general solution.

/preben

--
View this message in context:
http://camel.465427.n5.nabble.com/Possibility-to-suspend-route-or-context-in-RedeliveryPolicy-tp4963505p4963606.html
Sent from the Camel - Users mailing list archive at Nabble.com.

--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com






--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to