Code Monkey home page Code Monkey logo

Comments (7)

timcharper avatar timcharper commented on August 22, 2024 1

Hi @raymatos

You set an implicit RecoveryStrategy when you define your consumer.

An example can be seen here:

implicit val recoveryStrategy = RecoveryStrategy.limitedRedeliver(redeliverDelay = 100 millis, retryCount = 1)

from op-rabbit.

vivri avatar vivri commented on August 22, 2024 1

👍
I had to dig for quite some time before I got here. I think it's important enough to be put in the README.

from op-rabbit.

raymatos avatar raymatos commented on August 22, 2024

How about the abandon queue? Is there a way to set the name of the queue? Is the queue the same for all consumers?

This is a awesome feature, just sucks that its bury in the project.

from op-rabbit.

grubino avatar grubino commented on August 22, 2024

👍

from op-rabbit.

SergeATX avatar SergeATX commented on August 22, 2024

You would have to create a fanout exchange first and bind it to a queue
Then you can specify the DLQ rediraction in the consume declaration:
topic(Queue.passive(
Queue("queueName", durable = true, exclusive = false, autoDelete = false,
arguments = Seq(
x-expires(10 minutes),
x-message-ttl(5 minutes),
x-max-length(10000),
x-max-length-bytes(1000),
x-max-priority(100),
x-dead-letter-exchange("exchangeName.DLQ"),
x-dead-letter-routing-key("routingKey.DLQ")
))),
List("routingKey"),
Exchange.topic("exchangeName", true, false))

from op-rabbit.

timcharper avatar timcharper commented on August 22, 2024

This is resolved with 13f41d6 and will be resolved in the next release of op-rabbit.

from op-rabbit.

timcharper avatar timcharper commented on August 22, 2024

I will close this when a link is put in the README.

from op-rabbit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.