Class Producer


  • public class Producer
    extends Object
    • Field Detail

      • producer

        public javax.jms.MessageProducer producer
      • identifier

        public String identifier
    • Constructor Detail

      • Producer

        public Producer​(QueueManager manager,
                        String topic)
                 throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
    • Method Detail

      • sendTextMessage

        public void sendTextMessage​(String text,
                                    long timeToLive)
                             throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • sendMessage

        public void sendMessage​(Object toSend,
                                long timeToLive)
                         throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • standBy

        public void standBy()
                     throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • stop

        public void stop()
                  throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException
      • closeSession

        public void closeSession()
                          throws javax.jms.JMSException
        Throws:
        javax.jms.JMSException