protocol7 archive
24 October 2006

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: Messaging/JMS