java.lang.Object
org.eclipse.persistence.internal.eis.adapters.jms.CciJMSInteractionSpec
All Implemented Interfaces:
InteractionSpec, Serializable
Direct Known Subclasses:
CciJMSReceiveInteractionSpec, CciJMSSendInteractionSpec, CciJMSSendReceiveInteractionSpec

public abstract class CciJMSInteractionSpec extends Object implements InteractionSpec
INTERNAL: Interaction spec for JMS JCA adapter.
Since:
OracleAS TopLink 10g (10.0.3)
See Also:
  • Field Details

    • destinationURL

      protected String destinationURL
    • destination

      protected String destination
    • messageSelector

      protected String messageSelector
  • Constructor Details

    • CciJMSInteractionSpec

      public CciJMSInteractionSpec()
      Default constructor.
  • Method Details

    • hasDestinationURL

      public boolean hasDestinationURL()
      Indicates if a JNDI lookup is to be performed to locate the destination.
      Returns:
      true if a destination URL has been specified, false otherwise
    • setDestinationURL

      public void setDestinationURL(String url)
      Set the destination URL to be looked up.
      Parameters:
      url - - the destination name as registered in JNDI
    • getDestinationURL

      public String getDestinationURL()
      Return the URL of the destination.
      Returns:
      the destination name as registered in JNDI
    • setDestination

      public void setDestination(String dest)
      Set the name of the destination to be used. This is required if JNDI is not being used to lookup the destination.
    • getDestination

      public String getDestination()
      Return the name of the destination - required if JNDI is not being used.
      Returns:
      the name of the destination to be used
    • setMessageSelector

      public void setMessageSelector(String selector)
      Sets the message selector to be used to link the request and response messages. If this value is not set, it is assumed that the entity processing the request will set the JMSCorrelationID of the reponse message using the JMSMessageID of the request messsage.
    • getMessageSelector

      public String getMessageSelector()
      Returns the message selector to be used to link the request and response messages.
      Returns:
      the message selector.
    • getFormattedMessageSelector

      public String getFormattedMessageSelector()
      Returns the message selector in the appropriate format. The selector is set in JMS message selector format: "JMSCorrelationID = 'message_selector'
      Returns:
      formatted message selector - uses JMSCorrelationID
    • hasMessageSelector

      public boolean hasMessageSelector()
      Indicates if the user has set a message selector.
      Returns:
      true if a message selector has been set, false otherwise
    • toString

      public String toString()
      Returns the destination URL or class
      Overrides:
      toString in class Object
      Returns:
      destination URL or destination class