It was only for demonstration. As I said above, template was sent to early.
That was the problem
--
View this message in context:
http://camel.465427.n5.nabble.com/whenAnyExchangeReceived-is-never-called-tp5749491p5749606.html
Sent from the Camel - Users mailing list archive at Nabble.com.
t;*
On Mon, Mar 31, 2014 at 4:12 AM, Olaf 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-call
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.
Source code for class, failing test and configuration file 'test-http.xml'
http://pastebin.com/GHsiqR1t
Would be great, if someone could tell me what is wrong here
--
View this message in context:
http://camel.465427.n5.nabble.com/whenAnyExchangeReceived-is-never-called-tp57494
Hello,
in one of my tests, I just cannot get it working... expectedMessageCount
works fine and I see 3 incoming messages. I'd like to overwrite output
bodies to mock http call results, but whenAnyExchangeReceived is never
called and thus I cannot assert the final message content to be &q