[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Why do messages destined for paging not get assigned mes

clebert.suconic@jboss.com do-not-reply at jboss.com
Mon Sep 29 10:19:11 EDT 2008


You would need to start the server at the exact same millisecond you started 368 days ago, and still have those IDs not consumed to get a duplicated ID (very unlikely).

But as I don't really mind,  I have changed it to ignore the latest byte instead of the first byte. The ID generator will be valid as long as you can't generate more than 268435455 messages per 250 milliseconds (the FF part at the end).

And the IDGenerator will be valid only until 0xEFFFFFFFFFF (Mon Aug 18 04:26:56 GMT-06:00 2492). :-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179390#4179390

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179390



More information about the jboss-dev-forums mailing list