You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Chris VERBRUGGEN (JIRA)" <ji...@apache.org> on 2011/08/25 09:06:29 UTC

[jira] [Commented] (CAMEL-4327) Resequencer should include option to never deliver out-of-sequence messages

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

Chris VERBRUGGEN commented on CAMEL-4327:
-----------------------------------------

I would not say to "throw away" late messages.  I would rather see an exception raised, so the developer can decide what to do with the message, e.g. route it to an endpoint dedicated to error processing, or drop it as you say.

> Resequencer should include option to never deliver out-of-sequence messages
> ---------------------------------------------------------------------------
>
>                 Key: CAMEL-4327
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4327
>             Project: Camel
>          Issue Type: Improvement
>          Components: eip
>    Affects Versions: 2.8.0
>            Reporter: David Tombs
>            Priority: Minor
>
> If the Resequencer EIP receives a message that precedes a message already delivered, the current behavior is to deliver the out-of-sequence message late. In some situations it is better to never pass a message on at all rather than pass on an out-of-sequence message. It would be useful to have an option to throw away late messages.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira