camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: RestConfiguration with multiple ports
Date Fri, 15 Jan 2016 07:25:42 GMT

Do you want to have different rest services for different ports? Or do
some of the rest services share the ports?

Either way its not currently baked in too well in the rest-dsl to
allow to pick which rest configuration to user per service.
The design was to keep it simple, 1 rest component for all the services.

On Fri, Jan 15, 2016 at 12:00 AM, dfullarton <> wrote:
> I know that via netty4-http I'm able to create multiple HTTP listeners on
> multiple ports.
>  from("netty4-http:http://localhost:8088").to(...)
>  from("netty4-http:http://localhost:8087").to(...)
> but when using rest configuration it seems I'm limited to the one listener
> restConfiguration().component("netty4-http")...
> Is there a way (within one context) that I can bring up multiple http
> listeners and route them through to routes create by rest(PATH)?
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
----------------- @davsclaus
Camel in Action 2:

View raw message