Re: Impossible to configure HttpBinding for ServletComponent

2014-11-24 Thread Pavel Lechev
Hi Claus, Thanks for your response. Am I to understand that the REST DSL in combination with the `servlet` consumer does not allow setting a custom HttpBinding? If so, I believe this is a huge limitation given that these two are very commonly used together. It is also not very clear from the

Re: Impossible to configure HttpBinding for ServletComponent

2014-11-24 Thread Pavel Lechev
, but I am assuming if no other ServletComponent-s are defined the ID string is irrelevant as long as properly referenced. Claus Ibsen-2 wrote Just define a new component for rest. bean id=restservlet class=org.apache.camel...ServletComponent On Mon, Nov 24, 2014 at 10:26 AM, Pavel Lechev lt

Impossible to configure HttpBinding for ServletComponent

2014-11-21 Thread Pavel Lechev
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