Fixed small CGL issue with a whitespace after a function keyword
Used getter method instead of attribute access in message queue helper
Add missing methods to ConsumerInterface