行内前置机:
#!/bin/sh
crtmqm -lc -lf 4096 -lp 2 -ls 1 -q YWJZZF_CZCB_SEND
strmqm YWJZZF_CZCB_SEND
runmqsc YWJZZF_CZCB_SEND<<EOF
****MQ脚本开始
alter qmgr CCSID(1381)
define channel(CHANNEL1) chltype(SVRCONN) TRPTYPE(TCP) mcauser('mqm')
****本地客户端程序用的通道,视情况而定
def ql(deadq) defpsist(yes) maxdepth(20000) replace
def ql(ERRMSG) defpsist(yes) maxdepth(20000) replace
alter qmgr deadq(deadq)
def ql(CZ_RSP) maxdepth(100000) defpsist(yes) maxmsgl(1048576) replace
def qr(YH_REQ) rname(YH_REQ) rqmname(YWJZZF_RECV) xmitq(SEND000) defpsist(yes) replace
def ql(SEND000) usage(xmitq) defpsist(yes) maxdepth(100000) maxmsgl(1048576) trigger trigtype(first) trigdata(YH_CZ) initq(system.channel.initq) replace
def chl(YH_CZ) chltype(sdr) discint(1800) conname('10.130.130.2
MQ配置模板
最新推荐文章于 2022-04-21 17:22:11 发布