Mq Series - Error while connecting to reply queue and put message on it.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Mq Series - Error while connecting to reply queue and put message on it.

Ankita Srivastava
We got reply and request queue. I am able to connect and get message from request queue. Now, I want to put the message on reply queue.But i am getting an error when i try to connect to the reply queue.
 
Below is the code and error:
Code: anMQConnectionSpec queueManagerName: ''; 
                 server: false;
                  replyQueueName: 'TBAT.00000.CE.REPLY'.
 
putQueue := (anMQConnection replyQueue ).
putQueue initializePmo.
putQueue pmoOptions: AbtMQConstants::MqpmoNoSyncpoint .
aMessage := AbtMQMessage   fromBytes: putMessage asByteArray.
aMessage       msgType: AbtMQConstants::MqmtDatagram; 
  replyToQ: anMQConnectionSpec requestQueueName.
(result := anMQConnection putMQMessage: aMessage) isAbtError
   ifTrue: [result display].
Error: Connect error: ('MqccFailed' , 'MqrcUnknownObjectName')
 
Any body have any idea why i am getting this error?Is am missing something? Any other way to connect to the reply queue and put the message?
 
Thanks in advance for any help.
 
Ankita !!

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.