pollEnrich with header property from previous exchange

2019-11-04 Thread Imran Raza Khan
I want to listen on ActiveMQ topic based on the hostname of system and some other logic, So i planned to use pollEnrich for it so i evaluate my logic and provide topic name in pollEnrich but as per document *pollEnrich or enrich does not access any data from the current Exchange which means when p

Java DSL cxf SOAP call (client)..

2019-11-04 Thread John F. Berry
OK.. I've tried to google this to death to avoid asking something so embarrassing.. but to no avail..So, without making eye contact with anyone here.. How do I construct a call using cxf and utilizing wsdl2java in Java DSL?  I've had a project that receives a message and decodes a base64 encoded

RE: Java DSL cxf SOAP call (client)..

2019-11-04 Thread Shultz, Dmitry
Hey John, I'm using org.apache.cxf:cxf-codegen-plugin in pom.xml, it builds all the classes in let's say com.somecompany.model package. Then the route looks like this: SoapJaxbDataFormat soap = new SoapJaxbDataFormat(com.somecompany.model. ServicePort.class.getPackage().getName(), new Service