The information in this article applies to:
Product: MIM
Version: 8.5
Platform: UNIX, Windows
Discussion
The Java Workflow Servlet Engine (Java WSE) may be configured to use WebSphere MQ client connections.
Procedure
1) Edit the Java WSE configuration policy: JavaServletEngine.xml
2) Modify the JMSPlugin parameter to contain the hostname, port, and channel attributes:
hostname = hostname of the WebSphere MQ server
port = WebSphere MQ server's listener port
channel = name of the client channel
3) Restart the Java WSE.
Example JavaServletEngine.xml Modified for Client Connections
MIM.WSE.JAVA.DISP.SERVER
$\{queueManager\}
<JMSPlugin class="com.commercequest.tools.jms.plugin.MQSeriesPlugin"
queuemanager="$\{queueManager\}" hostname=”localhost” port=”1414”
channel=”SYSTEM.DEF.SRVCONN” />
minworkers="1" maxworkers="10" addressfield="" mapallrequeststo="JavaEcho"
classpath="file:///C:\\Program Files (x86)\\Metastorm\\MIM/sdk/samples/java/wse/Echo.jar">
reject-queue="MIM.REJECTED.MESSAGES" minworkers="1" maxworkers="10"
addressfield="" mapallrequeststo="JavaW3CEcho"
classpath="file:///C:\\Program Files (x86)\\Metastorm\\MIM/sdk/samples/java/wse/W3CEcho.jar">
reject-queue="MIM.REJECTED.MESSAGES" minworkers="1" maxworkers="10"
addressfield="" mapallrequeststo="MIM-WS"
classpath="file:///C:\\Program Files (x86)\\Metastorm\\MIM/java" classpath-exclusions="xalan.jar">
Refer to the MIM System Administration Guide for additional information on configuring the Java WSE.