Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug with queues not binding to fanout exchanges (http://jira.gr…

  • Loading branch information...
commit a815e5471a4047ad94f73ed28226844769fc1038 1 parent 8ddb5e6
@davidtinker davidtinker authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/groovy/org/grails/rabbitmq/RabbitQueueBuilder.groovy
View
1  src/groovy/org/grails/rabbitmq/RabbitQueueBuilder.groovy
@@ -52,6 +52,7 @@ class RabbitQueueBuilder {
case FanoutExchange:
// Any binding will be ignored.
log.warn "'${currentExchange.name}' is a fanout exchange - binding for queue '${methodName}' ignored"
+ newBinding.rule = "" // rabbit client API doesn't like a null binding
break
case HeadersExchange:
Please sign in to comment.
Something went wrong with that request. Please try again.