[
https://issues.apache.org/jira/browse/AMQ-7057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16622087#comment-16622087
]
Gary Tully commented on AMQ-7057:
---------------------------------
I am defaulting to true to retain the stomp behaviour of not reporting,
essentially extending that behaviour to openwire. Otherwise stomp users would
need to flip the bit to get back to the status quo.
> Suppress (optionally) warn logging of EOF or Reset exceptions when remote
> socket is closed
> -------------------------------------------------------------------------------------------
>
> Key: AMQ-7057
> URL: https://issues.apache.org/jira/browse/AMQ-7057
> Project: ActiveMQ
> Issue Type: Improvement
> Components: Transport
> Affects Versions: 5.15.0
> Reporter: Gary Tully
> Assignee: Gary Tully
> Priority: Minor
> Fix For: 5.16.0
>
>
> when a load-balancer or health check pings any transport connector endpoint
> to verify that the broker is listening on a port; using socket.open/close,
> any subsequent read failure is treated as an error and logged as a WARN.
> This makes sense in general b/c it is indicative of a rogue client.
> However when it is the norm, ie: from a health check, then the logs get
> filled with these worrying messages that are in fact expected.
> For the somtp transport, where there is no protocol close method, we already
> suppress EOF and connection reset exceptions.
> This improvement would make that the default behaviour for all tcp
> transports and allow it to be enabled when required via configuration:
> {code:java}
> <transportConnector warnOnRemoteClose="true" ..>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)