You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "David Tombs (JIRA)" <ji...@apache.org> on 2011/08/11 16:39:27 UTC

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

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

        

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

Posted by "David Tombs (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091197#comment-13091197 ] 

David Tombs commented on CAMEL-4327:
------------------------------------

I agree, that's a good idea.

> 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

        

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

Posted by "Chris VERBRUGGEN (JIRA)" <ji...@apache.org>.
    [ 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