Since Lightweight Encryption Server fetches the data directly from Event Hub, the only routing that needs to be set is to define where the decrypted data should go. The default output route is for the module is “output1”.
So assuming the IoT module that will be responsible for processing the data, or passing it to another external module is called: DataProcessModule. Then the routing will look as follows:
out_route : FROM /messages/modules/LEServer/outputs/output1 INTO BrokeredEndpoint("/modules/DataProcessModule/inputs/input_1")