Package org.apache.activemq.junit
Class ActiveMQQueueReceiverResource
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- org.apache.activemq.junit.AbstractActiveMQClientResource
-
- org.apache.activemq.junit.AbstractActiveMQConsumerResource
-
- org.apache.activemq.junit.ActiveMQQueueReceiverResource
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class ActiveMQQueueReceiverResource extends AbstractActiveMQConsumerResource
-
-
Constructor Summary
Constructors Constructor Description ActiveMQQueueReceiverResource(String destinationName, URI brokerURI)
ActiveMQQueueReceiverResource(String destinationName, URI brokerURI, String userName, String password)
ActiveMQQueueReceiverResource(String destinationName, ActiveMQConnectionFactory connectionFactory)
ActiveMQQueueReceiverResource(String destinationName, EmbeddedActiveMQBroker embeddedActiveMQBroker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getDestinationType()
-
Methods inherited from class org.apache.activemq.junit.AbstractActiveMQConsumerResource
createClient, getDefaultReceiveTimout, receiveBytesMessage, receiveBytesMessage, receiveMapMessage, receiveMapMessage, receiveMessage, receiveMessage, receiveObjectMessage, receiveObjectMessage, receiveTextMessage, receiveTextMessage, setDefaultReceiveTimout
-
Methods inherited from class org.apache.activemq.junit.AbstractActiveMQClientResource
after, before, createBytesMessage, createDestination, createMapMessage, createMessage, createMessage, createMessage, createMessage, createMessage, createMessage, createMessage, createMessage, createObjectMessage, createStreamMessage, createTextMessage, getBrokerURL, getClientId, getDestinationName, setMessageProperties, start, stop
-
-
-
-
Constructor Detail
-
ActiveMQQueueReceiverResource
public ActiveMQQueueReceiverResource(String destinationName, ActiveMQConnectionFactory connectionFactory)
-
ActiveMQQueueReceiverResource
public ActiveMQQueueReceiverResource(String destinationName, URI brokerURI)
-
ActiveMQQueueReceiverResource
public ActiveMQQueueReceiverResource(String destinationName, EmbeddedActiveMQBroker embeddedActiveMQBroker)
-
-
Method Detail
-
getDestinationType
public byte getDestinationType()
- Specified by:
getDestinationType
in classAbstractActiveMQClientResource
-
-