camel:run JVM arguments

2009-06-19 Thread bwtaylor
Is there an easy way to enable debugging or profiling while using the camel maven plugin to do the camel:run goal? Or more generally, can I control the jvm arguments that are passed to the java command? -- View this message in context: http://www.nabble.com/camel%3Arun-JVM-arguments-tp24121531p2

camel bean processor question

2009-06-19 Thread sriramch
I am trying to route to a bean instance by specifying a method-name using Camel 1.6. This specific route is defined as below: The method myMethod is overloaded public void myMethod(){ } public void myMethod(Date date){ } Depending on how I order my methods in the class, either of these seem

Re: "Can not delete file" when combining file poller and JMS

2009-06-19 Thread Marek2009
Hello Klaus, Adrian, Bruno, although the workaround you suggest is trivial, it took us a while to implement and test it. :-) I would like to confirm that inserting a "convertBodyTo(String.class)" worked for us (Camel 1.6.0). Since the modification we have not encountered the file access issue i

Re: RAW xml to SOAPMessage convertion in CXF WS endpiont

2009-06-19 Thread trivedi kumar b
Hi Willem, Thank you very much for your response. I will try this option but have a quick question on this. With POJO option, I would directly get SOAPBody, what If I want to access soap headers for critical info like user credentials? Is there a way to get these deatils from message context? Th

Re: RAW xml to SOAPMessage convertion in CXF WS endpiont

2009-06-19 Thread Willem Jiang
CXF has some interceptors to deal with the attachment message. Since you are using MESSAGE dataFormat, you can't get attachment message from Message context. Can you try the PAYLOAD dataFormat? I think you could get attachments from the message. Willem trivedi kumar b wrote: > Hi, > > I have a

Re: Headers for HttpComponent

2009-06-19 Thread Willem Jiang
Hi Well spot, I think we also need move this header into the Exchange. As it's an important header for http protocol. Willem Siegfried.Wirth wrote: > Hi, > > in the documentation of the http component > (http://camel.apache.org/http.html) it is stated, that the constants for > http headers are

Headers for HttpComponent

2009-06-19 Thread Siegfried.Wirth
Hi, in the documentation of the http component (http://camel.apache.org/http.html) it is stated, that the constants for http headers are moved from HtppConstants to Exchange. I was just wondering, why the constants for Content-Encoding is not moved to exchange and is left as only value in HttpCon