camel mock - MockEndpoint.whenAnyExchangeReceived process method not execute
问题 I have example code below, why is the process method in MockEndpoint.whenAnyExchangeReceived NOT executed? I expect the response is "Expected Body from mock remote http call", but the actual response is what passed in request("Camel rocks"). public class CamelMockRemoteHttpCallTest extends CamelTestSupport { @Override protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { @Override public void configure() throws Exception { from("direct:start") .to("http:/