3.6.3 Mapping with cosminexus.xml

The following table describes the correspondence between the HITACHI MessageDrivenBean Property file and cosminexus.xml:

Message Driven Bean property filecosminexus.xml
Tag nameOccurrence patternTag nameOccurrence pattern
<hitachi-message-bean-property>Once

<message>Zero or more times

----

<ejb-name>#1Once

<security-identity>Zero or once

<security-identity>Zero or once

<run-as>Once

<run-as>Once

<description>Zero or more times

----

<role-name>Once

----

<user-name>Once

<user-name>Once

<ejb-ref>Zero or more times

----

<destination>Zero or more times

----

<ejb-ref-name>Once

----

<ejb-ref-type>Once

----

<home>Once

----

<remote>Once

----

<ejb-link>Zero or once

----

<message-ref>Zero or once

<message-ref>Zero or once

For Connector 1.0

For Connector 1.0

<connection-factory>Zero or once

<connection-factory>Zero or once

<connection-destination>Once

<connection-destination>#2Zero or once

<resource-adapter>#3Once

<resource-adapter>Once

<queue>#3Zero or once

<queue>#2Zero or once

For Connector 1.5

For Connector 1.5

<connection-destination>Once

<connection-destination>#2Zero or once

<resource-adapter>Once

<resource-adapter>Once

<resource-ref>Zero or more times

<resource-ref>Zero or more times

<description>Zero or more times

----

<res-ref-name>Once

<res-ref-name>Once

<res-type>Once

----

<res-auth>Once

----

<res-sharing-scope>Zero or once

----

<mapped-name>Zero or once

----

<linked-to>Zero or once

<linked-to>#2Once

<resource-env-ref>Zero or more times

<resource-env-ref>Zero or more times

<description>Zero or more times

----

<resource-env-ref-name>Once

<resource-env-ref-name>Once

<resource-env-ref-type>Once

----

<mapped-name>Zero or once

----

<linked-queue>Zero or once

<linked-queue>#2Once

<resource-adapter>#3Once

<resource-adapter>Once

<queue>#3Once

<queue>Once

<linked-adminobject>Zero or once

<linked-adminobject>#2Once

<resourceadapter-name>#4Once

<resourceadapter-name>Once

<adminobject-name>#4Once

<adminobject-name>Once

<linked-to>Zero or once

<linked-to>#2Once

<runtime>Zero or once

----

<pooled-instance>Once

<pooled-instance>#2Zero or once

<minimum>Once

<minimum>#2Zero or once

<maximum>Once

<maximum>#2Zero or once

<front-ejb>Zero or once

<front-ejb>Zero or once

<start-order>Zero or once

<start-order>Zero or once

<ejb-method-observation-timeout>Zero or more times

<ejb-method-observation-timeout>Zero or more times

<method>One or more times

<method>One or more times

<description>Zero or once

----

<method-intf>Zero or once

<method-intf>Zero or once

<method-name>Once

<method-name>Once

<method-params>Zero or once

<method-params>Zero or once

<method-param>Zero or more times

<method-param>Zero or more times

<method-observation-timeout>Once

<method-observation-timeout>Once

<ejb-transaction-timeout>Zero or more times

<ejb-transaction-timeout>Zero or more times

<method>One or more times

<method>One or more times

<description>Zero or once

----

<method-intf>Zero or once

<method-intf>Zero or once

<method-name>Once

<method-name>Once

<method-params>Zero or once

<method-params>Zero or once

<method-param>Zero or more times

<method-param>Zero or more times

<transaction-timeout>Once

<transaction-timeout>Once
Legend:
--: No corresponding tag. Alternatively, the description of the occurrence pattern is omitted because the corresponding tag does not exist or the tag is omitted.
#1
This tag corresponds to <ejb-jar>-<enterprise-beans>-<message-driven>-<ejb-name> in the ejb-jar.xml and does not exist in the property file. This tag is the key for identifying the Message-Driven Beans.
#2
The occurrence pattern is different from the property file because only the elements to be customized are coded in cosminexus.xml.
#3
Enter the resource adapter display name in resource-adapter and the queue name in <queue>.
#4
Enter the resource adapter display name in <resourceadapter-name> and the administered object name in <adminobject-name>.