|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.services.messaging.adapters.JMSSettings
public class JMSSettings
| Constructor Summary | |
|---|---|
JMSSettings()
Creates a default JMSSettings instance. |
|
| Method Summary | |
|---|---|
String |
getAcknowledgeMode()
Returns the acknowledge-mode property. |
String |
getConnectionFactory()
Returns the connection-factory property. |
String |
getDeliveryMode()
Returns the delivery-mode property. |
String |
getDestinationJNDIName()
Returns the destination-jndi-name property. |
String |
getDestinationName()
Returns the destination-name property. |
String |
getDestinationType()
Returns the destination-type property. |
Hashtable |
getInitialContextEnvironment()
Returns the initial-context-environment property. |
int |
getMaxProducers()
Returns the max-producers property. |
int |
getMessagePriority()
Returns the message-priority property. |
String |
getMessageType()
Returns the message-type property. |
boolean |
isTransactedSessions()
Returns the transacted-sessions property. |
void |
setAcknowledgeMode(String mode)
Sets the acknowledge-mode property which is the message
acknowledgement mode for the JMS adapter. |
void |
setConnectionFactory(String factory)
Sets the connection-factory property which is the name of
the JMS connection factory in JNDI. |
void |
setDeliveryMode(String mode)
Sets the delivery-mode property which is the JMS DeliveryMode
for producers. |
void |
setDestinationJNDIName(String name)
Sets the destination-jndi-name property which is the name of
the destination in JNDI. |
void |
setDestinationName(String name)
Sets the destination-name property which is the name of the
destination in JMS. |
void |
setDestinationType(String type)
Sets the destination-type property which determines whether
the adapter is performing topic (pub/sub) or queue (point-to-point) messaging. |
void |
setDurableConsumers(boolean durable)
|
void |
setInitialContextEnvironment(Hashtable env)
Sets the initial-context-environment property. |
void |
setMaxProducers(int value)
Sets the max-producers property which is the maximum number
of producer proxies that this destination should use when communicating
with the JMS Server. |
void |
setMessagePriority(int priority)
Sets the message-priority property which is the JMS priority
for messages sent by Flash producers. |
void |
setMessageType(String type)
Sets the message-type property which is the
javax.jms.Message type which the adapter should use for the
destination. |
void |
setTransactedSessions(boolean mode)
Sets the transacted-sessions property which is the JMS
session transaction mode. |
boolean |
useDurableConsumers()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMSSettings()
JMSSettings instance.
| Method Detail |
|---|
public String getDestinationType()
destination-type property.
public void setDestinationType(String type)
destination-type property which determines whether
the adapter is performing topic (pub/sub) or queue (point-to-point) messaging.
This element is optional and defaults to Topic.
type - public String getMessageType()
message-type property.
public void setMessageType(String type)
message-type property which is the
javax.jms.Message type which the adapter should use for the
destination. Supported types are: javax.jms.TextMessage,
javax.jms.ObjectMessage.
type - public String getConnectionFactory()
connection-factory property.
public void setConnectionFactory(String factory)
connection-factory property which is the name of
the JMS connection factory in JNDI.
factory - public String getDestinationJNDIName()
destination-jndi-name property.
public void setDestinationJNDIName(String name)
destination-jndi-name property which is the name of
the destination in JNDI.
name - public String getDestinationName()
destination-name property.
public void setDestinationName(String name)
destination-name property which is the name of the
destination in JMS. This element is optional and defaults to the destination id.
name - public boolean useDurableConsumers()
public void setDurableConsumers(boolean durable)
public String getDeliveryMode()
delivery-mode property.
public void setDeliveryMode(String mode)
delivery-mode property which is the JMS DeliveryMode
for producers.
mode - public int getMessagePriority()
message-priority property.
public void setMessagePriority(int priority)
message-priority property which is the JMS priority
for messages sent by Flash producers.
priority - public String getAcknowledgeMode()
acknowledge-mode property.
public void setAcknowledgeMode(String mode)
acknowledge-mode property which is the message
acknowledgement mode for the JMS adapter. None of these modes require any
action on the part of the Flex messaging client.
Supported modes:
AUTO_ACKNOWLEDGE - the JMS provider client runtime automatically acknowledges the messages.
DUPS_OK_ACKNOWLEDGE - auto-acknowledgement of the messages is not required.
CLIENT_ACKNOWLEDGE - the JMS adapter should acknowledge that the message was received
mode - public boolean isTransactedSessions()
transacted-sessions property.
public void setTransactedSessions(boolean mode)
transacted-sessions property which is the JMS
session transaction mode. Default value is false.
mode - public int getMaxProducers()
max-producers property.
public void setMaxProducers(int value)
max-producers property which is the maximum number
of producer proxies that this destination should use when communicating
with the JMS Server. The default is 1 which implies all clients using
this destinatin will share the same connection to the JMS server.
value - public Hashtable getInitialContextEnvironment()
initial-context-environment property.
public void setInitialContextEnvironment(Hashtable env)
initial-context-environment property.
env -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/services/messaging/adapters/JMSSettings.html