| java.lang.Object com.mockrunner.jms.GenericTransmissionManager
GenericTransmissionManager | public class GenericTransmissionManager (Code) | | This class is used to create generic producers that are not
associated with a destination.
If you create a MessageProducer with a null
destination, this class is used to create a MessageProducer
which is not associated with any destination.
If the session used to create the producer is a QueueSession ,
you'll get a QueueSender . For a TopicSession ,
you'll get a TopicPublisher . For a generic session,
you'll get a generic instance of MessageProducer .
|
closeAll | public void closeAll()(Code) | | Closes all producers.
|
closeAllMessageProducers | public void closeAllMessageProducers()(Code) | | Closes all producers.
|
createMessageProducer | public MockMessageProducer createMessageProducer()(Code) | | Creates a new MessageProducer .
the created MessageProducer |
createQueueSender | public MockQueueSender createQueueSender()(Code) | | Creates a new QueueSender .
the created QueueSender |
createTopicPublisher | public MockTopicPublisher createTopicPublisher()(Code) | | Creates a new TopicPublisher .
the created TopicPublisher |
getMessageProducer | public MockMessageProducer getMessageProducer(int index)(Code) | | Returns a MessageProducer by its index or
null , if no such MessageProducer is
present.
Parameters: index - the index of the MessageProducer the MessageProducer |
getMessageProducerList | public List getMessageProducerList()(Code) | | Returns the list of all MessageProducer objects.
the list of MessageProducer objects |
|
|