com.ibm.websphere.webmsg.publisher.jndijms
Class BayeuxJmsTextMsg

java.lang.Object
  extended by com.ibm.websphere.webmsg.publisher.jndijms.JmsWebMsg
      extended by com.ibm.websphere.webmsg.publisher.jndijms.JmsWebTextMsg
          extended by com.ibm.websphere.webmsg.publisher.jndijms.BayeuxJmsTextMsg
All Implemented Interfaces:
WebMessage

public class BayeuxJmsTextMsg
extends JmsWebTextMsg

Implementation to send an text message over JMS given a bayeux channel. Converts bayeux channel to SIbus specific topic conversion.


Field Summary
 
Fields inherited from class com.ibm.websphere.webmsg.publisher.jndijms.JmsWebTextMsg
TEXT_MESSAGE
 
Constructor Summary
BayeuxJmsTextMsg(java.lang.String channel, java.lang.String content)
          Constructor
BayeuxJmsTextMsg(java.lang.String channel, java.lang.String content, long msgID)
          Constructor
BayeuxJmsTextMsg(java.lang.String destination, java.lang.String channel, java.lang.String content, long msgID)
          Constructor
 
Method Summary
 
Methods inherited from class com.ibm.websphere.webmsg.publisher.jndijms.JmsWebTextMsg
getData, getJmsMessage
 
Methods inherited from class com.ibm.websphere.webmsg.publisher.jndijms.JmsWebMsg
getDestination, getJmsDeliveryMode, getJmsPriority, getJmsTimeToLive, getMessageID, getMessageType, getTarget, setDestination, setJmsDeliveryMode, setJmsPriority, setJmsTimeToLive, setTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BayeuxJmsTextMsg

public BayeuxJmsTextMsg(java.lang.String channel,
                        java.lang.String content)
Constructor

Parameters:
channel - - Bayeux channel to publish to. Will be sent over default topic space.
content - - Text to sent.

BayeuxJmsTextMsg

public BayeuxJmsTextMsg(java.lang.String channel,
                        java.lang.String content,
                        long msgID)
Constructor

Parameters:
channel - - Bayeux channel to publish to. Will be sent over default topic space.
content - - Text to sent.
msgID - - Message ID

BayeuxJmsTextMsg

public BayeuxJmsTextMsg(java.lang.String destination,
                        java.lang.String channel,
                        java.lang.String content,
                        long msgID)
Constructor

Parameters:
destination - - SIBus destination to send message to.
channel - - Bayeux channel to publish to. Will be sent over default topic space.
content - - Text to sent.
msgID - - Message ID