31798 Message not initialized for put or begin
Cause
This error occurs if a queue is opened to retrieve or inquire on messages, using the openQueue method of the JadeMessagingFactory class, and an attempt is made to use the putMessage method or the beginMessage method of the JadeGenericQueue class.
Action
Change your code.