fix for: https://issues.apache.org/jira/browse/AMQNET-347