public abstract class AbstractActiveMQProducerResource extends AbstractActiveMQClientResource
| Constructor and Description |
|---|
AbstractActiveMQProducerResource(org.apache.activemq.ActiveMQConnectionFactory connectionFactory) |
AbstractActiveMQProducerResource(EmbeddedActiveMQBroker embeddedActiveMQBroker) |
AbstractActiveMQProducerResource(String destinationName,
org.apache.activemq.ActiveMQConnectionFactory connectionFactory) |
AbstractActiveMQProducerResource(String destinationName,
EmbeddedActiveMQBroker embeddedActiveMQBroker) |
AbstractActiveMQProducerResource(String destinationName,
URI brokerURI) |
AbstractActiveMQProducerResource(String destinationName,
URI brokerURI,
String userName,
String password) |
AbstractActiveMQProducerResource(URI brokerURI) |
AbstractActiveMQProducerResource(URI brokerURI,
String userName,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationName() |
BytesMessage |
sendMessage(byte[] body) |
MapMessage |
sendMessage(Map<String,Object> body) |
void |
sendMessage(Message message) |
ObjectMessage |
sendMessage(Serializable body) |
TextMessage |
sendMessage(String body) |
BytesMessage |
sendMessageWithProperties(byte[] body,
Map<String,Object> properties) |
MapMessage |
sendMessageWithProperties(Map<String,Object> body,
Map<String,Object> properties) |
ObjectMessage |
sendMessageWithProperties(Serializable body,
Map<String,Object> properties) |
TextMessage |
sendMessageWithProperties(String body,
Map<String,Object> properties) |
after, before, createBytesMessage, createClient, createDestination, createMapMessage, createMessage, createMessage, createMessage, createMessage, createMessage, createMessage, createMessage, createMessage, createObjectMessage, createStreamMessage, createTextMessage, getBrokerURL, getClientId, getDestinationType, setMessageProperties, start, stopapplypublic AbstractActiveMQProducerResource(org.apache.activemq.ActiveMQConnectionFactory connectionFactory)
public AbstractActiveMQProducerResource(URI brokerURI)
public AbstractActiveMQProducerResource(EmbeddedActiveMQBroker embeddedActiveMQBroker)
public AbstractActiveMQProducerResource(URI brokerURI, String userName, String password)
public AbstractActiveMQProducerResource(String destinationName, org.apache.activemq.ActiveMQConnectionFactory connectionFactory)
public AbstractActiveMQProducerResource(String destinationName, URI brokerURI)
public AbstractActiveMQProducerResource(String destinationName, EmbeddedActiveMQBroker embeddedActiveMQBroker)
public AbstractActiveMQProducerResource(String destinationName, URI brokerURI, String userName, String password)
public String getDestinationName()
getDestinationName in class AbstractActiveMQClientResourcepublic void sendMessage(Message message) throws JMSException
JMSExceptionpublic BytesMessage sendMessage(byte[] body) throws JMSException
JMSExceptionpublic TextMessage sendMessage(String body) throws JMSException
JMSExceptionpublic MapMessage sendMessage(Map<String,Object> body) throws JMSException
JMSExceptionpublic ObjectMessage sendMessage(Serializable body) throws JMSException
JMSExceptionpublic BytesMessage sendMessageWithProperties(byte[] body, Map<String,Object> properties) throws JMSException
JMSExceptionpublic TextMessage sendMessageWithProperties(String body, Map<String,Object> properties) throws JMSException
JMSExceptionpublic MapMessage sendMessageWithProperties(Map<String,Object> body, Map<String,Object> properties) throws JMSException
JMSExceptionpublic ObjectMessage sendMessageWithProperties(Serializable body, Map<String,Object> properties) throws JMSException
JMSExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.