How to get Hostname using ES

How to get the broker hostname in ES. I need to get the hostname in the IC and have to make branch based on the hostname.


In your IC, add a custom code step with the following:

BrokerClient myClient = access.getClient();
String myHostName = myClient.getBrokerHost();

Look at the other API calls in /Program Files\webMethods\EnterpriseServer5\doc\java_api\index.html
for additional info.

HTH, Tom