idmap.delete
idmap.delete(ep, id)
idmap.delete(ep, id, deleteLinkedIdmaps)
Description
Deletes the idmap with the endpoint ep and id id. If deleteLinkedIdmaps is true, it will delete all idmaps that is associated with the idmap will be deleted.
Parameters
| Parameter | Type | Explanation |
|---|---|---|
| ep | String | The endpoint |
| id | String | The id (the id in the idmaps of the endpoint ep) |
| deleteLinkedIdmaps | boolean | Whether to delete all idmaps associated with the deleted idmap |
Example
originid = message.getId()
originendpoint = message.getEndpoint()
println idmap.delete(originendpoint, originid, true)