You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "cunningt (via GitHub)" <gi...@apache.org> on 2025/06/17 18:51:27 UTC

[PR] CAMEL-22174 Catch TransportExceptions and disconnect share calls so we can recover from network outage [camel]

cunningt opened a new pull request, #18387:
URL: https://github.com/apache/camel/pull/18387

   # Description
   
   https://issues.apache.org/jira/browse/CAMEL-22174
   
   This was brought up on the userlist - camel-smb has trouble recovering from TransportExceptions thrown by smb if there is a network outage that affects the SMB share.   If we catch the exception and disconnect(), camel-smb can recover by reconnecting once the share is again reachable.
   
   I've tested this both with the camel-smb consumer and the producer and it seems to work - once the connection to the SMB share can be reestablished, camel-smb will continue to poll / consume.
   
   # Target
   
   - [x ] I checked that the commit is targeting the correct branch (Camel 4 uses the `main` branch)
   
   # Tracking
   - [ x] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it).
   
   # Apache Camel coding standards and style
   
   - [x ] I checked that each commit in the pull request has a meaningful subject line and body.
   
   - [x ] I have run `mvn clean install -DskipTests` locally from root folder and I have committed all auto-generated changes.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-22174 Catch TransportExceptions and disconnect share calls so we can recover from network outage [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #18387:
URL: https://github.com/apache/camel/pull/18387#issuecomment-2981489381

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :robot: CI automation will test this PR automatically.
   
   :camel: Apache Camel Committers, please review the following items:
   
   * First-time contributors **require MANUAL approval** for the GitHub Actions to run
   
   * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot.
   
   * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
   
   * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. 
   
   * :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-22174 Catch TransportExceptions and disconnect share calls so we can recover from network outage [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #18387:
URL: https://github.com/apache/camel/pull/18387


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] CAMEL-22174 Catch TransportExceptions and disconnect share calls so we can recover from network outage [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #18387:
URL: https://github.com/apache/camel/pull/18387#issuecomment-2982726420

   this is causing streamDownload=true to not function - it appears that the data cannot be read. However its better to have roboust re-connect so we can take a look at how to make streamdownload work again or make it unsupported


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org