camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solimo <rob...@budzko.eu>
Subject Custom HTTP binding
Date Wed, 03 Jul 2013 13:15:25 GMT
Hello.

According to http://camel.apache.org/jetty.html it is possible to easily
override http binding. Unfortunately, default constructor of
DefaultHttpBinding is annotated as @Deprecated, so this tutorial is outdated
I think. 

Any way, looks like there is only a single point of usage of new constructor
and its http endpoint where we can access appropriate endpoint by this. In
such a situation how am I supposed to override binding with my
implementation (as long as I'm not willing to use deprecated constructor as
a workaround). Additionally if I'm not mistaken (but i might be) there is a
method in DefaultHttpBinding which will throw NPE when serialized object
appears as a body of content (when deprecated constructor used).

Do I miss sth :)?

Robert Budźko



--
View this message in context: http://camel.465427.n5.nabble.com/Custom-HTTP-binding-tp5735150.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message