camel-users mailing list archives

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

According to 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:
Sent from the Camel - Users mailing list archive at

View raw message