On Fri, Aug 12, 2011 at 2:47 AM, Tereza Nedelescu <[email protected]> wrote: > Hi, > > I'm trying to bind netty to all the hosts. How can I do that ? > Using the netcat format, I see TCP *:port#. > I tried using the same format in Camel, but it didn't work. See below: > > <camel:route> > <camel:from uri="netty:tcp://*:8983"/> > <camel:to uri="stream:out" /> > </camel:route> > > Error: org.apache.camel.RuntimeCamelException: > java.lang.IllegalArgumentException: port out of range: -1 >
<camel:from uri="netty:tcp://0.0.0.0:8983"/> > Thanks, > Tereza > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/netty-component-How-can-I-make-Netty-listen-to-all-the-hosts-tp4691636p4691636.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
