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