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,
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,
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 JMSException
- Throws:
JMSException
getDisableMessageID
boolean getDisableMessageID()
throws JMSException
- Throws:
JMSException
setDisableMessageTimestamp
void setDisableMessageTimestamp(boolean value)
throws JMSException
- Throws:
JMSException
getDisableMessageTimestamp
boolean getDisableMessageTimestamp()
throws JMSException
- Throws:
JMSException
setDeliveryMode
void setDeliveryMode(int deliveryMode)
throws JMSException
- Throws:
JMSException
getDeliveryMode
int getDeliveryMode()
throws JMSException
- Throws:
JMSException
setPriority
void setPriority(int defaultPriority)
throws JMSException
- Throws:
JMSException
getPriority
int getPriority()
throws JMSException
- Throws:
JMSException
setTimeToLive
void setTimeToLive(long timeToLive)
throws JMSException
- Throws:
JMSException
getTimeToLive
long getTimeToLive()
throws JMSException
- Throws:
JMSException
getDestination
JBossDestination getDestination()
throws JMSException
- Throws:
JMSException
setDestination
void setDestination(JBossDestination dest)
send
void send(JBossDestination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive)
throws JMSException
- This method is only handled by the advice stack, the corresponding invocation is never sent
to the server.
- Throws:
JMSException
send
void send(JBossDestination destination,
Message message,
int deliveryMode,
int priority,
long timeToLive,
boolean keepOriginalID)
throws JMSException
- Throws:
JMSException
Copyright © 2006 JBoss Inc. All Rights Reserved.