[
https://issues.apache.org/jira/browse/CAMEL-20769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17846612#comment-17846612
]
Claus Ibsen commented on CAMEL-20769:
-------------------------------------
Okay if I do some dirty thread hacking I can maybe simulate that camel-jms
cannot create a temporary queue due to JMS broker failure, and it keeps
looping. And then at the same timer the JMS producer is waiting for that reply
to queue to be ready. However it uses some old thread await that never gets
signalled due to that endless exception. And then in fact we have code
afterwards that has a 10 sec timeout waiting for reply to be ready.
> camel-jms: TemporaryReplyQueueExceptionListener may be causing an endless lock
> ------------------------------------------------------------------------------
>
> Key: CAMEL-20769
> URL: https://issues.apache.org/jira/browse/CAMEL-20769
> Project: Camel
> Issue Type: Bug
> Components: camel-jms
> Affects Versions: 4.6.0
> Reporter: Otavio Rodolfo Piske
> Priority: Major
>
> Looking at the logs for a test that has been hang up on my CI for several
> hours I noticed that the logs are full of messages like:
>
> {code:java}
> 2024-05-14 13:08:46,501 [sComponentTest]] WARN TemporaryQueueReplyManager
> - Exception inside the DMLC for Temporary ReplyTo Queue for destination
> JmsComponentTest, refreshing ReplyTo destination (stacktrace in DEBUG logging
> level).
> 2024-05-14 13:08:46,501 [sComponentTest]] ERROR
> ultJmsMessageListenerContainer - Could not refresh JMS Connection for
> destination 'temporary' - retrying using FixedBackOff{interval=9000,
> currentAttempts=1908, maxAttempts=unlimited}. Cause: Failed to create session
> factory; nested exception is
> ActiveMQNotConnectedException[errorType=NOT_CONNECTED message=AMQ219007:
> Cannot connect to server(s). Tried with all available servers.]{code}
>
> The code is in an endless loop on my CI for 6 hours:
> {code:java}
> cat target/camel-jms-test.log | grep "Exception inside the DMLC for
> Temporary" | wc -l
> 1912{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)