Hi

Not its correct. That code is when you use the Rest DSL which requires
that binding. The regular servlet component does not use that code and
works as before.

On Fri, Nov 21, 2014 at 4:56 PM, Pavel Lechev <p.lec...@gmail.com> wrote:
> Hi all,
> I think this is a genuine bug, but I thought to post it here in the first
> instance.
> Camel v2.14.0
> The call to endpoint.setBinding(new ServletRestHttpBinding()); on line 208
> in org.apache.camel.component.servlet.ServletComponent overwrites the
> binding previously configured during the endpoint creation at line 96.
> This makes it impossible to use externally configured HttpBinding instance,
> in effect rendering the
> org.apache.camel.component.http.HttpComponent#httpBinding property unusable.
> Thanks
> Pav
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Impossible-to-configure-HttpBinding-for-ServletComponent-tp5759473.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to