IBM File
This section shows the configuration of the mandatory resources and optional properties for TAFJJEE_MDB.jar/META-INF/ibm-ejb-jar-bnd.xml.
The following code block presents the corresponding Websphere 9 configuration part for a given MDB called OFSTransactedMDB, which is in the main section of the ibm-ejb-jar-bnd.xml.
<message-driven name="OFSTransactedMDB"> <jca-adapter activation-spec-binding-name="jms/t24OFSMessageMDB" destination-binding-name="jms/t24OFSQueue" /> <resource-ref name="jms/TAFJQueueConnectionFactory" binding-name="jms/t24ConnectionFactory" /> <message-destination-ref binding-name="jms/t24OFSReplyQueue" name="jms/ReplyQueue" /> </message-driven>
The property values in the code block are explained in the following table. You can modify certain values, if required.
Xml Path |
Example Value |
Comment |
---|---|---|
message-driven name |
OFSTransactedMDB |
Indicates the ejb-name of the ejb-jar.xml. You can modify this value, if required. |
Jca Adapter |
||
activation-spec-binding-name |
jms/t24OFSMessageMDB |
Indicates the websphere internal activation spec. name. You can modify this value, if required. |
destination-binding-name |
jms/t24OFSQueue |
Indicates the name of the queue in websphere jndi tree of the MDB. You can modify this value, if required. |
Resources Reference Configuration |
||
resource-ref\ res-ref-name |
jms/TAFJQueueConnectionFactory |
Configures the JMS connection factory for the response reply queue. |
resource-ref\ jndi-name |
ConnectionFactory |
Matches the default JMS resource connection factory in jBoss. You can modify this value, if required. |
Message Destination Reference |
||
name |
jms/ReplyQueue |
Indicates the mapping with the reply queue. |
binding-name |
jms/t24OFSReplyQueue |
Indicates the name of the reply queue in websphere jndi tree. You can modify this value, if required. |
In this topic