org.jboss.jms.delegate
Interface ProducerDelegate
- All Superinterfaces:
- Closeable
- All Known Implementing Classes:
- ClientProducerDelegate
public interface ProducerDelegate
- extends Closeable
Represents the minimal set of operations to provide producer functionality.
- Version:
- $Revision: 3082 $
- Author:
- Ovidiu Feodorov, Tim Fox
Method Summary |
int |
getDeliveryMode()
|
JBossDestination |
getDestination()
|
boolean |
getDisableMessageID()
|
boolean |
getDisableMessageTimestamp()
|
int |
getPriority()
|
long |
getTimeToLive()
|
void |
send(JBossDestination destination,
javax.jms.Message message,
int deliveryMode,
int priority,
long timeToLive)
This method is only handled by the advice stack, the corresponding invocation is never sent
to the server. |
void |
send(JBossDestination destination,
javax.jms.Message message,
int deliveryMode,
int priority,
long timeToLive,
boolean keepOriginalID)
|
void |
setDeliveryMode(int deliveryMode)
|
void |
setDestination(JBossDestination dest)
|
void |
setDisableMessageID(boolean value)
|
void |
setDisableMessageTimestamp(boolean value)
|
void |
setPriority(int defaultPriority)
|
void |
setTimeToLive(long timeToLive)
|
setDisableMessageID
void setDisableMessageID(boolean value)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getDisableMessageID
boolean getDisableMessageID()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
setDisableMessageTimestamp
void setDisableMessageTimestamp(boolean value)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getDisableMessageTimestamp
boolean getDisableMessageTimestamp()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
setDeliveryMode
void setDeliveryMode(int deliveryMode)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getDeliveryMode
int getDeliveryMode()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
setPriority
void setPriority(int defaultPriority)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getPriority
int getPriority()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
setTimeToLive
void setTimeToLive(long timeToLive)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getTimeToLive
long getTimeToLive()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
getDestination
JBossDestination getDestination()
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
setDestination
void setDestination(JBossDestination dest)
send
void send(JBossDestination destination,
javax.jms.Message message,
int deliveryMode,
int priority,
long timeToLive)
throws javax.jms.JMSException
- This method is only handled by the advice stack, the corresponding invocation is never sent
to the server.
- Throws:
javax.jms.JMSException
send
void send(JBossDestination destination,
javax.jms.Message message,
int deliveryMode,
int priority,
long timeToLive,
boolean keepOriginalID)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
Copyright © 2006 JBoss Inc. All Rights Reserved.