Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[milo-dev] Best practices for a permanent connection

Hello all,
my name's Daniele, I'm from Italy and I'm using milo in industrial scenarios, more specifically in a java daemon that is permanently connected to a Opcua server (hosted in a Siemens PLC).

Everything works flawlessly, but I was wandering what are the best practices in order to establish a permanent connection from java to a Opcua server that could last for weeks, months or even years.

It is enough to create/connect one milo client once and do no more checks? Should I trust it to check for every connection loss and various problems, and reconnect automagically when needed?

Important info: I use subscriptions, so I think I should do as told here [1] to renew subscriptions once in a while, is that correct?

Anything else I should worry about or check from time to time?

Thank you in advance,
Daniel

[1] https://stackoverflow.com/questions/41462992/eclipse-milo-session-not-getting-created-when-opc-ua-server-restarts



Back to the top