public class CamelMessageProducer extends org.apache.activemq.ActiveMQMessageProducerSupport
MessageProducer which sends message exchanges to a
Camel Endpoint| Modifier and Type | Field and Description |
|---|---|
protected org.apache.camel.Producer |
producer |
| Constructor and Description |
|---|
CamelMessageProducer(CamelDestination destination,
org.apache.camel.Endpoint endpoint,
org.apache.activemq.ActiveMQSession session) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkClosed() |
void |
close() |
CamelDestination |
getDestination() |
org.apache.camel.Endpoint |
getEndpoint() |
void |
send(javax.jms.Destination destination,
javax.jms.Message message,
int deliveryMode,
int priority,
long timeToLive) |
getDeliveryMode, getDisableMessageID, getDisableMessageTimestamp, getPriority, getSendTimeout, getTimeToLive, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setSendTimeout, setTimeToLiveprotected org.apache.camel.Producer producer
public CamelMessageProducer(CamelDestination destination, org.apache.camel.Endpoint endpoint, org.apache.activemq.ActiveMQSession session) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic CamelDestination getDestination() throws javax.jms.JMSException
javax.jms.JMSExceptionpublic org.apache.camel.Endpoint getEndpoint()
public void close() throws javax.jms.JMSException
javax.jms.JMSExceptionpublic void send(javax.jms.Destination destination, javax.jms.Message message, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected void checkClosed() throws javax.jms.IllegalStateException
checkClosed in class org.apache.activemq.ActiveMQMessageProducerSupportjavax.jms.IllegalStateExceptionCopyright © 2005–2018 The Apache Software Foundation. All rights reserved.