Class PerfConsumerCommand

  • All Implemented Interfaces:
    Action

    @Command(name="consumer",
             description="It will consume messages from a broker instance")
    public class PerfConsumerCommand
    extends PerfCommand
    • Field Detail

      • transaction

        protected boolean transaction
      • sharedSubscription

        protected int sharedSubscription
      • durableSubscription

        protected boolean durableSubscription
      • connections

        protected int connections
      • consumersPerDestination

        protected int consumersPerDestination
    • Constructor Detail

      • PerfConsumerCommand

        public PerfConsumerCommand()
    • Method Detail

      • onExecuteBenchmark

        protected void onExecuteBenchmark​(javax.jms.ConnectionFactory factory,
                                          javax.jms.Destination[] jmsDestinations,
                                          ActionContext context)
                                   throws java.lang.Exception
        Specified by:
        onExecuteBenchmark in class PerfCommand
        Throws:
        java.lang.Exception