HAProxy+ActiveMQ

Does anybody knows the best configuration to use a cluster of ActiveMQ servers with HAproxy?
I used a working configuration for years, but know with the last activemq (5.15.12), connection is established with clients but after few seconds the whole clients disconnect. I got a lot of errors in activemq logs.

Can you provide logs provided by HAProxy ? Maybe your clients are inactive and a timeout triggers and HAProxy kills the connection.