public class NevadoMessageProducer extends Object implements javax.jms.MessageProducer, javax.jms.QueueSender, javax.jms.TopicPublisher
Constructor and Description |
---|
NevadoMessageProducer(NevadoSession session,
NevadoDestination destination) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getDeliveryMode() |
javax.jms.Destination |
getDestination() |
boolean |
getDisableMessageID() |
boolean |
getDisableMessageTimestamp() |
int |
getPriority() |
javax.jms.Queue |
getQueue() |
long |
getTimeToLive() |
javax.jms.Topic |
getTopic() |
boolean |
isClosed() |
void |
publish(javax.jms.Message message) |
void |
publish(javax.jms.Message message,
int deliveryMode,
int priority,
long ttl) |
void |
publish(javax.jms.Topic topic,
javax.jms.Message message) |
void |
publish(javax.jms.Topic topic,
javax.jms.Message message,
int deliveryMode,
int priority,
long ttl) |
void |
send(javax.jms.Destination destination,
javax.jms.Message message) |
void |
send(javax.jms.Destination destination,
javax.jms.Message message,
int deliveryMode,
int priority,
long ttl) |
void |
send(javax.jms.Message message) |
void |
send(javax.jms.Message message,
int deliveryMode,
int priority,
long ttl) |
void |
send(javax.jms.Queue queue,
javax.jms.Message message) |
void |
send(javax.jms.Queue queue,
javax.jms.Message message,
int deliveryMode,
int priority,
long ttl) |
void |
setDeliveryMode(int deliveryMode) |
void |
setDisableMessageID(boolean disableMessageID) |
void |
setDisableMessageTimestamp(boolean disableTimestamp) |
void |
setPriority(int priority) |
void |
setTimeToLive(long ttl) |
public NevadoMessageProducer(NevadoSession session, NevadoDestination destination) throws javax.jms.JMSException
javax.jms.JMSException
public void setDisableMessageID(boolean disableMessageID) throws javax.jms.JMSException
setDisableMessageID
in interface javax.jms.MessageProducer
javax.jms.JMSException
public boolean getDisableMessageID() throws javax.jms.JMSException
getDisableMessageID
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void setDisableMessageTimestamp(boolean disableTimestamp) throws javax.jms.JMSException
setDisableMessageTimestamp
in interface javax.jms.MessageProducer
javax.jms.JMSException
public boolean getDisableMessageTimestamp() throws javax.jms.JMSException
getDisableMessageTimestamp
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void setDeliveryMode(int deliveryMode) throws javax.jms.JMSException
setDeliveryMode
in interface javax.jms.MessageProducer
javax.jms.JMSException
public int getDeliveryMode()
getDeliveryMode
in interface javax.jms.MessageProducer
public void setPriority(int priority) throws javax.jms.JMSException
setPriority
in interface javax.jms.MessageProducer
javax.jms.JMSException
public int getPriority()
getPriority
in interface javax.jms.MessageProducer
public void setTimeToLive(long ttl) throws javax.jms.JMSException
setTimeToLive
in interface javax.jms.MessageProducer
javax.jms.JMSException
public long getTimeToLive()
getTimeToLive
in interface javax.jms.MessageProducer
public javax.jms.Destination getDestination() throws javax.jms.JMSException
getDestination
in interface javax.jms.MessageProducer
javax.jms.JMSException
public javax.jms.Queue getQueue() throws javax.jms.JMSException
getQueue
in interface javax.jms.QueueSender
javax.jms.JMSException
public void close() throws javax.jms.JMSException
close
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void send(javax.jms.Message message) throws javax.jms.JMSException
send
in interface javax.jms.MessageProducer
send
in interface javax.jms.QueueSender
javax.jms.JMSException
public void send(javax.jms.Message message, int deliveryMode, int priority, long ttl) throws javax.jms.JMSException
send
in interface javax.jms.MessageProducer
send
in interface javax.jms.QueueSender
javax.jms.JMSException
public void send(javax.jms.Queue queue, javax.jms.Message message) throws javax.jms.JMSException
send
in interface javax.jms.QueueSender
javax.jms.JMSException
public void send(javax.jms.Destination destination, javax.jms.Message message) throws javax.jms.JMSException
send
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void send(javax.jms.Queue queue, javax.jms.Message message, int deliveryMode, int priority, long ttl) throws javax.jms.JMSException
send
in interface javax.jms.QueueSender
javax.jms.JMSException
public void send(javax.jms.Destination destination, javax.jms.Message message, int deliveryMode, int priority, long ttl) throws javax.jms.JMSException
send
in interface javax.jms.MessageProducer
javax.jms.JMSException
public boolean isClosed()
public javax.jms.Topic getTopic() throws javax.jms.JMSException
getTopic
in interface javax.jms.TopicPublisher
javax.jms.JMSException
public void publish(javax.jms.Message message) throws javax.jms.JMSException
publish
in interface javax.jms.TopicPublisher
javax.jms.JMSException
public void publish(javax.jms.Message message, int deliveryMode, int priority, long ttl) throws javax.jms.JMSException
publish
in interface javax.jms.TopicPublisher
javax.jms.JMSException
public void publish(javax.jms.Topic topic, javax.jms.Message message) throws javax.jms.JMSException
publish
in interface javax.jms.TopicPublisher
javax.jms.JMSException
public void publish(javax.jms.Topic topic, javax.jms.Message message, int deliveryMode, int priority, long ttl) throws javax.jms.JMSException
publish
in interface javax.jms.TopicPublisher
javax.jms.JMSException
Copyright © 2014. All Rights Reserved.