idmap.findIdmap
idmap.findIdmap(ep1, id1, ep2)
Description
Returns id2 (the id in the idmaps of the endpoint ep2).
Parameters
| Parameter | Type | Explanation |
|---|---|---|
| ep1 | String | The first endpoint |
| id1 | String | The first id (the id in the idmaps of the endpoint ep1) |
| ep2 | String | The second endpoint |
Example
idmap = option.getIdmap()
originid = message.getId()
originendpoint = message.getEndpoint()
println findIdmap(originendpoint, originid, api.getEndpoint())