camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beschi <beschi.ag...@gmail.com>
Subject Too many connections in Server in CLOSE_WAIT status, while using Netty4 as Producer
Date Mon, 13 Feb 2017 05:30:17 GMT
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.

Mime
View raw message