com.ibm.websphere.webmsg.publisher

Interface WebMessage

  • All Known Implementing Classes:
    BayeuxJmsObjectMsg, BayeuxJmsTextMsg, JmsWebMsg, JmsWebObjectMsg, JmsWebTextMsg


    public interface WebMessage
    Models a message to be propagated to interested parties. Messages carry with them an associated target as meta-data such that they can be routed by a publisher according to the correct delivery paradigm as required by the application. Examples of this are the publish/subscribe whereupon the destination is a topic, or point-to-point where the destination is a named queue.
    • Method Detail

      • getTarget

        java.lang.String getTarget()
        Returns:
        Returns the topic.
      • getData

        java.lang.Object getData()
        Returns:
        the data attached to the message as a Java Object.
      • getMessageID

        long getMessageID()
        Returns:
        Returns the messageID.
      • getMessageType

        java.lang.String getMessageType()
        Get message type
        Returns:
        Message type.
IBM WebSphere Application Server [webmsg.publisher]