ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Clustering » Duplicate Messages in ReplytoQueue

Post new topic  Reply to topic
 Duplicate Messages in ReplytoQueue « View previous topic :: View next topic » 
Author Message
renzo88
PostPosted: Thu May 17, 2007 10:50 pm    Post subject: Duplicate Messages in ReplytoQueue Reply with quote

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
View user's profile Send private message
elvis_gn
PostPosted: Thu May 17, 2007 11:17 pm    Post subject: Re: Duplicate Messages in ReplytoQueue Reply with quote

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
View user's profile Send private message Send e-mail
renzo88
PostPosted: Fri May 18, 2007 4:12 am    Post subject: Reply with quote

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
View user's profile Send private message
tleichen
PostPosted: Fri May 18, 2007 10:41 am    Post subject: Reply with quote

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
View user's profile Send private message
mvenu
PostPosted: Sat May 19, 2007 5:15 am    Post subject: Re: Duplicate Messages in ReplytoQueue Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Sat May 19, 2007 3:37 pm    Post subject: Reply with quote

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
PostPosted: Tue Jun 19, 2007 12:46 am    Post subject: Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Tue Jun 19, 2007 12:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Duplicate Messages in ReplytoQueue
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.