*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface MessageQueueInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, Remote

@SASScope("ALL") @BinaryCompatibilityOnly public interface MessageQueueInterface extends MetadataInterface
Message queue interface.
Since:
9.2
  • Field Details

  • Method Details

    • getQueueManager

      ServerComponentInterface getQueueManager() throws ServiceException, RemoteException
      Gets the queue manager server associated with this queue.
      Returns:
      Queue's server manager.
      Throws:
      ServiceException - if a repository error occurs.
      RemoteException - in the event of remote object failure.
    • setQueueManager

      void setQueueManager(ServerComponentInterface server) throws ServiceException, RemoteException
      Set the queue manager ServerComponent for this message queue.
      Parameters:
      server - The ServerComponent for this queue.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getQueueURI

      String getQueueURI() throws ServiceException, RemoteException
      Gets the queue name to deliver to for this subscriber.
      Returns:
      The message queue this subscriber recieves published information on.
      Throws:
      ServiceException - if unable to determine the queue's URI.
      RemoteException - if a network anomaly is encountered.
    • getServerConnection

      TCPIPConnectionInterface getServerConnection() throws ServiceException, RemoteException
      Gets the server connection.

      Use this method if you just want to query the server connection remote object for values.

      Returns:
      Server connection.
      Throws:
      ServiceException - if unable to determine the queue's server connection.
      RemoteException - if a network anomaly is encountered.
    • setServerConnection

      void setServerConnection(TCPIPConnectionInterface connection) throws ServiceException, RemoteException
      Sets the connection used by the controlling server.
      Parameters:
      connection - The TCPIPConnection for the controller to use.
      Throws:
      ServiceException - If a server error occurs.
      RemoteException - In the event of remote object failure.