Skip to main content

message.addIdmap

message.addIdmap(endpoint, id)

Description

Records an ID mapping for this message and the specified endpoint/id pair.

Parameters

ParameterTypeExplanation
endpointStringThe other endpoint (it is not the endpoint of the message)
idStringThe other id (it is not the id of the message)

Example

message.addIdmap(api.getEndpoint(), message.getId())