|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A config interface for JMS transport.
Nested Class Summary | |
static interface |
JMSConfig.DestConfig
|
static interface |
JMSConfig.ReductionConfig
Configuration of the Reduction |
Method Summary | |
java.lang.String |
getBaseContext()
Gets the BaseContext value |
long |
getClientTimeout()
Gets the client timeout |
java.lang.String |
getDeliveryMode()
Gets the delivery mode. |
JMSConfig.DestConfig[] |
getDestinations()
Gets information about configuration of destinations |
java.lang.String |
getDurableId()
Gets durable id. |
java.lang.String |
getJMSDestFactoryName()
Gets the JMSDestFactoryName value |
java.lang.String |
getJMSDestName()
Gets the JMSDestName value |
int |
getMaxThreads()
Gets a maximal number of serving threads each one for one accepted connection. |
int |
getMessageExpiration()
Gets JMS message time to live |
int |
getMessagePriority()
Gets JMS message priority |
int |
getMinThreads()
Gets a minimal number of waiting threads for new incoming connection. |
java.lang.String |
getPassword()
Gets the password to be used when creating session |
JMSConfig.ReductionConfig[] |
getReductions()
Gets name of the class, which implements org.systinet.transport.jms.Reduction |
java.lang.String |
getServerID()
Gets the server selector value. |
java.lang.String |
getType()
Gets type of transport. |
java.lang.String |
getUsername()
Gets the username to be used when creating session |
JMSConfig.DestConfig |
newDestination()
|
JMSConfig.ReductionConfig |
newReduction()
|
void |
setBaseContext(java.lang.String baseContext)
Sets baseContext |
void |
setClientTimeout(long timeout)
Sets the client timeout int ms |
void |
setDeliveryMode(java.lang.String deliveryMode)
Sets the delivery mode. |
void |
setDestinations(JMSConfig.DestConfig[] configs)
Sets information about configuration of destinations |
void |
setDurableId(java.lang.String id)
Sets the identifier of the durable topic subscription. |
void |
setJMSDestFactoryName(java.lang.String name)
Sets the new JMSDestFactoryName value |
void |
setJMSDestName(java.lang.String name)
Sets the new JMSDestName value |
void |
setMaxThreads(int maxThreads)
Sets a maximal number of serving threads each one for one accepted connection. |
void |
setMessageExpiration(int timeout)
Sets JMS message timeout |
void |
setMessagePriority(int priority)
Sets JMS message priority ( 0 - 9 ) |
void |
setMinThreads(int minThreads)
Sets a minimal number of waiting threads for new incoming connection. |
void |
setPassword(java.lang.String password)
Sets the password to be used when creating session |
void |
setReductions(JMSConfig.ReductionConfig[] reductions)
Gets name of the class, which implements org.systinet.transport.jms.Reduction |
void |
setServerID(java.lang.String selector)
Sets the server selector value. |
void |
setType(java.lang.String type)
Sets the type of transport. |
void |
setUsername(java.lang.String username)
Sets the username to be used when creating session |
Methods inherited from interface org.idoox.transport.config.TransportConfig |
getClassName, getClassSpaceName, getDefaultServer, getName, getPreload, getScheme, setClassName, setClassSpaceName, setDefaultServer, setName, setPreload, setScheme |
Method Detail |
public void setJMSDestName(java.lang.String name)
name
- public java.lang.String getJMSDestName()
public void setJMSDestFactoryName(java.lang.String name)
name
- public java.lang.String getJMSDestFactoryName()
public void setBaseContext(java.lang.String baseContext)
baseContext
- new BaseContext valuepublic java.lang.String getBaseContext()
public java.lang.String getType()
public void setType(java.lang.String type)
type
- - the typepublic java.lang.String getDurableId()
public void setDurableId(java.lang.String id)
id
- the identifierpublic java.lang.String getServerID()
public void setServerID(java.lang.String selector)
selector
- - the selector valuepublic void setMessageExpiration(int timeout)
timeout
- - the value of time to livepublic int getMessageExpiration()
public int getMessagePriority()
public void setMessagePriority(int priority)
priority
- - the value of prioritypublic void setClientTimeout(long timeout)
timeout
- - time to wait for the massagepublic long getClientTimeout()
public JMSConfig.ReductionConfig[] getReductions()
public void setReductions(JMSConfig.ReductionConfig[] reductions)
reductions
- sets names of all possible reductionspublic JMSConfig.ReductionConfig newReduction()
public JMSConfig.DestConfig[] getDestinations()
public void setDestinations(JMSConfig.DestConfig[] configs)
configs
- array of destination configurationspublic JMSConfig.DestConfig newDestination()
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
username
- the usernamepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the passwordpublic java.lang.String getDeliveryMode()
public void setDeliveryMode(java.lang.String deliveryMode)
deliveryMode
- - the delivery modepublic int getMaxThreads()
public void setMaxThreads(int maxThreads)
maxThreads
- a maximal number of threadspublic int getMinThreads()
public void setMinThreads(int minThreads)
minThreads
- a minimal number of threads
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |