Skip to main content

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

ParameterTypeExplanation
epStringThe endpoint
idStringThe id (the id in the idmaps of the endpoint ep)
deleteLinkedIdmapsbooleanWhether to delete all idmaps associated with the deleted idmap

Example

originid = message.getId()
originendpoint = message.getEndpoint()
println idmap.delete(originendpoint, originid, true)