CAMEL-20717 Throw created exception in TcpSocketConsumerRunnable
CAMEL-20717 Throw created exception in TcpSocketConsumerRunnable
: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-testsandtest-dependentsto fine-tune the checks executed by this PR. -
Build and test logs are available in the Summary page. Only Apache Camel committers have access to the summary.
-
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
Ah I think the exception should actually not be thrown but just removed, as the idea is that in case of timeout the handle method is triggered, but the run method should keep running. So instead can you just remove the exception.
You need to remove this line too
import org.apache.camel.component.mllp.MllpInvalidMessageException;
removed the import