https://issues.apache.org/jira/browse/AMQ-5318

Check for auto-commit and don't call commit if enabled.  

 This closes #43