Skip to main content
Skip table of contents

Sender

Sender component is used to publish JMS messages (on its output port) to measure the performance. The rate at which the messages are published depends upon the message size, number of connections, sessions, producers, and so on. This component can be configured using the Runtime Argument parameters  and logs can be checked to monitor performance.

Configuration

The Sender component does not have a Configuration Property Sheet; it accepts certain parameters as Runtime Arguments.

Runtime Arguments

From eStudio, select the component and go to Runtime Arguments tab in Properties panel to configure Runtime Arguments.


Figure 1: Screenshot showing the Sender properties

Argument NameDescription
totalMessageCountNumber of messages to be published on the output port.
isTransactedWhether the session is transacted or not (true/false).
transactionSizeNumber of messages to be transacted at a time. The default value is 1.
msgSizeSize of the message (in Bytes) to be published. Default message is sent in case XML file path is not provided.
xmlFilePathLocation of the XML file to be sent as the message content. If the path is not provided, then the component sends the default XML message to its output port.
numConnectionsNumber of connections to be created.
numSessionsNumber of sessions to be created.
numProducersNumber of producers to be created.

Functional Demonstration

Scenario 1

Scenario demonstration of Sender which is configured to send 1000 messages. Sender by default sends an XML message if we do not provide the xmlFilePath runtime argument.

Configure the Sender following the Configuration section to send 1000 messages and use a Display component to check the response.


Figure 2: Scenario demonstration showing sample output and performance numbers

Useful Tips

  • NumProducers should be >= NumSessions and NumSessions should be >= NumConnections, otherwise, it becomes a waste of resources. Producers are uniformly distributed over Sessions and Sessions over Connections.
  • The component automatically stops once all the messages are sent.
  • If the xmlFilePath is not provided in the Runtime Arguments, then a random message is generated of size msgSize as specified in Runtime Arguments.
  • msgSize cannot be negative if xmlFilePath is not provided. If xmlFilePath is provided, msgSize's value is not considered for the execution of the service.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.