简体   繁体   中英

how to send the message to TOPIC then to MDB?

In our project we are making use of Websphere MQ.

Initially we are sending the message to Queue using RFHUtil.

it is required that we have to make use of Topic.

so how we have to send message to topic..??

Thanks in advance

There are number of samples shipped with WebSphere MQ v7.x. One such sample is amqspub that can be used to send publications to a topic. Here is how you use this sample application

amqspub "/SPORTS/FOOTBALL/BARCA" QMSPORT

where "/SPORTS/FOOTBALL/BARCA" is the topic string and QMSPORT is queue manager name. There are number Java samples also.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM