Remove unused local variable
Add getChannel() method to queue and exchange