GithubHelp home page GithubHelp logo

Error AmqpControlProtocolClient.IdleTimerExpired occurred and message handler is not invoked any more. about azure-service-bus-java HOT 5 CLOSED

azure avatar azure commented on June 3, 2024
Error AmqpControlProtocolClient.IdleTimerExpired occurred and message handler is not invoked any more.

from azure-service-bus-java.

Comments (5)

yvgopal avatar yvgopal commented on June 3, 2024

No. This thing should go seamless. you are seeing those messages in logs, most likely because it is using default java logging. If a link remains idle, the service closes the link and the client recreates a new link. All this happens in the background, without the client receiving any exceptions. In your case, the default java logging is writing all traces to console and is intermixed with your System.out. statements. I don't see any error there. Just disable logging for lower levels or use a log listener to redirect logs to a file or something else.

from azure-service-bus-java.

kmaheshbabu-ckpt avatar kmaheshbabu-ckpt commented on June 3, 2024

from azure-service-bus-java.

yvgopal avatar yvgopal commented on June 3, 2024

I can't answer that question without knowing your scenario. Are there any messages to be received? If the queue is empty, message handle will not be called. Are you using sessions?

from azure-service-bus-java.

kmaheshbabu-ckpt avatar kmaheshbabu-ckpt commented on June 3, 2024

from azure-service-bus-java.

yvgopal avatar yvgopal commented on June 3, 2024

I have just reopened the issue. Before I start investigating it as a bug, could you give me more info about your scenario.
Your namespace, your queue.
How are you sending messages to the queue?
How are you receiving from the queue? How many queue clients you have/
I am asking this to understand why the link is idle for 10 minutes if you have messages in the queue and the queue client message pump is running?
What are your message handler options? What do you inside onMessageAsync? How long do you take to process a message? Also what is the prefetch count you are using?

from azure-service-bus-java.

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.