|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MessageReceiver | |
org.exolab.jmscts.core | Core code used to execute JMS CTS |
Uses of MessageReceiver in org.exolab.jmscts.core |
Methods in org.exolab.jmscts.core that return MessageReceiver | |
protected MessageReceiver |
AbstractSendReceiveTestCase.createReceiver(java.lang.String name)
Helper to create a MessageReceiver for a single destination returned by AbstractSendReceiveTestCase.getDestination(java.lang.String) , using the default test context |
protected MessageReceiver |
AbstractSendReceiveTestCase.createReceiver(TestContext context,
java.lang.String name)
Helper to create a MessageReceiver for a single destination returned by AbstractSendReceiveTestCase.getDestination(java.lang.String) , using the specified test context |
protected MessageReceiver[] |
AbstractSendReceiveTestCase.createReceivers()
Helper to create MessageReceiver instances for each destination returned by AbstractSendReceiveTestCase.getDestinations() |
protected MessageReceiver[] |
AbstractSendReceiveTestCase.createReceivers(TestContext context)
Helper to create MessageReceiver instances for each destination returned by AbstractSendReceiveTestCase.getDestinations() |
protected MessageReceiver |
AbstractSendReceiveTestCase.recreate(MessageReceiver receiver)
Helper to recreate a MessageReceiver. |
static MessageReceiver |
SessionHelper.createReceiver(javax.jms.Session session,
javax.jms.Destination destination,
MessagingBehaviour behaviour)
Create a MessageReceiver for the supplied session, destination,
and messaging behaviour |
static MessageReceiver |
SessionHelper.createReceiver(javax.jms.Session session,
javax.jms.Destination destination,
MessagingBehaviour behaviour,
java.lang.String selector,
boolean noLocal)
Create a MessageReceiver for the supplied session, destination,
messaging behaviour, and selector |
static MessageReceiver |
SessionHelper.createReceiver(javax.jms.Session session,
javax.jms.Destination destination,
MessagingBehaviour behaviour,
java.lang.String name,
java.lang.String selector,
boolean noLocal)
Create a MessageReceiver for the supplied session, destination,
messaging behaviour, and selector |
static MessageReceiver |
SessionHelper.createReceiver(TestContext context,
javax.jms.Destination destination)
Create a MessageReceiver for the supplied test context and
destination |
static MessageReceiver |
SessionHelper.createReceiver(TestContext context,
javax.jms.Destination destination,
java.lang.String selector,
boolean noLocal)
Create a MessageReceiver for the supplied test context,
destination, selector, and noLocal flag |
static MessageReceiver |
SessionHelper.createReceiver(TestContext context,
javax.jms.Destination destination,
java.lang.String name,
java.lang.String selector,
boolean noLocal)
Create a MessageReceiver for the supplied test context,
destination, name, selector, and noLocal flag |
Methods in org.exolab.jmscts.core with parameters of type MessageReceiver | |
protected MessageReceiver |
AbstractSendReceiveTestCase.recreate(MessageReceiver receiver)
Helper to recreate a MessageReceiver. |
protected void |
AbstractSendReceiveTestCase.receive(MessageReceiver[] receivers,
int count)
Helper to verify that each consumer receives the correct number of messages |
protected void |
AbstractSendReceiveTestCase.receive(TestContext context,
MessageReceiver[] receivers,
int count)
Helper to verify that each consumer receives the correct number of messages |
protected javax.jms.Message |
AbstractSendReceiveTestCase.receive(MessageReceiver receiver)
Helper to verify that a consumer receives a single message |
protected javax.jms.Message |
AbstractSendReceiveTestCase.receive(TestContext context,
MessageReceiver receiver)
Helper to verify that a consumer receives a single message |
protected java.util.List |
AbstractSendReceiveTestCase.receive(MessageReceiver receiver,
int count)
Helper to verify that a consumer receives the correct number of messages |
protected java.util.List |
AbstractSendReceiveTestCase.receive(TestContext context,
MessageReceiver receiver,
int count)
Helper to verify that a consumer receives the correct number of messages |
protected void |
AbstractSendReceiveTestCase.close(MessageReceiver[] receivers)
Helper to close a list of MessageReceivers The references are removed from the list. |
protected void |
AbstractSendReceiveTestCase.close(MessageReceiver receiver)
Helper to close a MessageReceiver |
static java.util.List |
MessagingHelper.receive(TestContext context,
MessageReceiver receiver,
int count)
Helper to receive messages |
static java.util.List |
MessagingHelper.receive(MessageReceiver receiver,
int count,
long timeout)
Helper to receive messages |
Constructors in org.exolab.jmscts.core with parameters of type MessageReceiver | |
ThreadedReceiver(MessageReceiver receiver,
int count,
long timeout)
Construct a new ThreadedReceiver , for synchronous receipt |
|
ThreadedReceiver(MessageReceiver receiver,
int count,
long timeout,
CompletionListener completion)
Construct a new ThreadedReceiver , for synchronous receipt |
|
ThreadedReceiver(MessageReceiver receiver,
long timeout,
CountingListener listener)
Construct a new ThreadedReceiver , for asynchronous receipt |
|
ThreadedReceiver(MessageReceiver receiver,
int count,
long timeout,
CountingListener listener,
CompletionListener completion)
Construct a new ThreadedReceiver , for asynchronous receipt |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |