You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by beschi <be...@gmail.com> on 2017/02/13 05:30:17 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/n5793811/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-tp5793811.html
Sent from the Camel - Users mailing list archive at Nabble.com.