Running the FIX sample

This topic explains how to put the test messages through the FIX message flow.

The input message

The FIX sample contains a test message called execution-report-b5.bin.

Running the sample

To run the sample, you must put messages on the input queues, and get messages from the output queues. Follow the instructions below:

  1. Put the execution-report-b5.bin test message on the FIX_TO_XML_IN queue using the Enqueue editor:
    1. Click File > New > Enqueue Message File.
      A new enqueue file is created and opens in the Enqueue editor.
    2. In the Queue manager name field, type WBRK6_DEFAULT_QUEUE_MANAGER.
    3. In the Port field, type 2414.
    4. In the Queue name field, type FIX_TO_XML_IN
    5. Click Browse, then navigate to the execution-report-b5.bin test message. Click OK.
    6. Click Write To queue.

    When you put a message on the FIX_TO_XML_IN queue, the FIX_TO_XML_IN MQInput node in the first message flow (called VALIDATINGFIX2XML.msgflow) parses the message and validates it against the message set:

  2. Get the transformed message from the FIX_TO_XML_OUT queue using the Dequeue Message dialog:
    1. Click Get a message from a Queue on the toolbar.
    2. In the Dequeue Message dialog, enter the connection details, and in the Queue name field, type FIX_TO_XML_OUT.
    3. Click Read From Queue. The transformed message is displayed in the Dequeue Message dialog. The message is now in XML format.
    4. Click Save As.... Browse to the location where you want to save the message, enter a file name, then click Save.
  3. Put your saved message from step 2 on the XML_TO_FIX_IN queue using Enqueue editor.
    1. Click File > New > Enqueue Message File.
      A new enqueue file is created and opens in the Enqueue editor.
    2. In the Queue manager name field, type WBRK6_DEFAULT_QUEUE_MANAGER.
    3. In the Port field, type 2414.
    4. In the Queue name field, type XML_TO_FIX_IN.
    5. Click Browse, then navigate to the location of your saved message from step 2 and click OK.
    6. Click Write To queue.

    When you put the message on the XML_TO_FIX_IN queue, the XML_TO_FIX_IN MQInput node in the second message flow (called VALIDATINGXML2FIX.msgflow) parses the message and validates it against the message set:
  4. Get the message from the XML_TO_FIX_OUT queue. The message is now a FIX message.

If there is no message on the FIX_TO XML_OUT or XML_TO_FIX_OUT queues, see Diagnosing problems. The message might still be on the input queue, or it might be on the FIX_FAIL queue, or on one of the system queues.

Main Page icon   Back to sample home