i look at the camel-core testcase, i need to call myself like this:

Endpoint endpoint = context.getEndpoint("direct:myplatform");
Exchange exchange = endpoint.createExchange();
exchange.getIn().setHeader("cheese", 123);
exchange.getIn().setBody("abcdeffdsaljfla".getBytes());

Producer producer = endpoint.createProducer();
producer.process(exchange);

but only this way?

--
View this message in context: 
http://camel.465427.n5.nabble.com/how-to-route-once-from-myComponent-to-cxf-tp4642015p4642481.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to