Router logic

2011-02-26 Thread bigbear
Hi, I have the following workflow which I assume is a pretty common use case: 1. Take a message from a JMS topic. 2. Save some of its attributes to the database. 3. Send the message to a different JMS topic Step 1 and 2 are performed in an XA transaction. After step 1, I have the JMS message i

Re: java DSL to spring DSL

2011-02-26 Thread JacobS
Hi Claus, thanks for your help. My question is very basic ( I am new to spring ) > from(EndPointHelper.getURI("ComponentXTopic") + "&selector=COMPID='" + > PropertiesProvider.GetCompId() + "'") // a. How do I create the xml's " How would camel know that the processor should be processed befo

RE: File consumer to CXF issues

2011-02-26 Thread Scott Came
The file contains XML...the root element of the xml document in the file is the child element of soap:body. I tried MESSAGE and it seems the CXF component is expecting the file to contain the entire SOAP message (envelope and body), which would be a pain to create. I'd rather avoid POJO mode s

Re: xpath and header

2011-02-26 Thread bigbear
Thanks for the response. The XPathBuilder expects the content somewhere. I was not sure where I can provide that in a Router. Instead, I settled for this: .setHeader("abc", ns.xpath("//@event", String.class)) Thanks! On Fri, Feb 25, 2011 at 11:40 PM, Pham Ngoc Hai wrote: > Can you try: > .se