Skip to content

Code snippet with syntax error #1757

@metzing

Description

@metzing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions