Configuring the Eclipse Amlen resource adapter for outbound communication
To configure outbound communication, define the properties of a ConnectionFactory object and an administered destination object.
When outbound communication is used, an application that is running on WebSphere® Application Server starts a connection to Eclipse Amlen, and then sends messages to and receives messages from Eclipse Amlen in a synchronous manner.
To configure outbound communication, define JCA resources in the properties of a ConnectionFactory object, which the application server uses to create a JMS ConnectionFactory object.
- Log on to the WebSphere Application Server administrative console.
- Click .
- Click New and complete the Name and Connection factory interface fields.
- Click Apply.
- Click the Custom properties link in the Additional Properties panel. You can then edit the properties of the ConnectionFactory object.
- Click Save to save your changes.
Table 1 lists the properties of a ConnectionFactory object that are used to configure the Eclipse Amlen resource adapter for outbound communication.
Name of property | Type | Valid values | Default value | Description |
---|---|---|---|---|
clientId | String | Any valid Unicode string. | null |
The client ID for this connection. Setting client ID is optional in most cases, but is required for non-shared, durable subscriptions. If clientId is set, it must be unique for all connections to an Eclipse Amlen server. If clientId is not set (and is not required to be set), then the Eclipse Amlen JMS client automatically creates a client ID. The Eclipse Amlen JMS client allows
any valid Unicode string to be used as a client ID. However, you might
prefer to use displayable characters. System generated client IDs
start with an underscore ( Note: If clientId is
specified, set the maximum connections value for the connection pool
to 1 . You can set maximum connections by clicking . |
convertMessageType | String | auto , bytes , text |
auto |
The action to take when a message is converted to JMS from a source that does not indicate the message type. If
the message comes from JMS, then this property is not used. When |
password | String | Any valid Unicode string. | null |
The password for user authentication with Eclipse Amlen. Eclipse Amlen uses this value if user is specified. |
port | Numeric | Value can be in the range of 1 - 65535 |
0 This default value must be changed. |
The Eclipse Amlen TCP port to use for this connection. If there are multiple Eclipse Amlen servers in the server properties list, then all servers use the same port. |
protocol | String | tcp , tcps |
tcp |
The transmit protocol for communication with Amlen. A value of |
securityConfiguration | String | Any valid Unicode string. | null |
The name of the WebSphere security configuration to use for this connection. This value is only used if protocol is
set to |
securitySocketFactory | String | Any valid Unicode string. | null |
The name of the security socket factory that is used for establishing secure connections. This value is
only used if protocol is set to |
server | String | Any valid Unicode string. | null This default value must be changed. |
A space or comma delimited list of Eclipse Amlen host names or IP addresses. The resource adapter attempts to connect to each server in the list until a connection is established. |
temporaryQueue | String | Any valid Unicode string. | null |
Specifies the prototype name for a temporary queue. A unique identifier is appended to this name to form
the actual temporary queue name. Prototype names allow Eclipse Amlen policies to be
assigned to the temporary queue by locating the temporary queue in
a known place in the queue name space. If the prototype contains the
character sequence |
temporaryTopic | String | Any valid Unicode string. | null |
Specifies the prototype name for a temporary topic. A unique identifier is appended to this name to form
the actual temporary topic name. Prototype names allow Eclipse Amlen policies to be
assigned to the temporary topic by locating the temporary topic in
a known place in the topic tree. If the prototype contains the character
sequence |
transactionSupportLevel | String | XATransaction , LocalTransaction , NoTransaction |
XATransaction |
Specifies the types of transactions to support for this connection. A value of |
traceLevel | Numeric | -1 , or value can be in the
range of 0 - 9 |
-1 |
The level of trace detail that is provided in the Eclipse AmlenJMS and resource adapter output for this connection. When set
to For
example, WebSphere Application
Server is
started with defaultTraceLevel set to At level Note: If the defaultTraceLevel is
changed after the WebSphere Application
Server is
started, then any new or existing activation specifications and connection
factories that are set to use -1 continue to receive
and use the defaultTraceLevel that was in effect
when the WebSphere Application
Server started.
The new defaultTraceLevel value is not used until
the next time the application server is started. |
user | String | Any valid Unicode string. | null |
The user name for user authentication with Eclipse Amlen. Eclipse Amlen always uses this
value if it is provided, unless a security profile is attached to
the endpoint with UsePasswordAuthentication set
to |