Author |
Message
|
dtauzell |
Posted: Tue Apr 22, 2003 11:22 am Post subject: Messages being delivered twice? |
|
|
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 |
|
 |
kingdon |
Posted: Tue Apr 22, 2003 11:29 pm Post subject: |
|
|
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 |
|
 |
dtauzell |
Posted: Wed Apr 23, 2003 10:02 am Post subject: |
|
|
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 |
|
 |
yaakovd |
Posted: Thu Apr 24, 2003 3:08 pm Post subject: |
|
|
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 |
|
 |
mqusr001 |
Posted: Wed Jul 14, 2004 3:13 pm Post subject: Messages being delivered twice? |
|
|
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 |
|
 |
|