Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9064209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:11:29+00:00 2026-06-16T16:11:29+00:00

I have server which send message into MQ. Message remove from queue when worker

  • 0

I have server which send message into MQ. Message remove from queue when worker answer:

channel.basic_ack(delivery_tag=method_frame.delivery_tag)

but when worker generate error it doesn’t answer about good delivered.
Is it possible to route this message to other worker or send this message into end of queue and try again later. Is RabbitMQ has got mechanism which set time out for message. When timeout is over message try send to worker again or do I need to implement it yourself?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T16:11:32+00:00Added an answer on June 16, 2026 at 4:11 pm

    If your worker does not acknowledge the message it is not removed from the queue, however if the connection between the worker and rabbit-mq survives rabbit-mq has no way of knowing that the message isn’t in workers the buffer.

    There are several ways to solving this, and it is mainly dependent on your application structure.

    The easiest is to set prefetch to one and make sure that you reset the connection between rabbitmq and your worker whenever there is a problem.

    You could also look into nacking your messages however I don’t know if this will requeue them or not.

    You could ofcourse also do as you say and send the message that you got into another queue or something like that. However keep in mind that if you don’t ACK your messages you’ll end up having a larger queue than you really think because rabbit won’t remove items from the queue unless they are acked (actually this is dependent on your configuration of the queue).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have logging system in which JMS server is used to send logging message.Once
I have a server which already host ASP.Net website. I am migrating from blogger
I have a server which executes Python scripts from a certain directory path. Incidently
I have a server application which I want to protect from being stopped by
I have a small server application which receives connections from multiple clients. The clients
Hi I have a server which has several virtual hosts set up on it.
i have a c++ server which is using boost::asio to do read/write operations -
I have a web server which I do not know what the time zone
I have a web server which is protected behind http-basic-auth. I've read through the
I have a server class which connects a client on a specific server socket

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.