Class CciJMSReceiveInteractionSpec
java.lang.Object
org.eclipse.persistence.internal.eis.adapters.jms.CciJMSInteractionSpec
org.eclipse.persistence.internal.eis.adapters.jms.CciJMSReceiveInteractionSpec
- All Implemented Interfaces:
InteractionSpec
,Serializable
INTERNAL:
Interaction spec for JMS JCA adapter.
Specifies a receive message interaction.
- Since:
- OracleAS TopLink 10g (10.0.3)
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.eis.adapters.jms.CciJMSInteractionSpec
destination, destinationURL, messageSelector
Fields inherited from interface jakarta.resource.cci.InteractionSpec
SYNC_RECEIVE, SYNC_SEND, SYNC_SEND_RECEIVE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Return the length of time to wait for a response.void
setTimeout
(long timeout) Set the length of time to wait for a response.void
setTimeout
(String timeout) Set the length of time to wait for a response.Methods inherited from class org.eclipse.persistence.internal.eis.adapters.jms.CciJMSInteractionSpec
getDestination, getDestinationURL, getFormattedMessageSelector, getMessageSelector, hasDestinationURL, hasMessageSelector, setDestination, setDestinationURL, setMessageSelector, toString
-
Field Details
-
timeout
protected long timeout
-
-
Constructor Details
-
CciJMSReceiveInteractionSpec
public CciJMSReceiveInteractionSpec()The default constructor.
-
-
Method Details
-
setTimeout
Set the length of time to wait for a response. A setting of 0 indicates infinite wait time. -
setTimeout
public void setTimeout(long timeout) Set the length of time to wait for a response. A setting of 0 indicates infinite wait time. -
getTimeout
public long getTimeout()Return the length of time to wait for a response.- Returns:
- the length of time to wait for a response, 0 for infinite
-