我在IBM Integration Bus(IIB)中创建了一个消息流,其中有一个MQInput节点,连接到JavaCompute节点,最后连接到MQOutput节点。 MQ输入和输出节点都来自同一个本地队列管理器,但它们来自两个独立的队列。当我尝试发送数据包时,我在IIB控制台中得到了这个:
[Test Client Info]Checking if Execution group is in use...
[Test Client Info]Initializing test message monitors...
[Test Client Info]This monitor is added:MQ: queue:OUTPUT
[Test Client Info]Creating queue definition file...
[Test Client Info]Creating queue definition file...
[Test Client Info]Starting message flows...
[Test Client Info]Test client is ready to send and monitor messages.
[Test Client Info]MQ output monitor initialized with: host=localhost|port=0|qmgr=Local_QM1|queue=OUTPUT|serverchannel=SYSTEM.BKR.CONFIG
[Test Client Info]MQ output monitor started...
[Test Client Info]MQ input handler initialized with: host=localhost|port=0|qmgr=Local_QM1|queue=INPUT|serverchannel=
[Test Client Info]MQ input handler sending message...
[Test Client Error]MQ output monitor encountered an error when attempting to get message:
[Test Client Error]MQInvocationException: . Wrapped exception: {com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2033'.}.
[Test Client Error]MQ output monitor encountered an error when attempting to get message:
[Test Client Error]MQInvocationException: . Wrapped exception: {com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2033'.}.
[Test Client Error]MQ output monitor encountered an error when attempting to get message:
[Test Client Error]MQInvocationException: . Wrapped exception: {com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2033'.}.
[Test Client Error]MQ output monitor encountered an error when attempting to get message:
[Test Client Info]MQ output monitor is stopping...
然而,在IBM WebSphere MQ的队列中,我得到了这个:
Queue Name Queue Type Queue input count Queue output count
INPUT LOCAL 1 0
OUTPUT LOCAL 1 0