[
https://issues.apache.org/activemq/browse/CAMEL-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hadrian Zbarcea closed CAMEL-462.
---------------------------------
Resolution: Duplicate
> Intercept logging seda sometimes produces more exchanges than expected
> ----------------------------------------------------------------------
>
> Key: CAMEL-462
> URL: https://issues.apache.org/activemq/browse/CAMEL-462
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 1.3.0
> Reporter: Claus Ibsen
> Priority: Critical
> Fix For: 1.4.0
>
>
> Working on the previous issue with the intercept to log every step failed I
> discovered that using the seda queues on some unit tests I got more messages
> than expected.
> {code}
> intercept().to("log:foo").proceed();
> from("seda:foo").to("seda:bar");
> from("seda:bar").to("seda:baz");
> from("seda:baz").to("mock:result");
> {code}
> Will sometimes result in 3 messages incoming to mock:result.
> {code}
> java.lang.AssertionError: mock:result Received message count. Expected: <1>
> but was: <3>
> at
> org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:658)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.