pjklauser / bridgemq

Trusted Domain Messaging eXchange
0 stars 1 forks source link

IdGenerator service #41

Closed pjklauser closed 9 years ago

pjklauser commented 9 years ago

non transactional ObjectIdGeneratorService on top of MaxValue service which increments in steps of 1000(config).

configured to use specific "key" of maxvalue - "objectId" add a check digit - using the UPC algorithm. http://en.wikipedia.org/wiki/Check_digit#UPC

ObjectIdCheckService boolean isValid( Long value )