com.ibm.websphere.webmsg.publisher

Interface WebMessage

All known implementing classes:
BayeuxJmsObjectMsg, BayeuxJmsTextMsg, JmsWebMsg, JmsWebObjectMsg, JmsWebTextMsg

  1. 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 Summary

Modifier and Type Method and Description
  1. java.lang.Object
getData()
  1. long
getMessageID()
  1. java.lang.String
getMessageType()
Get message type
  1. java.lang.String
getTarget()

Method Detail

getTarget

  1. java.lang.String getTarget()
Returns:
Returns the topic.

getData

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

getMessageID

  1. long getMessageID()
Returns:
Returns the messageID.

getMessageType

  1. java.lang.String getMessageType( )
Get message type
Returns:
Message type.