All Implemented Interfaces:
Runnable, Action
Direct Known Subclasses:
Browse, Consumer, Producer

public class DestAbstract extends ConnectionAbstract
  • Field Details

    • txBatchSize

      protected int txBatchSize
  • Constructor Details

    • DestAbstract

      public DestAbstract()
  • Method Details

    • getMessageSerializer

      protected MessageSerializer getMessageSerializer()
    • getDestination

      protected javax.jms.Destination getDestination(javax.jms.Session session) throws javax.jms.JMSException
      Throws:
      javax.jms.JMSException
    • getDestination

      public static javax.jms.Destination getDestination(javax.jms.Session session, String destination) throws javax.jms.JMSException
      Throws:
      javax.jms.JMSException
    • stripPrefix

      public static String stripPrefix(String destination)
    • getDestination

      public String getDestination()
    • setDestination

      public DestAbstract setDestination(String destination)
    • getMessageCount

      public long getMessageCount()
    • setMessageCount

      public DestAbstract setMessageCount(long messageCount)
    • getSleep

      public int getSleep()
    • setSleep

      public DestAbstract setSleep(int sleep)
    • getTxBatchSize

      public int getTxBatchSize()
    • setTxBatchSize

      public DestAbstract setTxBatchSize(int txBatchSize)
    • getThreads

      public int getThreads()
    • setThreads

      public DestAbstract setThreads(int threads)
    • getSerializer

      public String getSerializer()
    • setSerializer

      public DestAbstract setSerializer(String serializer)
    • execute

      public Object execute(ActionContext context) throws Exception
      Specified by:
      execute in interface Action
      Overrides:
      execute in class ConnectionConfigurationAbtract
      Throws:
      Exception