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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to