[ 
https://issues.apache.org/jira/browse/CAMEL-11148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nicola Ferraro resolved CAMEL-11148.
------------------------------------
    Resolution: Fixed

Yeah, basically the OLDEST was behaving like LATEST, because there was no 
difference between removeFirst and removeLast, since the buffer in these two 
strategies has at most one element. I've renamed the DROP strategy into OLDEST 
to be consistent.

There's a test (BackpressureStrategyTest) to ensure that all those strategies 
do what they want to do...

> camel-reactive-streams: too many backpressure strategies
> --------------------------------------------------------
>
>                 Key: CAMEL-11148
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11148
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Nicola Ferraro
>            Assignee: Nicola Ferraro
>             Fix For: 2.19.0
>
>
> The backpressure strategies DROP and OLDEST seem equivalent according to 
> their description. We should keep only one (OLDEST describes it better) and 
> test which one works correctly.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to