Activation specifications
Message-driven bean applications, that are configured to use an activation specification, have conversations active for activation specification to monitor a JMS destination, and for every server session used to run a message-driven bean instance to process messages.
- One conversation for the activation specification to monitor a JMS destination for suitable messages. This conversation is starts as soon as the activation specification starts, and remains active until the activation specification stops.
- One conversation for every server session used to run a message-driven bean instance to process messages.
The activation specification advanced property Maximum server sessions specifies the maximum number of server sessions that can be active at any one time for a given activation specification. This property has the default value of 10. Server sessions are created as they are needed, and are closed down if they have been idle for the period of time specified by the activation specification advanced property Server session pool timeout. The default value for this property is 300000 milliseconds (5 minutes).
Conversations start when a server session is created, and are stopped either when the activation specification is stopped or when a server session times out.
Maximum number of conversations = Maximum server sessions + 1 Maximum number of channel instances =
Maximum number of conversations / SHARECNV for the channel being used Any
remainder from this calculation can be rounded up.Maximum number of conversations = Maximum server sessions + 1
For
example:
= 10 + 1
= 11 Maximum number of channel instances =
Maximum number of conversations / SHARECNV for the channel being usedFor
example:
= 11 / 10
= 2 (rounded up to nearest connection)