Skip to main content

Define subscriber with all subscriptions

Define or redefine a subscriber with all subscriptions. In case the subscriber does not exist, it is created. In case the subscriber exist, all subscriptions get replaced.

Path Parameters
  • subscriber_id string required

    The identifier of the subscriber

Request Body array

The list of all subscriptions.

  • message_type string

    The name of the action to listen to

  • wait_for_completion boolean

    Default value: true

    If an action is sent to this subscriber, the event sender should wait until this subscriber has processed the message and send a done message. This is the expected behaviour of every actor and defaults to true.

  • timeout number

    Default value: 60

    This is the duration in seconds this subscriber has time to execute the action. After this time the sender assumes a failure and rejects the result of this actor.


The subscriber

  • id string

    The identifier of this subscriber

  • subscriptions object

    The dictionary of subscriptions, where the key is the message type

  • property name* object