With TIBCO BusinessEvents (BE)sending a simple MQ JMS messagethrew anMQJMS1013 exception.

With TIBCO BusinessEvents (BE)sending a simple MQ JMS messagethrew anMQJMS1013 exception.

book

Article ID: KB0091786

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:

============

With TIBCO BusinessEvents (BE) 3.0.0 , sending a simple MQ JMS message  threw an exception the following exception.

  MQJMS1013: operation invalid whilst session is using asynchronous delivery

Environment:

==========
  o TIBCO BusinessEvents 3.0.0 and above
   o All OS

Cause :
==========

This error message is thrown with IBM MQ. Once a Session has been set as a MessageListener it is set in asynchronous mode for the entire Session object. This means receive and send methods cannot be called on it. Doing so results in a "MQJMS1013: operation invalid whilst session is using asynchronous delivery" exception.



Symptoms:

=========

MQJMS1013: operation invalid whilst session is using asynchronous delivery.

Resolution:
=========

Create two seperate JMS Connection resources and create separate JMS channels for send and receive.

Issue/Introduction

With TIBCO BusinessEvents (BE)sending a simple MQ JMS messagethrew anMQJMS1013 exception.