My test never works in JUnit Debug mode
and if I use run as JUnit it works sometimes?
If I do get "OK" response I know that the message has gone through the route, as well
I can see log from ExchangeInvestigationProcessor in the route.
It hangs on assertMockEndpointsSatisfied() as Mock.body[] = 0, but it should have 1 message.
@Test
public void testCxfUsingClient() throws Exception {
getMockEndpoint("mock:result").expectedMinimumMessageCount(1);
// create the webservice client and send the request
OrderEndpoint client = createCXFClient();
String out = client.order("testCxfUsingClient", 1, "milan");
// assert we got a OK back
assertEquals("OK", out);
// assert expectations
assertMockEndpointsSatisfied();
-
PC restarted, not an issue anymore.