LOGSTASH-2276 fixed if/else branch mixup in rabbitmq input
Merge pull request #1607 from Fewbytes/LOGSTASH-2276

LOGSTASH-2276 fixed if/else branch mixup in rabbitmq input