You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by rvenkat23 <rv...@yahoo.com> on 2007/06/20 23:00:31 UTC

Same MessageId assigned Messages created at the same time...

Hi,

We are using ActiveMQ 4.1.1,  recently i found out that two messages created
by 2 different producer(s) at the same time are having the same messageid.
In this case one of the message is consumed by the listener (async) and the
other is not.   

Please let me know anyone faced the same behaviour and how to rectify it. 

Thanks,
venkatesh
-- 
View this message in context: http://www.nabble.com/Same-MessageId-assigned-Messages-created-at-the-same-time...-tf3955010s2354.html#a11222114
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Same MessageId assigned Messages created at the same time...

Posted by James Strachan <ja...@gmail.com>.
This does sound bizarre, as the message ID = producerID +
sequenceNumber. Are you positive that both your producers have the
same producer IDs?

On 6/20/07, rvenkat23 <rv...@yahoo.com> wrote:
>
> Here is the two message ids:
>
> ID:beprd02-46310-1181944109798-1:0:19:1:702
> ID:beprd02-46310-1181944109798-1:0:19:1:702
>
> Note: Whenever we change the status of an item, we place the message in the
> queue and these message ids and item id are logged into a table. Above are
> the item ids generated for two items 781796 and 781787.
>
> Thanks,
> Venkatesh.
>
>
> Joel Schaubert wrote:
> >
> >
> >
> > rvenkat23 wrote:
> >>
> >> recently i found out that two messages created by 2 different producer(s)
> >> at the same time are having the same messageid.
> >>
> >
> > can you post the message ID's that you are seeing?
> > Also how are you examining the messages to determine what their ID's are?
> >
> > Joel Schaubert
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Same-MessageId-assigned-Messages-created-at-the-same-time...-tf3955010s2354.html#a11223083
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
James
-------
http://macstrac.blogspot.com/

Re: Same MessageId assigned Messages created at the same time...

Posted by rvenkat23 <rv...@yahoo.com>.
Here is the two message ids:

ID:beprd02-46310-1181944109798-1:0:19:1:702
ID:beprd02-46310-1181944109798-1:0:19:1:702

Note: Whenever we change the status of an item, we place the message in the
queue and these message ids and item id are logged into a table. Above are
the item ids generated for two items 781796 and 781787.

Thanks,
Venkatesh.


Joel Schaubert wrote:
> 
> 
> 
> rvenkat23 wrote:
>> 
>> recently i found out that two messages created by 2 different producer(s)
>> at the same time are having the same messageid. 
>> 
> 
> can you post the message ID's that you are seeing?
> Also how are you examining the messages to determine what their ID's are?
> 
> Joel Schaubert
> 
> 

-- 
View this message in context: http://www.nabble.com/Same-MessageId-assigned-Messages-created-at-the-same-time...-tf3955010s2354.html#a11223083
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Same MessageId assigned Messages created at the same time...

Posted by Joel Schaubert <fo...@gmail.com>.


rvenkat23 wrote:
> 
> recently i found out that two messages created by 2 different producer(s)
> at the same time are having the same messageid. 
> 

can you post the message ID's that you are seeing?
Also how are you examining the messages to determine what their ID's are?

Joel Schaubert

-- 
View this message in context: http://www.nabble.com/Same-MessageId-assigned-Messages-created-at-the-same-time...-tf3955010s2354.html#a11222659
Sent from the ActiveMQ - User mailing list archive at Nabble.com.