互联网服务

seek your help on MQ cluster - work load balance problem

I have 2 machines -     HostA (QmgrA)          and           HostB (QmgrB) , they join in the same mq cluster - clusterGW ,        &nb...显示全部

I have 2 machines -     HostA (QmgrA)          and           HostB (QmgrB) ,

they join in the same mq cluster - clusterGW ,             also I have a cluster mqm - QmgrGW


and they can balance the jobs - i.e. Once there come 2 job messages from external host, 1 will handle by QmgrA, another 1 handle by QmgrB.

(As QmgrA is totally the same as QmgrB, that means they has same config, local Q, remote Q , etc)

Now I want to develop a WMB flow on both HostA and HostB 's broker servers.

The function of the flow will send out the job messages to QmgrA / QmgrB.


I want such flow can balance the messages - i.e. If the flow of HostA sends 2 messages, 1 can be sent to QmgrA while another 1 can be sent to QmgrB. The same for the flow of HostB .


But now the current situation is that - If the flow of HostA sends messages, the messages only can deliver to QmgrA  by 1st priority

(By 2nd priority the messages can deliver to QmgrB only if message failed to QmgrA .)


That means we cannot do 'work load balance' internally on QmgrA / QmgrB .



So here I would like to ask if there is any solution on the MQ level.

Feel free to ping me if you need more information.
Thanks so much!收起
参与10

查看其它 8 个回答艾依然的回答

艾依然艾依然其它惠牛农业
回复 8# paulmin


   在每个回复右侧有一个”最佳答案“的选项,在最合适的回复处点击它就可以了。
互联网服务 · 2012-04-09
浏览755

回答者

艾依然
其它惠牛农业
擅长领域: 中间件数据库服务器

艾依然 最近回答过的问题

回答状态

  • 发布时间:2012-04-09
  • 关注会员:1 人
  • 回答浏览:755
  • X社区推广