I know direct methods are possible but sometimes you just want to have a queue of C2D messages which are delivered to devices when they come online. Direct methods only work when a device is connected and it would require some effort to implement the aforementioned scenario. Also one would need some routing logic to deliver those messages to modules.
Hi Anonymous, this is still a feature gap for IoT Edge.
Hi Chipalo, is this feature still not implemented? Are they any workarounds to allow a Java Edge module to receive a C2D message. I am currenly using ModuleClient.setMessageCallback() in an attempt to receive messages.
The scenario you describe is correct.
To be explicit, the only thing that is not supported right now is C2D messages to a module in an Edge device. C2D methods to a module in an Edge device are supported. Also, both C2D messages and C2D methods to devices behind an Edge device acting as a transparent gateway are supported.