Re: Http bridgeEndpoint to proxy a distant server

2014-10-10 Thread Charles Moulliard
Hi Antoine, Add a beanProcessor (where in the code you can put a breakpoint) after the HTTP endpoint calling your service and before the transform so you will be able to check the objects present in the exchange. Regards, On Fri, Oct 10, 2014 at 1:06 PM, antb59 wrote: > Hello, > > After check

Re: Http bridgeEndpoint to proxy a distant server

2014-10-10 Thread antb59
Hello, After checks, it seems that the trace you mentionned is not an error. If I do a simple proxy just like in this example : http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html http://localhost:8012/identification

Re: Http bridgeEndpoint to proxy a distant server

2014-10-10 Thread antb59
Hello Charles, Thanks for pointing me this error, I missed it ! So it seems that the folllowing line in my route is raising the TypeConvertion issue. http://distantserver:8012/test/identification.xml"; /> Could you explain to me why Camel is trying to convert an HttpMethods to a String in my ca

Re: Http bridgeEndpoint to proxy a distant server

2014-10-09 Thread Charles Moulliard
Hi Antoine, There is TypeConvertion issue : DEBUG DefaultTypeConverter - Promoting fallback type converter as a known type converter to convert from: org.apache.camel.component.http.HttpMethods to: java.lang.String for the fallback converter: org.apache.camel.impl.converter.EnumTypeConverter@809a