Hello Colleagues,
I found a small mistake in the code example at https://cap.cloud.sap/docs/java/outbox#technical-outbox-api
The code seems to have a syntax error (getServiceCatalog takes no arguments).
OutboxService outboxService = runtime.getServiceCatalog(OutboxService.class, "<OutboxServiceName>");
I believe the correct code would be:
OutboxService outboxService = runtime.getServiceCatalog().getService(OutboxService.class, "<OutboxServiceName>");
Let me raise a small PR.
Marton
Hello Colleagues,
I found a small mistake in the code example at https://cap.cloud.sap/docs/java/outbox#technical-outbox-api
The code seems to have a syntax error (
getServiceCatalogtakes no arguments).I believe the correct code would be:
Let me raise a small PR.
Marton