@Retention(value=RUNTIME) @Target(value=TYPE) public @interface AsyncWebServiceQueue
AsyncWebServiceQueue
annotation describes the JMS queue that will be used to store the asynchronous requests for later processing. This annotation is applicable only to asynchronous web service implementation classes that are annotated with AsyncWebService
annotation.Modifier and Type | Fields and Description |
---|---|
static int |
MESSAGE_PROCESSOR_INITIAL_POOL_SIZE
The initial number of message processor instances in the pool to process the asynchronous requests.
|
static int |
MESSAGE_PROCESSOR_MAX_POOL_SIZE
The maximum number of message processor instances in the pool to process the asynchronous requests.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
connectionFactory
The JNDI name of the QueueConnectionFactory
|
boolean |
enableTransaction
If transaction is to be used for request-side MDB that processes messages from this queue.
|
int |
messageProcessorInitialPoolSize
The initial number of message processor instances in the pool to process the asynchronous requests.
|
int |
messageProcessorMaxPoolSize
The maximum number of message processor instances in the pool to process the asynchronous requests.
|
String |
messageProcessorPool
Name of the common message processor pool.
|
String |
queue
The JNDI name of the JMS queue where asynchronous requests will be saved for later processing
|
int |
transactionTimeoutSeconds
Transaction timeout in seconds for processing the message off the queue Meaningful only if the transaction is enabled or the method is non-idempotent This timeout is applied to the message driven bean that processes the request messages.
|
public static final int MESSAGE_PROCESSOR_INITIAL_POOL_SIZE
messageProcessorInitialPoolSize()
public static final int MESSAGE_PROCESSOR_MAX_POOL_SIZE
messageProcessorMaxPoolSize()
public abstract String connectionFactory
public abstract boolean enableTransaction
public abstract int messageProcessorInitialPoolSize
public abstract int messageProcessorMaxPoolSize
public abstract String messageProcessorPool
public abstract String queue
public abstract int transactionTimeoutSeconds