WebSphere Message Broker mqoutput dynamically specifies multiple outputs

Source: Internet
Author: User

Due to the current ESB projects are added dynamic configuration, to a demand, through the configuration file or database configuration, on a message flow definition dynamically specify multiple output nodes.


Here's a simple little example.

A simple message flow is defined first, and the MQ input node is to the MQ output node.

1.MQ input Node Specify queue name: xml.in


The 2.Compute compute node specifies the output queue xml.out, WA. Out

SET outputlocalenvironment.destination.mq.destinationdata[1].queuename = ' XML. Out ';
SET outputlocalenvironment.destination.mq.destinationdata[2].queuename = ' WA. Out ';

The target mode of the 3.MQ output node is changed to the target list

Test: Put the test message in the xml.in queue and we can see it automatically output to the Xml.out queue and the wa.out queue.

WebSphere Message Broker mqoutput dynamically specifies multiple outputs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.