Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-04


oracle.webservices.annotations.async
Annotation Type AsyncWebServiceResponseQueue


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface AsyncWebServiceResponseQueue

The AsyncWebServiceResponseQueue annotation describes the JMS queue that will be used to store the asynchronous responses. Typically such messages will be sent immediately to the callback service at the client side. In case the client side listener is not up, the messages will be kept in this queue for retrying later. This annotation is applicable only to asynchronous web service implementation classes that are annotated with AsyncWebService annotation.


Optional Element Summary
 String connectionFactory
          The JNDI name of the QueueConnectionFactory used for response queue
 boolean enable
          The response queue to be used or not.
 boolean enableTransaction
          If transaction is to be used for the MDB that processes messages from this response queue.
 String queue
          The JNDI name of the JMS queue where asynchronous responses will be saved for later processing

 

enable

public abstract boolean enable
The response queue to be used or not. If not enabled, response processing will be done by request-side MDB
Default:
true

connectionFactory

public abstract String connectionFactory
The JNDI name of the QueueConnectionFactory used for response queue
Default:
""

queue

public abstract String queue
The JNDI name of the JMS queue where asynchronous responses will be saved for later processing
Default:
""

enableTransaction

public abstract boolean enableTransaction
If transaction is to be used for the MDB that processes messages from this response queue.
Default:
false

Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-04


Copyright © 2006, 2010, Oracle and/or its affiliates. All rights reserved..