Configuring the JD Edwards EnterpriseOne Server Components
Inbound to JD Edwards EnterpriseOne and Outbound to a Third-Party Application
You set up your JD Edwards EnterpriseOne server so that EnterpriseOne can receive an inbound message from another system or application and respond by placing an outbound message in the outbound queue. Complete these tasks:
Create and start IBM WebSphere MQ Queue Manager.
Create MQ local queues.
Create a MQ remote queue.
Create a MQ local sender channel.
Create a MQ local receiver channel.
End the IBM WebSphere MQ Queue Manager.
To create and start IBM WebSphere MQ Queue Manager:
From the DOS Prompt, change the directory or specify the directory, using this command:
Program Files\WebSphere MQ\Bin
Execute the this command to create the Queue Manager:
CRTMQM JDE_QMGR
This establishes a queue manager that is not the default queue manager.
Execute this command to start the Queue Manager:
STRMQM JDE_QMGR
To create MQ local queues:
You must create these local queues:
INBOUND.Q
SUCCESS.Q
ERROR.Q
DEFRES.Q
OUTBOUND.Q.XMIT
From the MQ command line environment, at the same DOS prompt where you started the Queue Manager:
Use this command to start the IBM WebSphere MQ command:
RUNMQSC JDE_QMGR
The display returns this:
Starting IBM WebSphere MQ Command
To create the local queues, run these IBM WebSphere MQ commands:
DEFINE QLOCAL(INBOUND.Q) DEFPSIST(YES) DESCR('Queue for messages into JD Edwards EnterpriseOne') DEFINE QLOCAL(SUCCESS.Q) DEFPSIST(YES) DESCR('Queue for successful messages in JD Edwards EnterpriseOne') DEFINE QLOCAL(ERROR.Q) DEFPSIST(YES) DESCR('Queue for error messages in JD Edwards EnterpriseOne') DEFINE QLOCAL(DEFRES.Q) DEFPSIST(YES) DESCR('Queue for responses if not in message in JD Edwards EnterpriseOne') DEFINE QLOCAL('OUTBOUND.Q.XMIT') DEFPSIST(YES) USAGE(XMITQ) DESCR('Transmit queue to WCS system')
To create the MQ remote queue:
From the MQ command line environment, enter this command to create a single MQ remote queue:
DEFINE QREMOTE(OUTBOUND.Q) DEFPSIST(YES) XMITQ(OUTBOUND.Q.XMIT) RNAME(ECE_IN2MQI) RQMNAME(ECE_MQI_QMGR) DESCR('ECE out bound queue to WCS system')
To create a MQ local sender channel:
From the MQ command line environment, enter this command to create a MQ local sender channel:
DEFINE CHANNEL('OW2MQI_CHL') CHLTYPE(SDR) TRPTYPE(TCP) CONNAME(name_of_Commerce_Integrator_server) XMITQ(OUTBOUND.Q.XMIT) DISCINT(0) DESCR('Sender channel to WCS system')
To create a MQ local receiver channel:
From the MQ command line environment, enter this command to create a MQ local receiver channel:
DEFINE CHANNEL('MQI2OW_CHL') CHLTYPE(RCVR) TRPTYPE(TCP) DESCR('Receiver channel from WCS system')
To end the IBM WebSphere MQ command mode:
When you are finished creating the queues and channels, enter this command from the DOS prompt in the MQ command line environment to exit the RUNMQSC console program:
END