hi i am try in process method call to another API for get metadata that should be part of the request for the target endpoint public void process(Exchange exchange) throws Exception { ProducerTemplate template = exchange.getContext().createProducerTemplate(); CxfComponent cxfComponent = new CxfComponent(exchange.getContext()); CxfRsEndpoint endpoint = new CxfRsEndpoint("http://localhost:8080/occupations" ,cxfComponent); Exchange targetExchange =template.send(endpoint, exchange); String body = targetExchange.getIn().getBody(String.class); }
on the processing i got nullPointerException because the binding is null. -- View this message in context: http://camel.465427.n5.nabble.com/process-failed-tp5783072.html Sent from the Camel - Users mailing list archive at Nabble.com.