Skip to main content

idmap.findIdmap

idmap.findIdmap(ep1, id1, ep2)

Description

Returns id2 (the id in the idmaps of the endpoint ep2).

Parameters

ParameterTypeExplanation
ep1StringThe first endpoint
id1StringThe first id (the id in the idmaps of the endpoint ep1)
ep2StringThe second endpoint

Example

idmap = option.getIdmap()

originid = message.getId()
originendpoint = message.getEndpoint()
println findIdmap(originendpoint, originid, api.getEndpoint())