org.apache.qpid.topic
Class MessageFactory
java.lang.Object
org.apache.qpid.topic.MessageFactory
class MessageFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageFactory
MessageFactory(Session session)
throws JMSException
- Throws:
JMSException
MessageFactory
MessageFactory(Session session,
int size)
throws JMSException
- Throws:
JMSException
getTopic
Topic getTopic()
createEventMessage
Message createEventMessage()
throws JMSException
- Throws:
JMSException
createShutdownMessage
Message createShutdownMessage()
throws JMSException
- Throws:
JMSException
createReportRequestMessage
Message createReportRequestMessage()
throws JMSException
- Throws:
JMSException
createReportResponseMessage
Message createReportResponseMessage(String msg)
throws JMSException
- Throws:
JMSException
isShutdown
boolean isShutdown(Message m)
isReport
boolean isReport(Message m)
getReport
Object getReport(Message m)
createTopicConsumer
MessageConsumer createTopicConsumer()
throws Exception
- Throws:
Exception
createDurableTopicConsumer
MessageConsumer createDurableTopicConsumer(String name)
throws Exception
- Throws:
Exception
createControlConsumer
MessageConsumer createControlConsumer()
throws Exception
- Throws:
Exception
createTopicPublisher
MessageProducer createTopicPublisher()
throws Exception
- Throws:
Exception
createControlPublisher
MessageProducer createControlPublisher()
throws Exception
- Throws:
Exception
Licensed to the Apache Software Foundation