Configuring activation specifications for non-ASF mode
Activation specifications are the standardized way to manage and configure the relationship between a message driven bean (MDB) running in WebSphere® Application Server and a destination in IBM® WebSphere MQ. This task explains how to configure WebSphere Application Server to use non-ASF mode to processes messages.
Before you begin
The way in which you define the properties of an activation specification depends on the administration interfaces provided by your application server. This task assumes that you are using WebSphere Application Server version 7 or later as your application server and IBM WebSphere MQ as your messaging provider.
Non-ASF mode cannot be selected on z/OS® systems.
About this task
The properties of an activation specification determine how a message drive bean (MDB) receives JMS messages from an IBM WebSphere MQ queue. To configure non-ASF mode, define the properties of one or more activation specifications.
There are several IBM WebSphere MQ configurations that you can use in non-ASF mode. With the following configurations each thread uses a separate physical network connection:
- An IBM WebSphere MQ Version 7.x queue manager, using a connection factory that has the Provider version property set to 6.
- An IBM WebSphere MQ Version 7.x queue manager, using a connection factory that has the Provider version property set to 7 or unspecified, connecting over a IBM WebSphere MQ channel that has the SHARECNV (sharing conversations) parameter set to 0.
To configure non-ASF, set the ActivationSpec property NON.ASF.RECEIVE.TIMEOUT to a positive integer, that indicates that non-ASF delivery is used. The value is the time, in milliseconds, that a get request waits for messages that might not have yet arrived (a get with wait call). The default value, 0, indicates that ASF delivery is used. For further details see Message listener service custom properties.
This parameter is valid only when the application is running on WebSphere Application Server version 7 or later.