public void configure() throws Exception {
from(startEndpointUri).to("activemq:queue:test.b");
from("activemq:queue:test.b").to("mock:result");
JmsEndpoint endpoint1 = (JmsEndpoint) endpoint("activemq:topic:quote.IONA");
endpoint1.getConfiguration().setTransactionManager(new JmsTransactionManager());
endpoint1.getConfiguration().setTransacted(true);
from(endpoint1).to("mock:transactedClient");
JmsEndpoint endpoint2 = (JmsEndpoint) endpoint("activemq:topic:quote.IONA");
endpoint2.getConfiguration().setTransacted(false);