Author |
Message
|
GEMO! |
Posted: Mon Sep 25, 2006 3:27 pm Post subject: Reply to queue usinga a model queue on version 6.0 |
|
|
Apprentice
Joined: 08 Oct 2004 Posts: 33 Location: This World
|
Does somebody know if the way to request a reply-to-queue trough java have been changed on mq version 6.0?
We have a java application, which is working fine on MQ ver 5.3, but it is failing on version 6.0. Basically this application is putting message on a local queue and it is requesting a reply message on a Temporary queue based on a specific model queue.
When we try to run the applicacion on ver 6.0, message is put succesfully but the reply message never is placed.
This is the part of the code
JMS Message class: jms_bytes
JMSType: null
JMSDeliveryMode: 2
JMSExpiration: 0
JMSPriority: 4
JMSMessageID: null
JMSTimestamp: 0
JMSCorrelationID:null
JMSDestination: null
JMSReplyTo: queue://QMGRNAME/AMQ.45143D5620005202?persistence=1 JMSRedelivered: false JMS_IBM_Format:MQIMS
Any toughs?  _________________ GEMO! |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Sep 25, 2006 3:32 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Are you trying to put a persistent message on a temporary dynamic queue?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
GEMO! |
Posted: Mon Sep 25, 2006 3:49 pm Post subject: |
|
|
Apprentice
Joined: 08 Oct 2004 Posts: 33 Location: This World
|
Well my dev team told that they are using NoPersisten messages.
However reviwing the code I see that, probably, you saw:
JMSExpiration: 0
Do you think that's the problem? _________________ GEMO! |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Sep 25, 2006 4:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Isn't the value for no expiration -1? If the expiration time is too short you will never be able to get the message. And you may not even see it in the queue depth as V6 has a utility that removes expired messages...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
GEMO! |
Posted: Mon Sep 25, 2006 4:24 pm Post subject: |
|
|
Apprentice
Joined: 08 Oct 2004 Posts: 33 Location: This World
|
it souds logical.. We will be testing considering this suggestion. I'll let you know the results.
Gracias!  _________________ GEMO! |
|
Back to top |
|
 |
|