Package org.apache.activemq.junit
Class ActiveMQQueueSenderResource
java.lang.Object
org.junit.rules.ExternalResource
org.apache.activemq.junit.AbstractActiveMQClientResource
org.apache.activemq.junit.AbstractActiveMQProducerResource
org.apache.activemq.junit.ActiveMQQueueSenderResource
- All Implemented Interfaces:
TestRule
-
Constructor Summary
ConstructorsConstructorDescriptionActiveMQQueueSenderResource(String destinationName, URI brokerURI) ActiveMQQueueSenderResource(String destinationName, URI brokerURI, String userName, String password) ActiveMQQueueSenderResource(String destinationName, org.apache.activemq.ActiveMQConnectionFactory connectionFactory) ActiveMQQueueSenderResource(String destinationName, EmbeddedActiveMQBroker embeddedActiveMQBroker) -
Method Summary
Methods inherited from class org.apache.activemq.junit.AbstractActiveMQProducerResource
getDestinationName, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessageWithProperties, sendMessageWithProperties, sendMessageWithProperties, sendMessageWithPropertiesMethods 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, setMessageProperties, start, stopMethods inherited from class org.junit.rules.ExternalResource
apply
-
Constructor Details
-
ActiveMQQueueSenderResource
public ActiveMQQueueSenderResource(String destinationName, org.apache.activemq.ActiveMQConnectionFactory connectionFactory) -
ActiveMQQueueSenderResource
-
ActiveMQQueueSenderResource
public ActiveMQQueueSenderResource(String destinationName, EmbeddedActiveMQBroker embeddedActiveMQBroker) -
ActiveMQQueueSenderResource
-
-
Method Details
-
getDestinationType
public byte getDestinationType()- Specified by:
getDestinationTypein classAbstractActiveMQClientResource
-
createClient
protected void createClient() throws jakarta.jms.JMSException- Specified by:
createClientin classAbstractActiveMQClientResource- Throws:
jakarta.jms.JMSException
-