You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by GitBox <gi...@apache.org> on 2022/12/27 11:36:36 UTC

[GitHub] [plc4x] SteinOv opened a new issue, #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

SteinOv opened a new issue, #713:
URL: https://github.com/apache/plc4x/issues/713

   ### What happened?
   
   In the Apache Camel integration the connection is established in the constructor of Plc4XEndpoint instead of the doStart() method in the Plc4XConsumer/Plc4XProducer. Although this is not explicitly mentioned in the documentation, this is required for features like [disabling auto-start](https://camel.apache.org/manual/configuring-route-startup-ordering-and-autostartup.html#_autostartup) or the [route controller](https://camel.apache.org/manual/route-controller.html) to work.
   If no connection can be made at startup, the constructor of the Plc4XEndpoint will throw an Exception and the program will crash immediately.
   So, to fix this, the connection should be established in the doStart() methods of the Plc4XConsumer/Plc4XProducer.
   
   ### Version
   
   v0.10.0
   
   ### Programming Languages
   
   - [X] plc4j
   - [ ] plc4go
   - [ ] plc4c
   - [ ] plc4net
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] CANopen
   - [ ] DeltaV
   - [ ] DF1
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] KNXnet/IP
   - [ ] Modbus
   - [ ] OPC-UA
   - [ ] S7


-- 
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: issues-unsubscribe@plc4x.apache.org.apache.org

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


[GitHub] [plc4x] SteinOv commented on issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

Posted by GitBox <gi...@apache.org>.
SteinOv commented on issue #713:
URL: https://github.com/apache/plc4x/issues/713#issuecomment-1365839462

   .take-issue


-- 
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: issues-unsubscribe@plc4x.apache.org

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


[GitHub] [plc4x] SteinOv commented on issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

Posted by GitBox <gi...@apache.org>.
SteinOv commented on issue #713:
URL: https://github.com/apache/plc4x/issues/713#issuecomment-1366557700

   PR created, waiting for review.


-- 
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: issues-unsubscribe@plc4x.apache.org

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


[GitHub] [plc4x] SteinOv closed issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

Posted by GitBox <gi...@apache.org>.
SteinOv closed issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint
URL: https://github.com/apache/plc4x/issues/713


-- 
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: issues-unsubscribe@plc4x.apache.org

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


[GitHub] [plc4x] SteinOv commented on issue #713: [Bug]: Camel integration, connection initiated in constructor of Endpoint

Posted by GitBox <gi...@apache.org>.
SteinOv commented on issue #713:
URL: https://github.com/apache/plc4x/issues/713#issuecomment-1398555696

   Merged in Camel repository, closing this.


-- 
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: issues-unsubscribe@plc4x.apache.org

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