This content has been marked as final.
Show 1 reply
-
1. Re: ESB: Services of a certain category
mferguson Oct 16, 2009 2:48 PM (in response to ndvd)use the org.jboss.soa.esb.services.registry.Registry interface:
import org.jboss.soa.esb.services.registry.Registry; import org.jboss.soa.esb.services.registry.RegistryFactory; ... String categoryName = "catname"; Registry reg = RegistryFactory.getRegistry(); List<String> serviceNames = reg.findServices(categoryName); //to get the EPRs for invocations List<EPR> eprs = new List<EPR>(); for (String serviceName : serviceNames) { eprs.add(reg.findEPR(categoryName, serviceName)); } ....