please find attached some code i want to contribute.
It an implementation of the ExpressionEvaluator interface which evaluates an EndpointURI.
Its currently part of the ldap transport project, but i think its not the right place for it.
It does:
a) ${endpointuri:endpointname.params:yyy} is evaluated to getParams().get("yyy") on the EndpointURI of the registered endpoint with the name 'endpointname'.
b) ${endpointuri:endpointname.userParams:yyy} is evaluated to getUserParams().get("yyy") on the EndpointURI of the registered endpoint with the name 'endpointname'.
c) ${endpointuri:endpointname.xxx} is evaluated to getXxx() on the EndpointURI of the registered endpoint with the name 'endpointname'.
Example for endpoint uri: "ldap://ldap.out/payload.cn?cnprop=testprop"
${endpointuri:endpointname.host} -> "ldap.out"
${endpointuri:endpointname.params:cnprop} -> "testprop"