Queue trying to recover despite active consumer
anshul733 opened this issue · 3 comments
For past few days we saw that, one queue which has schdeduling enabled has got messages piling up and the Azure Kubernetes (AKS )Sprint boot consumer is not able consume all of them. In our AKS consumer app, the log is coming as
"A JMS MessageConsumer has been closed: JmsConsumerInfo: { ID:48d2e6b3-9b29-4fb2-846a-32b7a184e77b:80:1:1, destination = recon.q }"
Setup of JMS message listener invoker failed for destination 'recon.q' - trying to recover. Cause: The Session was closed due to an unrecoverable error.
we are using Spring boot (v2.6.6) JMS consumer, the JMS dependencies listed are as
<!--JMS Dependencies Start-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
<version>5.3.18</version>
</dependency>
<dependency>
<groupId>org.apache.qpid</groupId>
<artifactId>qpid-jms-client</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jms_2.0_spec</artifactId>
<version>1.0-alpha-2</version>
</dependency>
<!--JMS Dependencies End-->
Hi @anshul733, @yiliuTo from the Azure Spring
team will follow up with you shortly.
@anshul733 this error looks like the connection/session to Service Bus is broken, Service Bus can close amqp connection/links automatically for some cases, you can refer here. Could you provide more information about your application, including which Spring JMS API you are using to consume messages (sample code may be more helpful), do you have any custom configuration properties/code for Spring JMS, and are there other error logs for more information?
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!