com.ibm.websphere.models.config.extendedmessagingservice
Interface AsynchMessageConsumerExtension

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
AsynchMessageConsumerExtensionImpl

public interface AsynchMessageConsumerExtension
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Asynch Message Consumer Extension'. The Late Response Handling extension enables the handling of late responses with Container Managed Messaging.

The following features are supported:

See Also:
ExtendedmessagingservicePackage.getAsynchMessageConsumerExtension()

Method Summary
 com.ibm.websphere.models.config.applicationserver.ejbcontainer.messagelistener.ListenerPort getListenerPort()
          Returns the value of the 'Listener Port' reference
 int getRequestInterval()
          Returns the value of the 'Request Interval' attribute.
 int getRequestTimeout()
          Returns the value of the 'Request Timeout' attribute.
 boolean isEnabled()
          Returns the value of the 'Enabled' attribute.
 boolean isSetEnabled()
          Returns whether the value of the 'Enabled' attribute is set
 boolean isSetRequestInterval()
          Returns whether the value of the 'Request Interval' attribute is set
 boolean isSetRequestTimeout()
          Returns whether the value of the 'Request Timeout' attribute is set
 void setEnabled(boolean value)
          Sets the value of the 'Enabled' attribute
 void setListenerPort(com.ibm.websphere.models.config.applicationserver.ejbcontainer.messagelistener.ListenerPort value)
          Sets the value of the 'Listener Port' reference
 void setRequestInterval(int value)
          Sets the value of the 'Request Interval' attribute
 void setRequestTimeout(int value)
          Sets the value of the 'Request Timeout' attribute
 void unsetEnabled()
          Unsets the value of the 'Enabled' attribute
 void unsetRequestInterval()
          Unsets the value of the 'Request Interval' attribute
 void unsetRequestTimeout()
          Unsets the value of the 'Request Timeout' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

isEnabled

boolean isEnabled()
Returns the value of the 'Enabled' attribute. The default value is "false". Enable the handling of late responses

Returns:
the value of the 'Enabled' attribute.
See Also:
isSetEnabled(), unsetEnabled(), setEnabled(boolean), ExtendedmessagingservicePackage.getAsynchMessageConsumerExtension_Enabled()

setEnabled

void setEnabled(boolean value)
Sets the value of the 'Enabled' attribute.

Parameters:
value - the new value of the 'Enabled' attribute.
See Also:
isSetEnabled(), unsetEnabled(), isEnabled()

unsetEnabled

void unsetEnabled()
Unsets the value of the 'Enabled' attribute.

See Also:
isSetEnabled(), isEnabled(), setEnabled(boolean)

isSetEnabled

boolean isSetEnabled()
Returns whether the value of the 'Enabled' attribute is set.

Returns:
whether the value of the 'Enabled' attribute is set.
See Also:
unsetEnabled(), isEnabled(), setEnabled(boolean)

getRequestInterval

int getRequestInterval()
Returns the value of the 'Request Interval' attribute. The default value is "5000". Period between checking for late responses (milli-seconds)

Returns:
the value of the 'Request Interval' attribute.
See Also:
isSetRequestInterval(), unsetRequestInterval(), setRequestInterval(int), ExtendedmessagingservicePackage.getAsynchMessageConsumerExtension_RequestInterval()

setRequestInterval

void setRequestInterval(int value)
Sets the value of the 'Request Interval' attribute.

Parameters:
value - the new value of the 'Request Interval' attribute.
See Also:
isSetRequestInterval(), unsetRequestInterval(), getRequestInterval()

unsetRequestInterval

void unsetRequestInterval()
Unsets the value of the 'Request Interval' attribute.

See Also:
isSetRequestInterval(), getRequestInterval(), setRequestInterval(int)

isSetRequestInterval

boolean isSetRequestInterval()
Returns whether the value of the 'Request Interval' attribute is set.

Returns:
whether the value of the 'Request Interval' attribute is set.
See Also:
unsetRequestInterval(), getRequestInterval(), setRequestInterval(int)

getRequestTimeout

int getRequestTimeout()
Returns the value of the 'Request Timeout' attribute. The default value is "300". Duration in seconds after which to give up waiting for a response (-1 = unlimited)

Returns:
the value of the 'Request Timeout' attribute.
See Also:
isSetRequestTimeout(), unsetRequestTimeout(), setRequestTimeout(int), ExtendedmessagingservicePackage.getAsynchMessageConsumerExtension_RequestTimeout()

setRequestTimeout

void setRequestTimeout(int value)
Sets the value of the 'Request Timeout' attribute.

Parameters:
value - the new value of the 'Request Timeout' attribute.
See Also:
isSetRequestTimeout(), unsetRequestTimeout(), getRequestTimeout()

unsetRequestTimeout

void unsetRequestTimeout()
Unsets the value of the 'Request Timeout' attribute.

See Also:
isSetRequestTimeout(), getRequestTimeout(), setRequestTimeout(int)

isSetRequestTimeout

boolean isSetRequestTimeout()
Returns whether the value of the 'Request Timeout' attribute is set.

Returns:
whether the value of the 'Request Timeout' attribute is set.
See Also:
unsetRequestTimeout(), getRequestTimeout(), setRequestTimeout(int)

getListenerPort

com.ibm.websphere.models.config.applicationserver.ejbcontainer.messagelistener.ListenerPort getListenerPort()
Returns the value of the 'Listener Port' reference. Listener ports for Message Driven Beans to listen upon for messages. Each port specifies the JMS Connection Factory and JMS Destination that an MDB, deployed against that port, will listen upon.

Returns:
the value of the 'Listener Port' reference.
See Also:
setListenerPort(ListenerPort), ExtendedmessagingservicePackage.getAsynchMessageConsumerExtension_ListenerPort()

setListenerPort

void setListenerPort(com.ibm.websphere.models.config.applicationserver.ejbcontainer.messagelistener.ListenerPort value)
Sets the value of the 'Listener Port' reference.

Parameters:
value - the new value of the 'Listener Port' reference.
See Also:
getListenerPort()