You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by beschi <be...@gmail.com> on 2017/02/20 06:39:26 UTC

Too many connections in Server in CLOSE_WAIT status, while using Netty4 as Producer

My Route(Producer) is as follows, i could see many connections at the server
side in CLOSE_WAIT status forever.

<route id="processMSG" errorHandlerRef="myErrorHandler">
			<from uri="activemq:queue:msg.req.queue" />
			<log loggingLevel="INFO" message="Processing msg ${body}" />
			<camel:process ref="DataProcessor"/>
			<loadBalance>
				<circuitBreaker threshold="5" halfOpenAfter="100">
					<exception>java.net.ConnectException</exception>
					<exception>java.net.SocketTimeoutException</exception>
				</circuitBreaker>
				<throttle timePeriodMillis="1000">
					<simple>40</simple>
					<log loggingLevel="INFO" message="Sending to server with Data ${body}"
/>
					<wireTap
uri="netty4:tcp://10.100.116.22:8082?encoders=#stringEncoder&disconnect=true&sync=false"/>
				</throttle>
			</loadBalance>
		</route>

<http://camel.465427.n5.nabble.com/file/n5794120/CLOSE_WAIT.png> 



--
View this message in context: http://camel.465427.n5.nabble.com/Too-many-connections-in-Server-in-CLOSE-WAIT-status-while-using-Netty4-as-Producer-tp5794120.html
Sent from the Camel Development mailing list archive at Nabble.com.