Class PerfProducerCommand

  • All Implemented Interfaces:
    Action

    @Command(name="producer",
             description="It will send messages to a broker instance")
    public class PerfProducerCommand
    extends PerfCommand
    • Field Detail

      • persistent

        protected boolean persistent
      • messageSize

        protected int messageSize
      • rate

        protected java.lang.Long rate
      • ttl

        protected long ttl
      • msgGroupID

        protected java.lang.String msgGroupID
      • sharedConnections

        protected boolean sharedConnections
      • txSize

        protected long txSize
      • producersPerDestination

        protected int producersPerDestination
      • threads

        protected int threads
      • maxPending

        protected long maxPending
      • enableMessageID

        protected boolean enableMessageID
      • enableTimestamp

        protected boolean enableTimestamp
    • Constructor Detail

      • PerfProducerCommand

        public PerfProducerCommand()
    • 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