Skip to content

camel-plc4x: Connection now established in doStart() of Producer/Consumer instead of constructors#8967

Merged
davsclaus merged 1 commit intoapache:mainfrom
SteinOv:plc4xConnectionSetupInDoStart
Jan 3, 2023
Merged

camel-plc4x: Connection now established in doStart() of Producer/Consumer instead of constructors#8967
davsclaus merged 1 commit intoapache:mainfrom
SteinOv:plc4xConnectionSetupInDoStart

Conversation

@SteinOv
Copy link
Contributor

@SteinOv SteinOv commented Jan 3, 2023

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.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2023

🌟 Thank you for your contribution to the Apache Camel project! 🌟

⚠️ Please note that the changes on this PR may be tested automatically.

If necessary Apache Camel Committers may access logs and test results in the job summaries!

@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2023

Components tested:

Total Tested Failed ❌ Passed ✅
1 1 0 1

@chrisdutz
Copy link

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 davsclaus merged commit 3ea089b into apache:main 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants