A specific protocol adapter can be used for a specific protocol The protocol-adapter that will be used by the device, is configured in the protocol_info field of the device. The following steps are required to configure and use a specific protocol-adapter:
Create a protocol-adapter that listens to a specific queue
Add a protocol-info record that uses this queue for the requests
Configure the device in osgp-core, so that it will use this new protocol-info
Configure the name of the JMS queue on which the protocol adpater will listen for requests.
By using a different outgoing_requests_property_prefix value, osgp-core can use a separate JMS queue for the requests.
The property with the prefix specified in the protocol-info table must be configured in the osgp-core.properties file The value is the name of the JMS queue. This is the same name as the name of the JMS queue specified in the osgp-protocol-adapter-dlms
A device can be configured to use the specific protocol adapter, by pointing it to the new protocol_info record
device_identification
E0049007469584219
Identification of the device
protocol_info_id
1
Reference to id in Protocol Info table