Author |
Message
|
renzo88 |
Posted: Thu May 17, 2007 10:50 pm Post subject: Duplicate Messages in ReplytoQueue |
|
|
Newbie
Joined: 02 Feb 2007 Posts: 5
|
Hi all,
I have a problem of ducplicate message in a ReplyToQueue.
The source Queue Manager is QMS1 and I have 2 destinations QMD1 et QMD2 in cluster.
I have defined the same instance of the QUEUE.A in QMD1 and QMD2 but this queue is PUT(DISABLED) in the QMD2 so all the messages for this Queue are going to QMD1.
My developper says that when he put a message in Queue.A ( with a ReplyToQueue located on QMS1 ) sometimes 2 messages ( exactly the same ) arrived in the ReplyQueue.
This problem appended after I defined the second instance of my Queue.A on the QMD2.
Is someone encoutered this problem before ?
Have your an idea of what can solve it ?
Thanks
Lolo |
|
Back to top |
|
 |
elvis_gn |
Posted: Thu May 17, 2007 11:17 pm Post subject: Re: Duplicate Messages in ReplytoQueue |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi renzo88,
renzo88 wrote: |
I have defined the same instance of the QUEUE.A in QMD1 and QMD2 but this queue is PUT(DISABLED) in the QMD2 so all the messages for this Queue are going to QMD1. |
So if you put two request messages into QMD1, obviously you be getting two reply messages....isn't it ? Or am I missing something ?
Regards. |
|
Back to top |
|
 |
renzo88 |
Posted: Fri May 18, 2007 4:12 am Post subject: |
|
|
Newbie
Joined: 02 Feb 2007 Posts: 5
|
Yes you're right but it my case we just put one message into QMD1 and we get back 2 messages in the replyQueue.
Regards |
|
Back to top |
|
 |
tleichen |
Posted: Fri May 18, 2007 10:41 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
According to the Clusters manual:
When a cluster queue is put-disabled, this situation is reflected in the repository of each queue manager that is interested in that queue. The workload management algorithm tries to send messages to destinations that are put-enabled.
You can write a workload manager exit to change this behavior to route the message to an appropriate destination, or the dead-letter queue.  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
mvenu |
Posted: Sat May 19, 2007 5:15 am Post subject: Re: Duplicate Messages in ReplytoQueue |
|
|
Novice
Joined: 06 May 2007 Posts: 10 Location: US
|
You should not get two messages...check with your developer whether they are putting messages twice.
Can you simulate the problem? To isolate the problem, try putting messages directly to QUEUE.A and see whether you get duplicate messages...which you should not.
renzo88 wrote: |
Hi all,
I have a problem of ducplicate message in a ReplyToQueue.
The source Queue Manager is QMS1 and I have 2 destinations QMD1 et QMD2 in cluster.
I have defined the same instance of the QUEUE.A in QMD1 and QMD2 but this queue is PUT(DISABLED) in the QMD2 so all the messages for this Queue are going to QMD1.
My developper says that when he put a message in Queue.A ( with a ReplyToQueue located on QMS1 ) sometimes 2 messages ( exactly the same ) arrived in the ReplyQueue.
This problem appended after I defined the second instance of my Queue.A on the QMD2.
Is someone encoutered this problem before ?
Have your an idea of what can solve it ?
Thanks
Lolo |
_________________ - Venu
- IBM Certified SOA Solution Designer
- IBM Certified System Administrator - WebSphere MQ V6
- IBM Certified Solution Designer - WebSphere MQ V6 |
|
Back to top |
|
 |
bruce2359 |
Posted: Sat May 19, 2007 3:37 pm Post subject: |
|
|
Guest
|
renzo88 wrote: |
Yes you're right but it my case we just put one message into QMD1 and we get back 2 messages in the replyQueue. |
With the exception of Report Messages - generated by the qmgr, it's the application that MQPUTs reply messages. I'd be looking at the replying application. |
|
Back to top |
|
 |
renzo88 |
Posted: Tue Jun 19, 2007 12:46 am Post subject: |
|
|
Newbie
Joined: 02 Feb 2007 Posts: 5
|
Thanks all for your help, in fact the problem was on the application side and now it's resolve. |
|
Back to top |
|
 |
EddieA |
Posted: Tue Jun 19, 2007 12:19 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Yet another "MQ is guilty, until the real guilty party owns up".
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|