initializeForGet

initializeForGet();

The initializeForGet method of the JadeGenericMessage class initializes an existing message object so that a message can be retrieved from a queue. The initialization sets the values of message properties to default values, sets the values of user properties to null, and sets the message body to empty.

This method must be called before calling the getMessage method of the JadeGenericQueue class.

The initializeForGet method is implicitly called when a message is created by calling the createMessage method of the JadeGenericQueue class with the forPUT parameter set to false.