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 » IBM MQ Java / JMS » Messages being delivered twice?

Post new topic  Reply to topic
 Messages being delivered twice? « View previous topic :: View next topic » 
Author Message
dtauzell
PostPosted: Tue Apr 22, 2003 11:22 am    Post subject: Messages being delivered twice? Reply with quote

Apprentice

Joined: 23 May 2002
Posts: 37

I have an MDB running on Weblogic 7.0 listening to an MQSeries queue.
The MDB is set for Auto-acknowledge.

It seems that message are being delivered twice. At the start of my onMessage() I print out the message being received.

I am getting many instances where the JMSMessageId is the same for two messages with
JMSRedelivered: false
JMSXDeliveryCount:1

The JMS_IBM_PutTime property is different for each as is the JMSTimestamp.

Any ideas as to what could cause this?
Back to top
View user's profile Send private message
kingdon
PostPosted: Tue Apr 22, 2003 11:29 pm    Post subject: Reply with quote

Acolyte

Joined: 14 Jan 2002
Posts: 63
Location: UK

The simplest explanation would be that there are multiple messages being put to the queue with the same messageId. This is possible if the messages originate from a non-JMS application.

Regards,
James.
Back to top
View user's profile Send private message
dtauzell
PostPosted: Wed Apr 23, 2003 10:02 am    Post subject: Reply with quote

Apprentice

Joined: 23 May 2002
Posts: 37

In this case we only have JMS applications sending the messages. I tried using JMS to send an ObjectMessage and then re-send the same instance of the ObjectMessage, however that resulted in two different MessageIDs.

I have a ticket with IBM to see if they an help. I'll post my results.
Back to top
View user's profile Send private message
yaakovd
PostPosted: Thu Apr 24, 2003 3:08 pm    Post subject: Reply with quote

Partisan

Joined: 20 Jan 2003
Posts: 319
Location: Israel

Correct, becouse there is 2 different messages.
But you can use Correl ID - put first message ID to both Correl ID.

Hope it help you
_________________
Best regards.
Yaakov
SWG, IBM Commerce, Israel
Back to top
View user's profile Send private message Send e-mail
mqusr001
PostPosted: Wed Jul 14, 2004 3:13 pm    Post subject: Messages being delivered twice? Reply with quote

Newbie

Joined: 06 Jul 2004
Posts: 3

Just in case you face this issue still....


Me too had this issue. This was because, I had 2 different subscriber applications registered with the broker. And whenever a message gets published, the broker was sending 2 messages (one for each subscriber). to the topic Q. I wonder if this is the issue in your case....


hope this helps...
Leo
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 » IBM MQ Java / JMS » Messages being delivered twice?
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.