Re: Why so many port used when I use camel-netty4-http

2015-04-14 Thread Yuffie
Hi,Willem Thanks for your help! I think I need to read the document carefully first. Again, thank you! -- View this message in context: http://camel.465427.n5.nabble.com/Why-so-many-port-used-when-I-use-camel-netty4-http-tp5765433p5765810.html Sent from the Camel - Users mailing list archive a

Re: Why so many port used when I use camel-netty4-http

2015-04-14 Thread Yuffie
Hi,Yogesh. Thanks for help! Since I don't have a Linux environment, I don't if it work on Linux. But it work in win7. And I will try what you said. Again thank you. -- View this message in context: http://camel.465427.n5.nabble.com/Why-so-many-port-used-when-I-use-camel-netty4-http-tp5765433p57

Re: Why so many port used when I use camel-netty4-http

2015-04-14 Thread Willem Jiang
Hi Yuffie I just went through the link which explains that why windows need to establish loopback connection for selector. It looks like you use camel camel-netty4-http to build a proxy to route the message for you.  Now back to camel-netty4-http, there is a producer pool which cache the Channe

Re: Why so many port used when I use camel-netty4-http

2015-04-14 Thread yogu13
Hello, Apart from the above can you provide us following info !! 1. How many ports are opened (delta) for the route which is getting created?? You can do this by taking a note of all the ports opened when you application is down and then take a note of the ports open once your application is up a

Re: Why so many port used when I use camel-netty4-http

2015-04-14 Thread yogu13
Thanks! Is this working properly in any of the environments ? Also you try configuring the bootstrap options like keepAlive, Timeout's and disconnect for netty endpoint ? check "Reusing same server bootstrap configuration with multiple routes" section in http://camel.apache.org/netty4-http.html

Re: Why so many port used when I use camel-netty4-http

2015-04-14 Thread Yuffie
Hi,Willem. this is my RouteBuilder: --- public class MobileRouteBuilder extends RouteBuilder implements PropertyConstants { private String port; public void setPort(String port) { this.port = port; } priv

Re: Why so many port used when I use camel-netty4-http

2015-04-09 Thread Willem Jiang
I don’t think camel-netty4-http can open those ports like you side. What’s your camel route looks like? Did you just deploy the camel route inside the tomcat? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese