logstash/logstash — comment on commit 997dbb648dc33f17f4f87edc97567dc578a00abb
File:  line 0
By jedi4ever:

Found more info at http://groups.google.com/group/logstash-users/browse_thread/thread/e961a22a3c39bb5a

You can't define both name and exchange at the same time. This will result in an error:
"RESOURCE_LOCKED - cannot obtain exclusive access to locked queue 'xx' in vhost '/'

When I just renamed the name param to exchange instead of duplicating it. It all worked again.