Re: AdviceWith in test not followed

2017-08-02 Thread Lukas Winkler
; getMockEndpoint("mock:direct:METARvalidator").expectedMessageCount(1); > input.sendBody("MyMessageBody"); > // Validate our expectations > assertMockEndpointsSatisfied(); > } > > -Ursprüngliche Nachricht- > Von: L

Re: AdviceWith in test not followed

2017-08-02 Thread Lukas Winkler
ovider-context) started in 0.000 seconds - Lukas On 2 August 2017 at 11:15, Burkard Stephan wrote: > Just a quick guess to try: have you tried to replace the "to(output)" with > "to("mock:outputFromFormatter")"? > > Cheers > Stephan > >

AdviceWith in test not followed

2017-08-02 Thread Lukas Winkler
Dear list, starting out with Camel and run into a problem when trying to test part of my camel context. Please find the test code as well as a snipped of the 'to test' route in the following gist: https://gist.github.com/ingwinlu/bb047cc409fb295b8d74b617ae04008c >From the logs that are running I