void get(String path, Handler<Buffer> bodyHandler);
does not provide error handling. In case of the EventBusResourceStorage implementation when there is no consumer on the configured EventBus address, only a warning is logged. The handler is never called.
In gateleen-core module the ResourceStorage (https://github.com/swisspost/gateleen/blob/develop/gateleen-core/src/main/java/org/swisspush/gateleen/core/storage/ResourceStorage.java) should be improved.
The actual endpoint like
does not provide error handling. In case of the EventBusResourceStorage implementation when there is no consumer on the configured EventBus address, only a warning is logged. The handler is never called.
See https://github.com/swisspost/gateleen/blob/develop/gateleen-core/src/main/java/org/swisspush/gateleen/core/storage/EventBusResourceStorage.java#L38