org.idoox.transport.jms
Interface JMSConfig.DestConfig

Enclosing interface:
JMSConfig

public static interface JMSConfig.DestConfig


Method Summary
 java.lang.String getDurableId()
          Gets durable id.
 java.lang.String getJMSDestFactoryName()
          Gets the JMSDestFactoryName value
 java.lang.String getJMSDestName()
          Gets the JMSDestName value
 java.lang.String getPassword()
          Gets the password to be used when creating session
 java.lang.String getType()
          Gets type of transport.
 java.lang.String getUsername()
          Gets the username to be used when creating session
 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 setPassword(java.lang.String password)
          Sets the password to be used when creating session
 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
 

Method Detail

setJMSDestName

public void setJMSDestName(java.lang.String name)
Sets the new JMSDestName value

Parameters:
name -

getJMSDestName

public java.lang.String getJMSDestName()
Gets the JMSDestName value

Returns:
value

setJMSDestFactoryName

public void setJMSDestFactoryName(java.lang.String name)
Sets the new JMSDestFactoryName value

Parameters:
name -

getJMSDestFactoryName

public java.lang.String getJMSDestFactoryName()
Gets the JMSDestFactoryName value

Returns:
value

getUsername

public java.lang.String getUsername()
Gets the username to be used when creating session

Returns:
the username

setUsername

public void setUsername(java.lang.String username)
Sets the username to be used when creating session

Parameters:
username - the username

getPassword

public java.lang.String getPassword()
Gets the password to be used when creating session

Returns:
the password

setPassword

public void setPassword(java.lang.String password)
Sets the password to be used when creating session

Parameters:
password - the password

getType

public java.lang.String getType()
Gets type of transport. Either "topic" or "queue"

Returns:
- the transport type

setType

public void setType(java.lang.String type)
Sets the type of transport. Either "topic" or "queue"

Parameters:
type - - the type

getDurableId

public java.lang.String getDurableId()
Gets durable id. If set, the topic subscriber will be durable and identified by this string. In case of point-to-point communication over JMS queue it has no sense.

Returns:
the durable id

setDurableId

public void setDurableId(java.lang.String id)
Sets the identifier of the durable topic subscription.

Parameters:
id - the identifier