[ 
https://issues.apache.org/jira/browse/CAMEL-19409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17731987#comment-17731987
 ] 

Claus Ibsen commented on CAMEL-19409:
-------------------------------------

As a workaround you can do that, or have some manual code you can invoke that 
calls the stop(true) method.

To make a real fix then we need more time to reproduce, and catch that 401, and 
make it restart automatic.
However there are some code in other places where 401 is caught and "restarted" 
so if anyone has time to investigate then check this code, and see if you can 
do something similar in the place where you get this exception (see stacktrace 
file).

And if you have a test platform where you can test this, then that would be 
great.

> camel-salesforce - Can not re-subscribe to CDC channel data/ChangeEvents
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-19409
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19409
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>    Affects Versions: 3.18.3, 3.19.0
>            Reporter: Iva
>            Priority: Minor
>             Fix For: 3.20.6, 3.21.0, 4.0
>
>         Attachments: stacktrace.txt
>
>
> Hello, I have problem with connection to the salesforce channel ChangeEvents. 
> I am using quarkus - version 2.13.7 and camel with version 3.18.3 and when an 
> error occurs my application is not re-subscribing to the channel after that. 
> Do you know if it is problem from the camel version or do you have any idea 
> how I can fix it? Thank you in advance
> Edit 1: You can find the stacktrace of the exception in this file 
> [^stacktrace.txt] 
> The problem seems to be fixed after a restart of the pod but it is not 
> relevant solution. I have seen similar issue that is said to be fixed in 
> version 3.14  but it looks like now I have the same problem in latest version 
> https://issues.apache.org/jira/browse/CAMEL-16370 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to