In a cxfbean like this (i am processing the cxf in a message mode) @javax.jws.WebService() public class ImportDataImpl implements IImportData {
@EndpointInject(uri="file:/test") ProducerTemplate m_producer; @public void test(int id, String version) { m_producer.sendBody("test !!!"); // Null pointer here ! m_producer is null ! } It seems that @EndpointInject is not working for cxfBean component classes. However it works for bean classes. My question : is there a way to access to this producer into a cxfbean ? Otherwise I think I will have to process the cxf in pojo mode into a standard bean (so many work to process the parameters manually...). Regards. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-access-to-produce-a-pojo-message-into-a-cxfBean-tp4786401p4786401.html Sent from the Camel - Users mailing list archive at Nabble.com.