[
https://issues.apache.org/jira/browse/CAMEL-17472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17473103#comment-17473103
]
Pascal Schumacher commented on CAMEL-17472:
-------------------------------------------
I use a remote smpp server for testing. To simulate a disconnect I cut the
network connection.
latch.await() at
[https://github.com/apache/camel/blob/main/core/camel-support/src/main/java/org/apache/camel/support/task/BackgroundTask.java#L154]
throws an InterruptedException when I am testing. No idea why or how debug
this further (the InterrupetException does not contain any useful information).
I guess it would work for me too if I were to use a local smpp server and shut
it down to simulate disconnect.
> camel-smpp: Consumer reconnect no longer works after updating to 3.14.0
> -----------------------------------------------------------------------
>
> Key: CAMEL-17472
> URL: https://issues.apache.org/jira/browse/CAMEL-17472
> Project: Camel
> Issue Type: Bug
> Components: camel-smpp
> Affects Versions: 3.14.0
> Reporter: Pascal Schumacher
> Assignee: Otavio Rodolfo Piske
> Priority: Major
> Fix For: 3.15.0, 3.14.1
>
>
> We using camel-smpp with Spring Boot.
> After updating the version from 3.13.0 to 3.14.0 reconnecting (at least for
> the consumer, do not know if the producer is also affected) does not seem to
> work anymore.
> We use the default values for maxReconnect and initialReconnectDelay. We set
> reconnectDelay to 60000.
> With version 3.13.0 and before camel tried to reconnect for a long time. With
> camel 3.14.0 there does not seem to be any reconnect attempts:
> {code}
> Jan 11, 2022 @ 04:20:11.499 - SmppConsumer - Lost connection to:
> smpp://XXX:YYY - trying to reconnect...
> Jan 11, 2022 @ 04:20:16.516 - BackgroundTask - The task smpp-reconnect does
> not have more budget to continue running
> Jan 11, 2022 @ 04:20:17.516 - BackgroundTask - The task smpp-reconnect does
> not have more budget to continue running
> Jan 11, 2022 @ 04:20:18.516 - BackgroundTask - The task smpp-reconnect does
> not have more budget to continue running
> Jan 11, 2022 @ 04:20:19.516 - BackgroundTask - The task smpp-reconnect does
> not have more budget to continue running
> Jan 11, 2022 @ 04:20:20.516 - BackgroundTask - The task smpp-reconnect does
> not have more budget to continue running
> Jan 11, 2022 @ 04:20:21.516 - BackgroundTask - The task smpp-reconnect does
> not have more budget to continue running
> ... (endless repeat of the last log message)
> {code}
> I guess this was caused by https://issues.apache.org/jira/browse/CAMEL-17121
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)