Your code is odd. You are replacing "mock:http" with the same thing? Why? I
think you should post your whole test case. I don't think you are getting
the right mock endpoint so the mock endpoint you are accessing is not
actually in the route. Try assertNotNull("mock:http"); before you get the
mock endpoint and I bet it fails.
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39
<http://www.linkedin.com/pub/robert-simmons/40/852/a39>*
On Mon, Mar 31, 2014 at 4:12 AM, Olaf <[email protected]> wrote:
> template.sendBody("direct:in", body);
>
> was called before mock assertions definitions.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/whenAnyExchangeReceived-is-never-called-tp5749491p5749558.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>