◆ MessageId()
Set the id of the message. The message is rejected if another message is already published with the same id, name and correlation-key.
- Parameters
-
messageId | the id of the message. |
- Returns
- the builder for this command. Call IFinalCommandWithRetryStep<T>.Send to complete the command and send it to the broker.
◆ TimeToLive()
Set the time-to-live of the message. The message can only be correlated within the given time-to-live.
If the duration is zero or negative then the message can only be correlated to open subscriptions (e.g. to an entered message catch event).
- Parameters
-
timeToLive | the time-to-live of the message. |
- Returns
- the builder for this command. Call IFinalCommandStep<T>.Send to complete the command and send it to the broker.
◆ Variables()
Set the variables of the message.
- Parameters
-
variables | the variables (JSON) as String. |
- Returns
- the builder for this command. Call IFinalCommandStep<T>.Send to complete the command and send it to the broker.
The documentation for this interface was generated from the following file:
- Client/Api/Commands/IPublishMessageCommandStep1.cs