0 Replies Latest reply on Dec 2, 2009 1:25 PM by mfishm1

    is there a programatic way to detect the total number of thr

      Hi,

      I have a esb service that can be run on multiple machines in a esb cluster. The service endpoint has its maxThreads set to something larger than 1. Is there a way to problematically get the following information:

      int count = <# of machines that currently have the .esb service deployed> * <what ever maxThreads is specified to in the jboss-esb.xml file for that service>

      I thought I could do something like:

      int count = RegistryUtil.getEprs(...).size();

      but that does not seem to do what I thought.

      Thanks.

      -- Mark