develop an OPCConsumer class. It will read OPCMessage objects from a queue and will write them to an OPC-DA server.
stp1. Develop an Adapter from JSON message to JIVariant object
stp2. Configuration needs to be integrated with the one used for OPCProducer.
stp3. First write item defined by getName() operation and getJsonValue() operation. The OPCMessage could include a list o items. In this case a second batch write operation is required.
Variant->OPCValue calculate java data type and serialize the value (for data types see table). Get the variant dataType (int value), transform in String and populate variantType field
OPCValue->Variant look at variantType and try to convert value to JIVariant (could throw exception)
develop an OPCConsumer class. It will read OPCMessage objects from a queue and will write them to an OPC-DA server.