With "sendFailIfNoSpaceAfterTimeout" or "sendFailIfNoSpace" is configured, producer flow control will send a javax.jms.ResourceAllocationException.
This message is not supposed to be sent across the broker network.
In a duplex network connection, the javax.jms.ResourceAllocationException is being sent across the network. This exception is received by the peer broker and the peer broker will subsequently shutdown the network connection.
Note: it only seems to happen if the javax.jms.ResourceAllocationException is thrown from the broker that has the duplex network connector configured.
Potential workaround: use non duplex network connectors ( one defined on each peer broker)