public void sendMessage(BridgeMsg msg) throws BridgeException {
try {
/* create MQ message */
MQMessage mqMsg = new MQMessage();
MQPutMessageOptions opt = new MQPutMessageOptions();
opt.options = MQC.MQPMO_NEW_MSG_ID | MQC.MQPMO_NO_SYNCPOINT;
mqMsg.messageFlags = MQC.MQMF_SEGMENTATION_ALLOWED;
/* set message payload */
switch (msg.getMsgType()) {
case BridgeMsg.TYPE_NONE: