Create Queue In IBM WebSphere MQ

How To Define Queues

Define Local Queue

DEFINE QLOCAL(‘QUEUE-NAME’)

Default Local Queue is “SYSTEM.DEFAULT.LOCAL.QUEUE”
Define Alias Queue

DEFINE QALIAS(ALIAS-QUEUE-NAME) +
TARGET(BASE-QUEUE-NAME)

Default Alias Queue is “SYSTEM.DEFAULT.ALIAS.QUEUE”

Define Remote Queue

DEFINE QREMOTE(QUEUE-NAME) +
RNAME(TARGET-QUEUE-NAME) +
RQMNAME(TARGET-QMGR-NAME)
XMITQ(XMITQ-QUEUE-NAME)

Default Remote Queue is “SYSTEM.DEFAULT.REMOTE.QUEUE”
Define Model Queue

DEFINE QMODEL(QUEUE-NAME) +
DEFTYPE(TEMPDYN/PERMDYN)

Default Model Queue is “SYSTEM.DEFAULT.MODEL.QUEUE”

Share on FacebookShare on LinkedInTweet about this on TwitterGoogle+