IBM WebSphere default messaging JMS Queue receiver
The JMS receiver does not have a backup queue, therefore two different services must be configured. One to listen on the primary queue and one to listen on the backup queue. When an exception occurs, the receiver retries using an exponential back off mechanism with a configurable maximum wait limit between retries.
For example, if 600 seconds is the maximum wait time, it first waits for 1 second, then 2 seconds, 4, 8, 16 and so on exponentially until it reaches 600 seconds, after which it retries every 600 seconds. So there is no bound on the total wait time.
Since the JMS receivers operate independently of each other with respect to the primary and backup queues, the order of messages across these queues is not supported.
Configuration properties
The following are the configuration properties of this node:
Property | Description |
---|---|
Runtime Tab | |
Sub Service Name | Enter the name of the queue to which the message is sent. |
Destination Name | Enter the name of the queue to which the message is sent. |
Provider URL | Enter the JMS server provider URL of the JMS implementation
used. This is the URL to use for JNDI lookups.
For clustered JMS configurations, use a comma-separated value
comprising the host/IP and port of each node in the cluster. For example,
for IBM WebSphere Default Messaging JMS Queue,
set to |
Initial Context Factory | The class name of the initial context factory. This is the
starting point for the resolution of names for naming and directory
operations. Select WebSphere MQ if you are using IBM WebSphere Default Messaging JMS Queue. This sets the class name to
|
Connection Factory | Enter the back JMS server's connection factory name. This is used to retrieve the connection factory from JNDI. A client uses a connection factory to create connections with a JMS provider. Enter any unique identifier for the connection factory. This name must be the same as that configured in the IBM WebSphere administration console. |
Receiving Mode | Indicates whether the messages are received in a transactional
mode or non-transactional mode.
Note: If the IsReprocessible flag is checked and
an exception occurs when processing the message, then before deleting
these messages, ensure that they are added to the YFS_REPROCESS_ERROR
or YFS_INBOX table. However, if the "service suspend" exception occurs
when adding these deleted messages to a table, the messages are maintained
in the queue.
|
Initial Threads | Enter the number of threads that can process messages simultaneously.
Based on your throughput, you can increase the number of threads to
enhance performance using the System Management Console. You can also start multiple instances of the Service Definition Framework for a specific integration adapter for a specific server. |
Selector | Enter selectors based on the message headers. These selectors must be in the form Header Name='Header Value'. When specifying a selector, use only single quotes. For example, using the selector APINAME='createOrder' selects all messages with a header name='APINAME' and value='createOrder'. |
Service to Execute on EOF Message | Required if the message contains an EOF message ID. Choose the Search icon to select the service
to be invoked when an EOF message is received. Once the EOF message
is received, the framework waits for a few minutes (configurable in
the |
Root Node Name of EOF Message | If the message contains an EOF message ID, enter your custom
root node name for the EOF message. By default the
end of file message has a root node of " |
Enable JMS Security | Check this box if you want JMS Security to be enabled. Once selected, the JMS Security Properties tab is enabled to configure destination and/or JNDI based JMS security. |
Server Tab | |
Server Name | Select the name of the server which actually executes the service. For more information about creating a new server, see "Adding a New Server". |
Needs Decompression | Select this field to indicate that the incoming message is compressed and needs to be decompressed. |
Exception Tabs | See Table 1 for the receiver link exception handling properties. |
Reconnect Tab | |
Maximum Time Between Retries (milliseconds) | Enter the maximum time between reconnection attempts. |
JMS Security Properties Tab This is enabled upon selecting Enable JMS Security in the runtime tab. Note: You can override the JMS
security properties specified here by defining the agent and flow
authorization parameters in the
<INSTALL_DIR> /properties/customer_overrides.properties
file. |
|
Destination based security | Check this box if you want to provide destination based security for JMS service. |
JNDI based security | Check this box if you want to provide JNDI based security for JMS service. |
JMS Security Parameters For more information about application server-specific JMS security parameters, see "Setting up the JMS Security Properties" section. |
|
Parameter Name | Enter the name of the security parameter. |
Parameter Value | Enter the value of the security parameter. |
Connection properties
The following are the WLJMS and MQJMS nodes' connection properties:
Connection | Node Connection Rules |
---|---|
Can be the first node after the start node | Yes, for services invoked both in a synchronous or asynchronous mode. |
Can be placed before |
|
Can be placed after |
|
Passes data unchanged | Transport nodes do not modify data. |