[
https://issues.apache.org/jira/browse/CAMEL-19457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17733905#comment-17733905
]
Steve Storck commented on CAMEL-19457:
--------------------------------------
[~davsclaus] here is the fixed test:
{code:java}
@Test
void testProcessAsynchronous() {
when(endpoint.getConfiguration().isSynchronous()).thenReturn(false);
when(component.getRoutingProcessor(anyString())).thenReturn(processor);
boolean result = producer.process(exchange, asyncCallback);
Assertions.assertFalse(result);
} {code}
> camel-dynamic-router - InflightRepository size can be negative
> --------------------------------------------------------------
>
> Key: CAMEL-19457
> URL: https://issues.apache.org/jira/browse/CAMEL-19457
> Project: Camel
> Issue Type: Bug
> Affects Versions: 3.20.5
> Environment: here is the demo project just run it!
> Reporter: geyipeng
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.20.7, 3.21.0, 4.0-RC1, 4.0.0
>
> Attachments: demo615.zip, image-2023-06-15-10-51-29-124.png,
> image-2023-06-15-15-53-16-945.png
>
>
> InflightRepository size can be negative,I think size should be a non negative
> integer。
> !image-2023-06-15-10-51-29-124.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)