protocol7 home

JACL script for context properties

Couldn’t find this on Google, so I thought I should post it here. It’s a JACL script for creating a WPM/SIB/JetStream JMS alias destination with the magic context property needed to generate a MQRFH2 header when sending messages to MQ.

set dest [ $AdminTask createSIBDestination "-bus MyBus -type Alias -name MyQueue -node $nodeName -server $serverName -targetBus MyMQBus -targetName MyMQQueue" ]

$AdminConfig create SIBContextInfo $dest {{name _MQRFH2Allowed} {type BOOLEAN} {value true}}

Tags: . No Comments »

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Creative Commons Attribution 3.0 licensed unless otherwise specified.