public interface MessageProducer
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getDeliveryMode() |
Destination |
getDestination() |
boolean |
getDisableMessageID() |
boolean |
getDisableMessageTimestamp() |
int |
getPriority() |
long |
getTimeToLive() |
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 |
setDeliveryMode(int deliveryMode) |
void |
setDisableMessageID(boolean value) |
void |
setDisableMessageTimestamp(boolean value) |
void |
setPriority(int defaultPriority) |
void |
setTimeToLive(long timeToLive) |
void setDisableMessageID(boolean value) throws JMSException
JMSException
boolean getDisableMessageID() throws JMSException
JMSException
void setDisableMessageTimestamp(boolean value) throws JMSException
JMSException
boolean getDisableMessageTimestamp() throws JMSException
JMSException
void setDeliveryMode(int deliveryMode) throws JMSException
JMSException
int getDeliveryMode() throws JMSException
JMSException
void setPriority(int defaultPriority) throws JMSException
JMSException
int getPriority() throws JMSException
JMSException
void setTimeToLive(long timeToLive) throws JMSException
JMSException
long getTimeToLive() throws JMSException
JMSException
Destination getDestination() throws JMSException
JMSException
void send(Message message) throws JMSException
JMSException
void send(Message message, int deliveryMode, int priority, long timeToLive) throws JMSException
JMSException
void send(Destination destination, Message message) throws JMSException
JMSException
void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive) throws JMSException
JMSException
void close() throws JMSException
JMSException