Trying to have an acknowledgement after putting the message on the MQSeries Server using MQSeries Client(MA88 only).
I used the QueueRequester class and used the request method of it. The message is placed successfully on a queue as given in the constructor of QueueRequester but when I tried to respond back from the server side using the temporary queue ( created by the .... tempQueue = (Queue) message.getJMSReplyTo(); ) and tried to create the QueueSender using this queue it started giving me the exception reason code .. 2085..
The crux is I am unable to get the queueSender...
The point to be noted here is I am trying to access a queue which is temporary one created by the QueueRequester class.When I get a System.out.print of that temp. Queue , I get it as good as any object.
By the help of this queue when I try to create the queue sender ,I get an Exception.
code in brief :-
I made two threads .. one for Request and one for Reply.....
in first thread :
TextMessage reply = (TextMessage) queueRequestor.request(message); // now this thread will hang till it gets the response from the server..
System.out.println("Here is the error"); // this reply sender below is not being created...
replySender = (com.ibm.mq.jms.MQQueueSender)queueSession.createSender(tempQueue);
replySender.send(tempQueue,reply);
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum