Hello, I'm not very familiar with the internals of the Milo component but this request seems fair. Could you open an issue on https://issues.apache.org/jira/projects/CAMEL/issues please?
@[email protected]<mailto:[email protected]> I added you in cc as you are the author of the commits which added back the camel-milo component few months and you might better understand the mentioned use and what could be the best to handle it in Camel. regards, ________________________________ From: Xavier Gagnon <[email protected]> Sent: Thursday, May 21, 2026 9:46 PM To: [email protected] <[email protected]> Subject: [EXTERNAL] camel-milo - Support Custom DataTypes Hello everyone, The camel-milo OPC UA Client works well to read and write built-in OPC UA DataTypes, but it doesn't seem to work with custom ones. The client is able to read the value from a node with a custom DataType and return it as an ExtensionObject, but we can't actually decode it without having access to the internal milo OpcUaClient's EncodingContexts (and we can't also encode it when trying to write the value). I don't know if the camel client should be the one doing the decoding/encoding of custom DataTypes. It might be difficult or even impossible for it to correctly determine which EncodingContext to use for encoding/decoding values. But if the milo OpcUaClient could be accessed from outside the internal Camel classes, the user could get its EncodingContexts and do it themselves. Is it possible to expose the milo OpcUaClient object or its staticEncodingContext and dynamicEncodingContext fields? Best Regards, Xavier The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. | Le contenu de ce courriel et de toute pièce jointe est confidentiel. Ils sont destinés uniquement au(x) destinataire(s) nommé(s). Si vous avez reçu ce courriel par erreur, veuillez en informer immédiatement l'expéditeur et ne pas en divulguer le contenu à quiconque, ni en faire des copies. Unless otherwise stated above: Compagnie IBM France Siège Social : 17, avenue de l'Europe, 92275 Bois-Colombes Cedex RCS Nanterre 552 118 465 Forme Sociale : S.A.S. Capital Social : 664 614 175,50 € SIRET : 552 118 465 03644 - Code NAF 6203Z
