camel-plc4x: Connection now established in doStart() of Producer/Consumer instead of constructors#8967
Merged
davsclaus merged 1 commit intoapache:mainfrom Jan 3, 2023
Conversation
…umer instead of constructors
Contributor
|
🌟 Thank you for your contribution to the Apache Camel project! 🌟 If necessary Apache Camel Committers may access logs and test results in the job summaries! |
oscerd
approved these changes
Jan 3, 2023
Contributor
Components tested:
|
|
These changes were initially made in the PLC4X project and I suggested to bring them here, as we just recently donated the component here ... so from the PLC4X side, we would approve the changes. |
davsclaus
approved these changes
Jan 3, 2023
davsclaus
pushed a commit
that referenced
this pull request
Jan 3, 2023
…umer instead of constructors (#8967) Co-authored-by: Stein Overtoom <stein.overtoom@triopsys.nl>
SteinOv
pushed a commit
to SteinOv/camel
that referenced
this pull request
Feb 1, 2023
…umer instead of constructors (apache#8967) Co-authored-by: Stein Overtoom <stein.overtoom@triopsys.nl>
davsclaus
pushed a commit
that referenced
this pull request
Feb 1, 2023
* camel-plc4x: Connection now established in doStart() of Producer/Consumer instead of constructors (#8967) Co-authored-by: Stein Overtoom <stein.overtoom@triopsys.nl> * camel-plc4x: Added autoReconnect uri parameter (#8971) * camel-plc4x: Added autoReconnect uri parameter * camel-plc4x: fix autoReconnect parameter style * camel-plc4x: autoReconnect parameter, log level to warn (code review) Co-authored-by: Stein Overtoom <stein.overtoom@triopsys.nl> * camel-plc4x Implemented Plc4XPollingConsumer and some refactoring (CAMEL-18861) (#9254) * camel-plc4x: fixed Plc4XComponentTest unit test (CAMEL-18861) * camel-plc4x: Implemented Plc4XPollingConsumer (CAMEL-18861) * camel-plc4x: Refactored building ReadRequest into separate method (CAMEL-18861) * camel-plc4x: Improved auto-reconnect (CAMEL-18861) - An exchange with an empty map is created when no connection could be made, instead of no exchange at all - shuts down endpoint if auto-reconnect is turned off and connection is lost (upon first request) * camel-plc4x: Moved connection unit test from producer to endpoint test (CAMEL-18861) * camel-plc4x: Fixed unit tests, removed reflection from Endpoint and Producer tests and fixed canWrite bug in Producer (CAMEL-18861) * camel-plc4x: Exceptions are now only logged at trace level (CAMEL-18861) * camel-plc4x: Updated readme with PollingConsumer (CAMEL-18861) * camel-plc4x: Fixed formatting after Psourcecheck (CAMEL-18861) * camel-plc4x: Removed unused imports in Plc4XConsumer (CAMEL-18861) * camel-plc4x: Ran formatter (CAMEL-18861) --------- Co-authored-by: Stein Overtoom <stein.overtoom@triopsys.nl> * camel-plc4x: Fixed inconsistently passing/failing unit test (CAMEL-18861) (#9280) Co-authored-by: Stein Overtoom <stein.overtoom@triopsys.nl> --------- Co-authored-by: Stein Overtoom <stein.overtoom@triopsys.nl>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I do not have a JIRA account yet, so I could not create a JIRA ticket. I did create a issue over on the plc4x GitHub: plc4x-bug-713.
I moved establishment of the connection to the doStart() method instead of the constructor of the Endpoint. See the issue above for more information.