31801 putMessage following beginMessage must use the same queue
This error occurs if the receiver of the putMessage method is a different JadeGenericQueue instance from the one that was used as the receiver for the beginMessage method call. When the beginMessage method is called, the message is associated with a queue (the receiver of the beginMessage method) and that association cannot be changed.
Action
Change your code.