com.ibm.websphere.webmsg.publisher.jndijms

Class JmsWebTextMsg

    • Field Detail

      • TEXT_MESSAGE

        public static final java.lang.String TEXT_MESSAGE
        Message type text
        See Also:
        Constant Field Values
    • Constructor Detail

      • JmsWebTextMsg

        public JmsWebTextMsg(java.lang.String target,
                     java.lang.String content)
        Constructor
        Parameters:
        target - Target to send message to.
        content - String content to send
      • JmsWebTextMsg

        public JmsWebTextMsg(java.lang.String destination,
                     java.lang.String target,
                     java.lang.String content)
        Constructor
        Parameters:
        destination - Destination (SIBus specific)
        target - target to send message to.
        content - Content to send.
      • JmsWebTextMsg

        public JmsWebTextMsg(java.lang.String destination,
                     java.lang.String target,
                     java.lang.String content,
                     long messageID)
        Constructor
        Parameters:
        destination - Destination is SIBus specific.
        target - target to send message to.
        content - content to send.
        messageID - message for message.
    • Method Detail

      • getData

        public java.lang.Object getData()
        Description copied from class: JmsWebMsg
        Get data as Object
        Specified by:
        getData in interface WebMessage
        Specified by:
        getData in class JmsWebMsg
        Returns:
        the data attached to the message as a Java Object.
        See Also:
        JmsWebMsg:getData
      • getJmsMessage

        public javax.jms.Message getJmsMessage(javax.jms.Session session)
                                        throws javax.jms.JMSException
        Description copied from class: JmsWebMsg
        Given a JMS session, return new JMS message for this web message.
        Specified by:
        getJmsMessage in class JmsWebMsg
        Parameters:
        session - Existing JMS session.
        Returns:
        JMS Message
        Throws:
        javax.jms.JMSException - If error creating message.
        See Also:
        JmsWebMsg:getJmsMessage
IBM WebSphere Application Server [webmsg.publisher]