com.ibm.websphere.webmsg.publisher.jndijms

Class BayeuxJmsTextMsg

  1. java.lang.Object
  2. extended bycom.ibm.websphere.webmsg.publisher.jndijms.JmsWebMsg
  3. extended bycom.ibm.websphere.webmsg.publisher.jndijms.JmsWebTextMsg
  4. extended bycom.ibm.websphere.webmsg.publisher.jndijms.BayeuxJmsTextMsg
All implemented interfaces:
WebMessage

  1. public class BayeuxJmsTextMsg
  2. 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

Constructor and Description
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

  1. public BayeuxJmsTextMsg(java.lang.String channel,
  2. java.lang.String content)
Constructor
Parameters:
channel - - Bayeux channel to publish to. Will be sent over default topic space.
content - - Text to sent.

BayeuxJmsTextMsg

  1. public BayeuxJmsTextMsg(java.lang.String channel,
  2. java.lang.String content,
  3. 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

  1. public BayeuxJmsTextMsg(java.lang.String destination,
  2. java.lang.String channel,
  3. java.lang.String content,
  4. 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