...
Figure 1: Screenshot showing the Receiver properties
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. |
selector | Message Selector if any (This selector is used in creating the consumer object). |
numConnections | Number of connections to be created. |
numSessions | Number of sessions to be created. |
sleeptime | Sleep time till all messages are received. The default value is 1000. |
Anchor | ||||
---|---|---|---|---|
|
...
Configure the Receiver following Configuration section and use a Sender component to send the input messages to the Receiver. Both the sender and receiver are configured for 1000 messages.
Figure 2: Scenario demonstration showing the performance numbers
...
- NumConsumers should be >= NumSessions and NumSessions should be >= NumConnections, otherwise, it is waste becomes a waste of resources. Consumers are uniformly distributed over Sessions and Sessions over Connections.
- The component automatically stops as when all the messages are received.
Overview
Content Tools
ThemeBuilder