Message parameter, FromMessage method" /> FromMessage method

 

FromMessage method

 

Purpose

The FromMessage method loads data from a message into a bag. This method corresponds to the MQAI call, "mqBufferToBag," in the WebSphere MQ Programmable Command Formats and Administration Interface.

 

Format

FromMessage (Message, OptionsBag)

 

Parameters

Message (MQMessage) - input

The message containing the data to be converted.

OptionsBag (MQBag) - input

Options to control the processing of the call.

 

Visual Basic Language Invocation

To load data from a message into a bag:

mqbag.FromMessage(Message,[OptionsBag])