Sending messages to TCP clients that are not always connected
I have a requirement that I need to send a message to a TCP client that connects to the SI server periodically say via tcp inbound gateway. There is no way for the SI server to initiate a connection to the device. I would like to place a message onto a channel via a simple gateway and have this message routed to the device when it connects. Until the device connects to the server the message should remain in the system. Each message will be for a particular device and the device is known by a device ID which the device sends to the server when it connects.
Is there a way to publish a message destined for a particular device even if that device is not connected?