Configuring the Eclipse Amlen resource adapter for high availability when you use topics
When you want to set up Eclipse Amlen resource adapter in a highly available configuration, you must consider the values that are assigned to the following activation specification properties.
You can configure a clientId in this scenario.
JMS allows only one connection per clientId.  Set clientId so
that only one WebSphere® Application
Server can
connect to Eclipse Amlen at
a time. The connected WebSphere Application
Server is
the server that is processing messages. 
Configure the Eclipse Amlen resource adapter properties
- Activation specification configuration
 - Consider the settings of the following activation specification properties when you configure the Eclipse Amlen resource adapter to support high availability for inbound communication:
- clientId
 - The client ID for this connection.
 
- server
 - A comma or space separated list of the two host names or IP addresses for the primary and the
             standby Eclipse Amlen servers. For example,
              
9.1.2.3,9.1.2.4. 
- port
 - The port of the endpoint that you configured.
 
- concurrentConsumers
 - The maximum number of consumers on this connection.
 
- clientMessageCache
 - The maximum number of cached messages for each consumer.
 
- subscriptionDurability
 - Specifies whether a topic subscription is durable.
 
- subscriptionName
 - If you are using shared durable subscriptions, set the subscriptionName to the destination that is specified in the global-shared subscription messaging policy.
 
- subscriptionShared
 - Specifies whether a subscription is shared between consumers or not.
 
Specify one of the following options:- destination and destinationType
 - destination specifies the name of the topic from which messages are received. destinationType specifies the type of destination.
 
- destinationLookup
 - The name of a JNDI object that represents the Eclipse Amlen topic from which messages are received.