Package org.apache.activemq.junit
Class ActiveMQTopicPublisherResource
java.lang.Object
org.junit.rules.ExternalResource
org.apache.activemq.junit.AbstractActiveMQClientResource
org.apache.activemq.junit.AbstractActiveMQProducerResource
org.apache.activemq.junit.ActiveMQTopicPublisherResource
- All Implemented Interfaces:
TestRule
-
Constructor Summary
ConstructorsConstructorDescriptionActiveMQTopicPublisherResource(String destinationName, URI brokerURI) ActiveMQTopicPublisherResource(String destinationName, URI brokerURI, String userName, String password) ActiveMQTopicPublisherResource(String destinationName, org.apache.activemq.ActiveMQConnectionFactory connectionFactory) ActiveMQTopicPublisherResource(String destinationName, EmbeddedActiveMQBroker embeddedActiveMQBroker) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbyteMethods inherited from class org.apache.activemq.junit.AbstractActiveMQProducerResource
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
-
ActiveMQTopicPublisherResource
public ActiveMQTopicPublisherResource(String destinationName, org.apache.activemq.ActiveMQConnectionFactory connectionFactory) -
ActiveMQTopicPublisherResource
-
ActiveMQTopicPublisherResource
public ActiveMQTopicPublisherResource(String destinationName, EmbeddedActiveMQBroker embeddedActiveMQBroker) -
ActiveMQTopicPublisherResource
-
-
Method Details
-
getDestinationName
- Overrides:
getDestinationNamein classAbstractActiveMQProducerResource
-
getDestinationType
public byte getDestinationType()- Specified by:
getDestinationTypein classAbstractActiveMQClientResource
-
createClient
protected void createClient() throws jakarta.jms.JMSException- Specified by:
createClientin classAbstractActiveMQClientResource- Throws:
jakarta.jms.JMSException
-