Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...

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

Image Modified
Figure 2: Scenario demonstration showing sample output and performance numbers

...

  • NumProducers should be >= NumSessions and NumSessions should be >= NumConnections, otherwise, it is waste 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.

Adaptavist ThemeBuilder EngineAtlassian Confluence