public abstract class AbstractActiveMQProducerResource extends AbstractActiveMQClientResource
Constructor and Description |
---|
AbstractActiveMQProducerResource(ActiveMQConnectionFactory connectionFactory) |
AbstractActiveMQProducerResource(EmbeddedActiveMQBroker embeddedActiveMQBroker) |
AbstractActiveMQProducerResource(String destinationName,
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, stop
apply
public AbstractActiveMQProducerResource(ActiveMQConnectionFactory connectionFactory)
public AbstractActiveMQProducerResource(URI brokerURI)
public AbstractActiveMQProducerResource(EmbeddedActiveMQBroker embeddedActiveMQBroker)
public AbstractActiveMQProducerResource(URI brokerURI, String userName, String password)
public AbstractActiveMQProducerResource(String destinationName, 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 AbstractActiveMQClientResource
public void sendMessage(javax.jms.Message message) throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.BytesMessage sendMessage(byte[] body) throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.TextMessage sendMessage(String body) throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.MapMessage sendMessage(Map<String,Object> body) throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.ObjectMessage sendMessage(Serializable body) throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.BytesMessage sendMessageWithProperties(byte[] body, Map<String,Object> properties) throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.TextMessage sendMessageWithProperties(String body, Map<String,Object> properties) throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.MapMessage sendMessageWithProperties(Map<String,Object> body, Map<String,Object> properties) throws javax.jms.JMSException
javax.jms.JMSException
public javax.jms.ObjectMessage sendMessageWithProperties(Serializable body, Map<String,Object> properties) throws javax.jms.JMSException
javax.jms.JMSException
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.