1 Reply Latest reply on May 26, 2008 8:09 AM by Stiwi Gabriel Courage

    How to configure pool/cluster for numbers of instances of a

    John Woo Newbie

      Hi,

      I'm using EJB 3 for a msg, the code likes:

      @MessageDriven(activationConfig = {
      @ActivationConfigProperty(
      propertyName="destinationType",
      propertyValue="javax.jms.Topic"),
      @ActivationConfigProperty(
      propertyName="destination",
      propertyValue="...")

      })
      @Clustered
      public class MyMSGBean implements javax.jms.MessageListener

      ...

      but it seemed there is only one instance in container, which slowdowns processing all requests.

      Can any one tell how to set like pool/cluster size for this bean?

      Thanks
      John