message.addIdmap
message.addIdmap(endpoint, id)
Description
Records an ID mapping for this message and the specified endpoint/id pair.
Parameters
| Parameter | Type | Explanation |
|---|---|---|
| endpoint | String | The other endpoint (it is not the endpoint of the message) |
| id | String | The other id (it is not the id of the message) |
Example
message.addIdmap(api.getEndpoint(), message.getId())