public class InboundMessageProducerProxy extends Object implements MessageProducer, QueueSender, TopicPublisher
MessageProducer which uses the ActiveMQ JCA ResourceAdapter's
current thread's JMS Session to send messages.| Constructor and Description |
|---|
InboundMessageProducerProxy(MessageProducer messageProducer,
Destination destination) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getDeliveryMode() |
Destination |
getDestination() |
boolean |
getDisableMessageID() |
boolean |
getDisableMessageTimestamp() |
int |
getPriority() |
Queue |
getQueue() |
long |
getTimeToLive() |
Topic |
getTopic() |
void |
publish(Message arg0) |
void |
publish(Message arg0,
int arg1,
int arg2,
long arg3) |
void |
publish(Topic arg0,
Message arg1) |
void |
publish(Topic arg0,
Message arg1,
int arg2,
int arg3,
long arg4) |
void |
send(Destination destination,
Message message) |
void |
send(Destination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
send(Message message) |
void |
send(Message message,
int deliveryMode,
int priority,
long timeToLive) |
void |
send(Queue arg0,
Message arg1) |
void |
send(Queue arg0,
Message arg1,
int arg2,
int arg3,
long arg4) |
void |
setDeliveryMode(int i) |
void |
setDisableMessageID(boolean b) |
void |
setDisableMessageTimestamp(boolean b) |
void |
setPriority(int i) |
void |
setTimeToLive(long l) |
public InboundMessageProducerProxy(MessageProducer messageProducer, Destination destination) throws JMSException
JMSExceptionpublic void close() throws JMSException
close in interface MessageProducerJMSExceptionpublic Destination getDestination() throws JMSException
getDestination in interface MessageProducerJMSExceptionpublic int getDeliveryMode() throws JMSException
getDeliveryMode in interface MessageProducerJMSExceptionpublic boolean getDisableMessageID() throws JMSException
getDisableMessageID in interface MessageProducerJMSExceptionpublic boolean getDisableMessageTimestamp() throws JMSException
getDisableMessageTimestamp in interface MessageProducerJMSExceptionpublic int getPriority() throws JMSException
getPriority in interface MessageProducerJMSExceptionpublic long getTimeToLive() throws JMSException
getTimeToLive in interface MessageProducerJMSExceptionpublic void send(Destination destination, Message message) throws JMSException
send in interface MessageProducerJMSExceptionpublic void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive) throws JMSException
send in interface MessageProducerJMSExceptionpublic void send(Message message) throws JMSException
send in interface MessageProducersend in interface QueueSenderJMSExceptionpublic void send(Message message, int deliveryMode, int priority, long timeToLive) throws JMSException
send in interface MessageProducersend in interface QueueSenderJMSExceptionpublic void setDeliveryMode(int i) throws JMSException
setDeliveryMode in interface MessageProducerJMSExceptionpublic void setDisableMessageID(boolean b) throws JMSException
setDisableMessageID in interface MessageProducerJMSExceptionpublic void setDisableMessageTimestamp(boolean b) throws JMSException
setDisableMessageTimestamp in interface MessageProducerJMSExceptionpublic void setPriority(int i) throws JMSException
setPriority in interface MessageProducerJMSExceptionpublic void setTimeToLive(long l) throws JMSException
setTimeToLive in interface MessageProducerJMSExceptionpublic Queue getQueue() throws JMSException
getQueue in interface QueueSenderJMSExceptionpublic void send(Queue arg0, Message arg1) throws JMSException
send in interface QueueSenderJMSExceptionpublic void send(Queue arg0, Message arg1, int arg2, int arg3, long arg4) throws JMSException
send in interface QueueSenderJMSExceptionpublic Topic getTopic() throws JMSException
getTopic in interface TopicPublisherJMSExceptionpublic void publish(Message arg0) throws JMSException
publish in interface TopicPublisherJMSExceptionpublic void publish(Message arg0, int arg1, int arg2, long arg3) throws JMSException
publish in interface TopicPublisherJMSExceptionpublic void publish(Topic arg0, Message arg1) throws JMSException
publish in interface TopicPublisherJMSExceptionpublic void publish(Topic arg0, Message arg1, int arg2, int arg3, long arg4) throws JMSException
publish in interface TopicPublisherJMSExceptionCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.