|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.webmsg.publisher.jndijms.JmsWebMsg
com.ibm.websphere.webmsg.publisher.jndijms.JmsWebTextMsg
public class JmsWebTextMsg
WebMsg implementation to send Text over JMS
Field Summary | |
---|---|
static java.lang.String |
TEXT_MESSAGE
Message type text |
Constructor Summary | |
---|---|
JmsWebTextMsg(java.lang.String target,
java.lang.String content)
Constructor |
|
JmsWebTextMsg(java.lang.String destination,
java.lang.String target,
java.lang.String content)
Constructor |
|
JmsWebTextMsg(java.lang.String destination,
java.lang.String target,
java.lang.String content,
long messageID)
Constructor |
Method Summary | |
---|---|
java.lang.Object |
getData()
Get data as Object |
javax.jms.Message |
getJmsMessage(javax.jms.Session session)
Given a JMS session, return new JMS message for this web message. |
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 |
Field Detail |
---|
public static final java.lang.String TEXT_MESSAGE
Constructor Detail |
---|
public JmsWebTextMsg(java.lang.String target, java.lang.String content)
target
- Target to send message to.content
- String content to sendpublic JmsWebTextMsg(java.lang.String destination, java.lang.String target, java.lang.String content)
destination
- Destination (SIBus specific)target
- target to send message to.content
- Content to send.public JmsWebTextMsg(java.lang.String destination, java.lang.String target, java.lang.String content, long messageID)
destination
- Destination is SIBus specific.target
- target to send message to.content
- content to send.messageID
- message for message.Method Detail |
---|
public java.lang.Object getData()
JmsWebMsg
getData
in interface WebMessage
getData
in class JmsWebMsg
JmsWebMsg:getData
public javax.jms.Message getJmsMessage(javax.jms.Session session) throws javax.jms.JMSException
JmsWebMsg
getJmsMessage
in class JmsWebMsg
session
- Existing JMS session.
javax.jms.JMSException
- If error creating message.JmsWebMsg:getJmsMessage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |