assertEquals("Text mesage body: " + textMessage, expectedBody, textMessage.getText());
}
protected CamelContext createCamelContext() throws Exception {
CamelContext camelContext = super.createCamelContext();
camelContext.addComponent("activemq",
activeMQComponent("vm://localhost?broker.persistent=false"));
return camelContext;
}
protected RouteBuilder createRouteBuilder() throws Exception {