fix for: https://issues.apache.org/jira/browse/AMQ-3547 Add an assertion to test that interrupted state is preserved.