You must edit several lines in the ICSdir\connectors\Mro\conf\mro_conf.xml file. You can use any ASCII editor. Make a backup copy of the configuration file before you begin.
Find and modify the following lines. Substitute the values in italics with the values appropriate to your installation. Ensure queue names match the names used in configuring MQ.
In the <sender id="Out"> section, find the lines:
<!-- ENTER - SERVERNAME.queue.manager --> <param name="queuemanager" value="my_mq_queuemanager_name" />
In the <receiver id="In"> section, find the lines:
<!-- ENTER - SERVERNAME.queue.manager --> <param name="queuemanager" value="my_mq_queuemanager_name" />
Supply the directory path name where objects will be stored.
In the <eventstore> section find the lines:
<!-- ENTER - $connector/events --> <param name="eventDir" value="path_name"/> <!-- ENTER - $connector/archive --> <param name="archive" value="path_name"/>
Supply the path name where objects will be stored.
The adapter uses the XSLT logic module as the primary transformation mechanism for translating between the adapter's XML messages and WBIX WBI XML. Translations between XML formats are direct, there is no chaining.
To configure a logic module, add the following XML to the logicmodules section of the adapter configuration profile listed in Appendix C, The MRO Configuration file.
<logicmodule id="TranslationManager" class="com.ibm.wbix.adapter.logicmodules.XsltLogicModule"> <param name="repository" value="%connector%\MRO\xslt"/> <param name="schemaConfig" value="%connector%\MRO\translations\schemaTypes.xml"/> <param name="MRO" value="CW" /> <param name="CW" value="MRO" /> </logicmodule>
Note that the XSLT sub-directory is specified as the root for name resolution within the repository, as opposed to the top-level translations directory. This is a crucial step for the translation manager to resolve the translation chains correctly. The logic module must be added to any routing paths between the the adapter and WBI transports.
You can specify path names to override the defaults.
In the <logicmodules> section, find the lines:
<!-- ENTER - $connectors/Mro/translations/xslt --> <param name="repository" value="path_name" /> <!-- ENTER - $connectors/Mro/translations/xslt/schemaTypes.xml --> <param name="schemaConfig" value="path_name" />
After you update this file, save it and start the adapter.
You can set parameters for polling intervals. See Troubleshooting and error handling for error messages.
The polling parameters control how often the MROConnector polls for business objects to transmit to the WebSphere Interchange Server. The configuration file, mro_conf.xml contains a value specifying the polling interval. See Appendix C, The MRO Configuration file for a listing of the configuration file. The default value is 10000 milliseconds.
You might poll less often if the application at the other end of the collaboration processes requests in a batch mode. If you set the polling frequency too high, performance might suffer. Aim to balance polling between the applications at both ends of the collaboration.
To modify this parameter, do the following steps:
<param name="pollinterval" value="10000" />