public class TomEEProducer
extends ActiveMQMessageProducer
Constructor and Description |
---|
TomEEProducer(ActiveMQSession session,
ProducerId producerId,
ActiveMQDestination destination,
int sendTimeout) |
Modifier and Type | Method and Description |
---|---|
long |
getDeliveryDelay() |
void |
send(Destination destination,
Message message,
CompletionListener completionListener) |
void |
send(Destination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive,
CompletionListener completionListener) |
void |
send(Message message,
CompletionListener completionListener) |
void |
send(Message message,
int deliveryMode,
int priority,
long timeToLive,
CompletionListener completionListener) |
void |
setDeliveryDelay(long deliveryDelay) |
public TomEEProducer(ActiveMQSession session, ProducerId producerId, ActiveMQDestination destination, int sendTimeout) throws JMSException
JMSException
public void send(Message message, CompletionListener completionListener) throws JMSException
JMSException
public void send(Destination destination, Message message, CompletionListener completionListener) throws JMSException
JMSException
public void send(Message message, int deliveryMode, int priority, long timeToLive, CompletionListener completionListener) throws JMSException
JMSException
public void send(Destination destination, Message message, int deliveryMode, int priority, long timeToLive, CompletionListener completionListener) throws JMSException
JMSException
public long getDeliveryDelay() throws JMSException
JMSException
public void setDeliveryDelay(long deliveryDelay) throws JMSException
JMSException