Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent failures with an existing queue #45

Closed
unthingable opened this issue Dec 8, 2015 · 4 comments
Closed

Silent failures with an existing queue #45

unthingable opened this issue Dec 8, 2015 · 4 comments

Comments

@unthingable
Copy link
Contributor

val opRabbitVersion = "1.1.2"

Scenario:

  val subscriptionRef = Subscription.run(rabbitControl) {
    channel(qos = 1) {
      consume(
        topic("foo", List("#"), exchange = "some_exchange")
      ) {....

If the queue does not exist, op-rabbit creates it, all is well. Creating the queue manually (via the management plugin) works too.

However, creating the same queue manually with x-max-length:10000 and then starting the Subscription results in messages not being consumed. No errors reported.

@unthingable
Copy link
Contributor Author

Nevermind, just found def passive[T <: Concreteness](binding: QueueDefinition[T]): which looks like exactly what I need.

The ask is therefore reduced to having this mentioned in the documentation. :)

@timcharper
Copy link
Member

Resolved by 9984d72. Thanks for the report, and sorry about this! What a terrible issue to encounter.

@timcharper
Copy link
Member

Release v1.1.3 includes the fix.

@timcharper
Copy link
Member

#46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants