@Test
public void testRmi() throws Exception {
// Create a new camel context to send the request so we can test the service which is deployed into a container
CamelContext camelContext = new DefaultCamelContext();
ProducerTemplate myTemplate = camelContext.createProducerTemplate();
myTemplate.start();
try {
String out = myTemplate.requestBody("rmi://localhost:37541/helloServiceBean", "Camel", String.class);
assertEquals("Hello Camel", out);
} finally {
if (myTemplate != null) {