|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atomikos.jms.MessageProducerSessionFactory
public abstract class MessageProducerSessionFactory
Common functionality for sender session factories.
Constructor Summary | |
---|---|
MessageProducerSessionFactory()
|
Method Summary | |
---|---|
protected abstract MessageProducerSession |
createMessageProducerSession()
Creates a new message producer session. |
int |
getDeliveryMode()
Gets the delivery mode. |
protected javax.jms.Destination |
getDestination()
|
protected String |
getPassword()
|
int |
getPriority()
Gets the priority. |
javax.jms.Destination |
getReplyToDestination()
Gets the destination to reply to (if any). |
long |
getTimeToLive()
Gets the time to live. |
String |
getUser()
Gets the user (if any). |
void |
setDeliveryMode(int mode)
Sets the JMS delivery mode for sending (optional). |
protected void |
setDestination(javax.jms.Destination dest)
|
void |
setPassword(String pw)
Sets the password (optional - only required if the user is set). |
void |
setPriority(int pty)
Sets the priority for sending (optional). |
void |
setReplyToDestination(javax.jms.Destination dest)
Sets the destination to reply to (optional). |
void |
setTimeToLive(long ttl)
Sets the time to live for messages sent (optional). |
void |
setUser(String user)
Sets the user name to use for sending (optional). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageProducerSessionFactory()
Method Detail |
---|
protected javax.jms.Destination getDestination()
protected void setDestination(javax.jms.Destination dest)
public void setReplyToDestination(javax.jms.Destination dest)
dest
- public javax.jms.Destination getReplyToDestination()
public int getDeliveryMode()
public int getPriority()
public long getTimeToLive()
public String getUser()
public void setDeliveryMode(int mode)
mode
- public void setPassword(String pw)
pw
- protected String getPassword()
public void setPriority(int pty)
pty
- public void setTimeToLive(long ttl)
ttl
- public void setUser(String user)
user
- protected abstract MessageProducerSession createMessageProducerSession()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |