🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
Encountered Error - Timed out waiting for credit to send Message
dreamoka
Member Posts: 56 ✭✭✭
I using Camel AMQP client to receive messages from other EMS and publish to Solace EMS. However i encountered this error - "Timed out waiting for credit to send Message" if i set jms.sendTimeout=2000.
1) May i know how does broker issue credit to publisher?
2) Can I increase the credit at the EMS broker?
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: org.apache.qpid.jms.JmsSendTimedOutException: Timed out waiting for credit to send Message
at org.apache.qpid.jms.provider.exceptions.ProviderSendTimedOutException.toJMSException(ProviderSendTimedOutException.java:46) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.apache.qpid.jms.provider.exceptions.ProviderSendTimedOutException.toJMSException(ProviderSendTimedOutException.java:25) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:80) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:112) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.apache.qpid.jms.JmsConnection.send(JmsConnection.java:778) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.apache.qpid.jms.JmsNoTxTransactionContext.send(JmsNoTxTransactionContext.java:37) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.apache.qpid.jms.JmsSession.send(JmsSession.java:976) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.apache.qpid.jms.JmsSession.send(JmsSession.java:855) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.apache.qpid.jms.JmsMessageProducer.sendMessage(JmsMessageProducer.java:252) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.apache.qpid.jms.JmsMessageProducer.send(JmsMessageProducer.java:200) ~[qpid-jms-client-2.5.0.jar!/:?]
at org.messaginghub.pooled.jms.JmsPoolMessageProducer.sendMessage(JmsPoolMessageProducer.java:194) ~[pooled-jms-3.1.6.jar!/:?]
at org.messaginghub.pooled.jms.JmsPoolMessageProducer.send(JmsPoolMessageProducer.java:88) ~[pooled-jms-3.1.6.jar!/:?]
at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSend(JmsConfiguration.java:680) ~[camel-jms-4.6.0.jar!/:4.6.0]
at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:620) ~[camel-jms-4.6.0.jar!/:4.6.0]
at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.lambda$send$0(JmsConfiguration.java:577) ~[camel-jms-4.6.0.jar!/:4.6.0]
at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:530) ~[spring-jms-6.1.6.jar!/:6.1.6]
Tagged:
0