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

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

I was writing this in the context of stream, and I think it makes the most 
sense in stream, but if it works in batch then might as well have the option.

How about rejectOld for the parameter? Sorry to be picky, but alwaysOrdered 
might imply that we'll never skip a message and neverLate hinges on your 
definition of "late". For example, you could still get a message 1 minute 
late... might be considered "late" for somebody!
                
> 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: New Feature
>          Components: camel-core, eip
>    Affects Versions: 2.8.0
>            Reporter: David Tombs
>            Assignee: Ben O'Day
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to