Class WmMessageFactoryImpl

    • Constructor Detail

      • WmMessageFactoryImpl

        public WmMessageFactoryImpl()
    • Method Detail

      • createBytesMessage

        public WmBytesMessage createBytesMessage()
                                          throws javax.jms.JMSException
        Description copied from interface: WmMessageFactory
        Creates a BytesMessage for use by WmMarshalIn implementors.
        Specified by:
        createBytesMessage in interface WmMessageFactory
        Returns:
        a new BytesMessage that can be populated by the marshalling routine from the BrokerEvent.
        Throws:
        javax.jms.JMSException
      • createMapMessage

        public WmMapMessage createMapMessage()
                                      throws javax.jms.JMSException
        Description copied from interface: WmMessageFactory
        Creates a MapMessage for use by WmMarshalIn implementors.
        Specified by:
        createMapMessage in interface WmMessageFactory
        Returns:
        a new MapMessage that can be populated by the marshalling routine from the BrokerEvent.
        Throws:
        javax.jms.JMSException
      • createMessage

        public WmMessage createMessage()
                                throws javax.jms.JMSException
        Description copied from interface: WmMessageFactory
        Creates a Message for use by WmMarshalIn implementors.
        Specified by:
        createMessage in interface WmMessageFactory
        Returns:
        a new Message that can be populated by the marshalling routine from the BrokerEvent.
        Throws:
        javax.jms.JMSException
      • createObjectMessage

        public WmObjectMessage createObjectMessage()
                                            throws javax.jms.JMSException
        Description copied from interface: WmMessageFactory
        Creates a ObjectMessage for use by WmMarshalIn implementors.
        Specified by:
        createObjectMessage in interface WmMessageFactory
        Returns:
        a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
        Throws:
        javax.jms.JMSException
      • createObjectMessage

        public WmObjectMessage createObjectMessage​(java.io.Serializable object)
                                            throws javax.jms.JMSException
        Description copied from interface: WmMessageFactory
        Creates a ObjectMessage for use by WmMarshalIn implementors.
        Specified by:
        createObjectMessage in interface WmMessageFactory
        Parameters:
        object - the object to use to initialize this message
        Returns:
        a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
        Throws:
        javax.jms.JMSException
      • createStreamMessage

        public WmStreamMessage createStreamMessage()
                                            throws javax.jms.JMSException
        Description copied from interface: WmMessageFactory
        Creates a StreamMessage for use by WmMarshalIn implementors.
        Specified by:
        createStreamMessage in interface WmMessageFactory
        Returns:
        a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
        Throws:
        javax.jms.JMSException
      • createTextMessage

        public WmTextMessage createTextMessage()
                                        throws javax.jms.JMSException
        Description copied from interface: WmMessageFactory
        Creates a TextMessage for use by WmMarshalIn implementors.
        Specified by:
        createTextMessage in interface WmMessageFactory
        Returns:
        a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
        Throws:
        javax.jms.JMSException
      • createTextMessage

        public WmTextMessage createTextMessage​(java.lang.String text)
                                        throws javax.jms.JMSException
        Description copied from interface: WmMessageFactory
        Creates a TextMessage for use by WmMarshalIn implementors.
        Specified by:
        createTextMessage in interface WmMessageFactory
        Parameters:
        text - the string used to initialize this message
        Returns:
        a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
        Throws:
        javax.jms.JMSException