Search code examples
ibm-mqibm-integration-bus

Sending an XML File to the MQ


I'm quite new to IIB and MQ Explorer.

Is it possible to send an XML file to a queue and then reading it and modifying it through IIB without 3rd party programs (like RfhUtil)?

In IIB I have a Message flow that consists of MQ Input > Java Compute > MQ Output.

My MQ Explorer has 2 Queues, INPUT and OUTPUT.

I want to be able to send a file to the MQ Input(connected to 'INPUT' queue) and then modifying it in the Java Compute and lastly sending it to the MQ Output(connected to 'OUTPUT' queue)

I'm asking that because I did not encounter an option to send anything except "Put Test Message" which does not have the option to add a file.

I'm running everything locally because I'm still learning (Local Queues as well, if it matters).

Thanks in advance, if the question is lacking information, please let me know.


Solution

  • I dont see any requirement for the input queue. It sounds as if your real requirement is

    • Read an input file using a FileInput node
    • Use JavaCompute to construct the output message tree
    • Put the output message to the output queue