import org.apache.camel.ContextTestSupport;
import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
public class CometdProducerConsumerTest extends ContextTestSupport {
<BUG>private static final String URI = "cometd://localhost:8080/service/test?resourceBase=./target/test-classes/webapp&"
</BUG>
+ "timeout=240000&interval=0&maxInterval=30000&multiFrameInterval=1500&jsonCommented=true&logLevel=2";
public void testProducer() throws Exception {
Person person = new Person("David", "Greco");

import org.apache.camel.ContextTestSupport;
import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
public class CometdProducerConsumerTest extends ContextTestSupport {
private static final String URI = "cometd://0.0.0.0:8080/service/test?resourceBase=./target/test-classes/webapp&"
+ "timeout=240000&interval=0&maxInterval=30000&multiFrameInterval=1500&jsonCommented=true&logLevel=2";
public void testProducer() throws Exception {
Person person = new Person("David", "Greco");
