Hi Willem, I did what you suggested and got another error...
DefaultTypeConverter DEBUG No type converter available to convert from type: org.apache.camel.converter.stream.InputStreamCache to the required type: org.w3c.dom.Document with value org.apache.camel.converter.stream.InputStreamCache@1cb4cae Caused by: org.xml.sax.SAXParseException: Premature end of file.. Will ignore this and continue. DefaultErrorHandler DEBUG Failed delivery for exchangeId: 04ff6403-4294-4152-b81e-6c3da8849a26. On delivery attempt: 0 caught: java.lang.ClassCastException: org.apache.camel.converter.stream.InputStreamCache cannot be cast to org.w3c.dom.Node DefaultErrorHandler ERROR Failed delivery for exchangeId: 04ff6403-4294-4152-b81e-6c3da8849a26. Exhausted after delivery attempt: 1 caught: java.lang.ClassCastException: org.apache.camel.converter.stream.InputStreamCache cannot be cast to org.w3c.dom.Node But this is OK, because I understand it; I just need to (a) convert the body in a processor, or (b) add a new type converter to the http component - right? Regard, Paul On Tue, 2011-03-29 at 22:56 -0700, Willem Jiang wrote: > <removeHeader headerName="CamelHttpUri"/> > > <to uri="http://localhost:8080/server"/> STRICTLY PRIVATE, CONFIDENTIAL AND PRIVILEGED COMMUNICATION. This message (including attachments) may contain information that is privileged, confidential or protected from disclosure. They are intended solely for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that dissemination, disclosure, copying, distribution, printing, transmission or use of this message or any information contained in it is strictly prohibited. If you have received this message from NewBay Software in error, please immediately notify the sender by reply email and delete this message from your computer. The content of this e-mail, and any files transmitted with it, may have been changed or altered without the consent of the author. Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.
