...
Argument Name | Description |
---|---|
totalMessageCount | Number of messages to be published on the output port. |
isTransacted | Whether the session is transacted or not (true/false). |
transactionSize | Number of messages to be transacted at a time. The default value is 1. |
msgSize | Size of the message (in Bytes) to be published. Default message is sent in case XML file path is not provided. |
xmlFilePath | Location 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. |
numConnections | Number of connections to be created. |
numSessions | Number of sessions to be created. |
numProducers | Number 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.
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.
Overview
Content Tools
ThemeBuilder