Re: HttpClient Bean Serialization inside an Http Header

2014-03-11 Thread Zulio84
Ok perfect, thanks Claus! I added a Json serialization/deserialization and it worked. -- View this message in context: http://camel.465427.n5.nabble.com/HttpClient-Bean-Serialization-inside-an-Http-Header-tp5748628p5748639.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: HttpClient Bean Serialization inside an Http Header

2014-03-11 Thread Claus Ibsen
Hi Ah no the headers is not serialized. You need to do that yourself. On Tue, Mar 11, 2014 at 2:30 PM, Zulio84 wrote: > Thanks Claus > > but... it doesn't works for me because inside the camel body I've a > SOAPMessage that have a different Content-Type (text/xml, not > application/x-java-seria

Re: HttpClient Bean Serialization inside an Http Header

2014-03-11 Thread Zulio84
Thanks Claus but... it doesn't works for me because inside the camel body I've a SOAPMessage that have a different Content-Type (text/xml, not application/x-java-serialized-object). There's an instruction that allows to serialize only the headers? Or I must override the toString method and imple

Re: HttpClient Bean Serialization inside an Http Header

2014-03-11 Thread Claus Ibsen
Hi There is a mime/type for serialized data, you need to set that as a header, so it can be serialized over HTTP. public static final String CONTENT_TYPE_JAVA_SERIALIZED_OBJECT = "application/x-java-serialized-object"; On Tue, Mar 11, 2014 at 1:08 PM, Zulio84 wrote: > Hi guys! > > I've a be