camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-3180) Let it be easier to suspend/stop a route from an Exchange which is currently being routed, or from RoutePolicy
Date Fri, 01 Oct 2010 09:25:41 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-3180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62271#action_62271
] 

Claus Ibsen commented on CAMEL-3180:
------------------------------------

To do this you should unregister yourself from inflight before stopping the route such as
{code}
            context.getInflightRepository().remove(exchange);
            context.stopRoute("myCoolRoute");
{code}

> Let it be easier to suspend/stop a route from an Exchange which is currently being routed,
or from RoutePolicy
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3180
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3180
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.5.0
>
>
> Currently you have to stop the route with a timeout to force it to stop because the current
Exchange is still in progress (its not done yet).
> So it should be possible to defer this stop till after the UoW is done on the Exchange

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message