ia Camel]"
To: wjmcdonald
Date: 07/23/2012 02:50 PM
Subject: Re: MockEndpoint expectedBodiesReceived should handle
duplicates
Thanks for reporting William!
Do you consider to raise an JIRA [1] and attach your patch?
[1] https://issues.apache.org/jira/browse/CAMEL
Best,
Christian
On M
.nabble.com/MockEndpoint-expectedBodiesReceived-should-handle-duplicates-tp5716363p5716425.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ue("Message with body " + expectedBody
> + " was expected but not found in " +
> actualBodyValuesSet,
> actualBodyValuesSet.remove(expectedBody));
> }
> }
> });
&g
}
Can you fix this family of methods to accept duplicates?
--
View this message in context:
http://camel.465427.n5.nabble.com/MockEndpoint-expectedBodiesReceived-should-handle-duplicates-tp5716363.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
View this message
actualBodyValuesSet.addAll(actualBodyValues);
>> > for (int i = 0; i < expectedBodyValues.size(); i++) {
>> > Exchange exchange = getReceivedExchange(i);
>> > assertTrue("No exchange received for counter: " +
>> i,
>> > exchange != null);
&g
> >
> > Object expectedBody = expectedBodyValues.get(i);
> > assertTrue("Message with body " + expectedBody
> > + " was expected but not found in " +
> > actualBodyValuesSet,
> > actualBodyValuesSet.remove(expectedBody));
> > }
> > }
> > });
> > }
> >
> > Can you fix this family of methods to accept duplicates?
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://camel.465427.n5.nabble.com/MockEndpoint-expectedBodiesReceived-should-handle-duplicates-tp5716363.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
uot; was expected but not found in " +
> actualBodyValuesSet,
> actualBodyValuesSet.remove(expectedBody));
> }
> }
> });
> }
>
> Can you fix this family of methods to accept duplicates?
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/MockEndpoint-expectedBodiesReceived-should-handle-duplicates-tp5716363.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>