Enable keepalive in activemq connections
uri="${uri.protocol.activemq}?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600&amp;needClientAuth=true&amp;trace=true" /-->
<transportConnector name="${activemq.broker.scheme}"
- uri="${activemq.broker.scheme}://0.0.0.0:${activemq.broker.port}?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600&amp;needClientAuth=true&amp;jms.useAsyncSend=true&amp;transport.useInactivityMonitor=false&amp;wireFormat.maxInactivityDuration=0&amp;maximumRedeliveries=0" />
+ uri="${activemq.broker.scheme}://0.0.0.0:${activemq.broker.port}?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600&amp;needClientAuth=true&amp;jms.useAsyncSend=true&amp;maximumRedeliveries=0&amp;wireFormat.maxInactivityDuration=30000&amp;wireFormat.maxInactivityDurationInitalDelay=10000&amp;transport.useKeepAlive=true" />
<!--transportConnector name="ssl"
uri="${uri.protocol.activemq}?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600&amp;needClientAuth=true&amp;transport.enabledProtocols=TLSv1.2" /-->
<!-- &amp;transport.enabledProtocols=TLSv1.2-->
- <transportConnector name="vm" uri="vm://localhost?marshal=false&amp;broker.persistent=false&amp;jms.useAsyncSend=true&amp;wireFormat.maxInactivityDuration=0&amp;transport.useInactivityMonitor=false&amp;maximumRedeliveries=0" />
+ <transportConnector name="vm" uri="vm://localhost?marshal=false&amp;broker.persistent=false&amp;maximumRedeliveries=0&amp;wireFormat.maxInactivityDuration=30000&amp;wireFormat.maxInactivityDurationInitalDelay=10000&amp;transport.useKeepAlive=true" />
</transportConnectors>
<sslContext>
