EasyManua.ls Logo

IBM BJ0NJML - Service And Asset Management - Enabling Message Beans

IBM BJ0NJML - Service And Asset Management
330 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Continuous Queue
166
Integration Guide
When message processing results in an error, the system generates an error file,
then continues processing subsequent messages in the queue. There is one default
continuous queue to process inbound messages.
Enabling Message Beans
To enable the message beans, uncomment the following lines in the ejb-jar.xml file
which is located in the ...\applications\maximo\mboejb\ejbmodule\META-
INF\ folder. The code changes apply to both IBM WebSphere Application Server
and WebLogic Server environments.
<!-- MEA ejb for MDB
<message-driven id="MessageDriven_JMSContQueueProcessor_1">
<ejb-name>JMSContQueueProcessor-1</ejb-name>
<ejb-class>psdi.iface.jms.JMSContQueueProcessor</ejb-class>
<transaction-type>Container</transaction-type>
<message-destination-type>javax.jms.Queue</message-
destination-type>
<env-entry>
<env-entry-name>MESSAGEPROCESSOR</env-entry-name>
<env-entry-type>java.lang.String </env-entry-type>
<env-entry-
value>psdi.iface.jms.QueueToMaximoProcessor</env-
entry-value>
</env-entry>
</message-driven>
-->
<!-- MEA ejb for MDB
<container-transaction>
<method>
<ejb-name>JMSContQueueProcessor-1</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
-->
Uncomment the following lines in the
...\applications\maximo\mboejb\ejbmodule\META-INF\ibm-ejb-jar-bnd.xmi
file on a WebSphere Application Server environment.
<!-- MEA ejb for MDB
<ejbBindings xmi:type="ejbbnd:MessageDrivenBeanBinding"
xmi:id="MessageDrivenBeanBinding_1"
activationSpecJndiName="intjmsact">
<enterpriseBean xmi:type="ejb:MessageDriven" href="META-INF/
ejb-jar.xml#MessageDriven_JMSContQueueProcessor_1"/>
</ejbBindings>-->
Uncomment the following lines in the
...\applications\maximo\mboejb\ejbmodule\META-INF\weblogic-ejb-jar.xml
file on a WebLogic Server environment:
<!-- MEA MDB
<weblogic-enterprise-bean>
<ejb-name>JMSContQueueProcessor-1</ejb-name>
<message-driven-descriptor>
<pool>

Table of Contents

Related product manuals