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() |
javax.jms.BytesMessage |
sendMessage(byte[] body) |
javax.jms.MapMessage |
sendMessage(Map<String,Object> body) |
void |
sendMessage(javax.jms.Message message) |
javax.jms.ObjectMessage |
sendMessage(Serializable body) |
javax.jms.TextMessage |
sendMessage(String body) |
javax.jms.BytesMessage |
sendMessageWithProperties(byte[] body,
Map<String,Object> properties) |
javax.jms.MapMessage |
sendMessageWithProperties(Map<String,Object> body,
Map<String,Object> properties) |
javax.jms.ObjectMessage |
sendMessageWithProperties(Serializable body,
Map<String,Object> properties) |
javax.jms.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(javax.jms.Message message) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.BytesMessage sendMessage(byte[] body) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.TextMessage sendMessage(String body) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.MapMessage sendMessage(Map<String,Object> body) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.ObjectMessage sendMessage(Serializable body) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.BytesMessage sendMessageWithProperties(byte[] body, Map<String,Object> properties) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.TextMessage sendMessageWithProperties(String body, Map<String,Object> properties) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.MapMessage sendMessageWithProperties(Map<String,Object> body, Map<String,Object> properties) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic javax.jms.ObjectMessage sendMessageWithProperties(Serializable body, Map<String,Object> properties) throws javax.jms.JMSException
javax.jms.JMSExceptionCopyright © 2005–2018 The Apache Software Foundation. All rights reserved.