You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by zhangmaoguo <27...@qq.com> on 2018/05/23 03:19:10 UTC

allowLinkStealing=true doesn't work

Hi, my app may have the same clientId on different device and i want new
connection to kick off the old one. Then i found allowLinkStealing in the
config and i set it to true in activemp.xml. But it seam that it doesn't
work and the second connection get failure information. I've tried the below
tow methods. Please give some suggestion. Thank you!

<transportConnectors>
	<transportConnector name="ws"
uri="ws://0.0.0.0:5222?allowLinkStealing=true;maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"
/>
</transportConnectors>

<transportConnectors>
	<transportConnector name="ws"
uri="ws://0.0.0.0:5222?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"
allowLinkStealing="true" />
</transportConnectors>



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html