public static class MessageHeaders.AlternativeJdkIdGenerator extends java.lang.Object implements MessageHeaders.IdGenerator
UUID.randomUUID()
that uses SecureRandom
only for
the initial seed and Random
thereafter, which provides better performance
in exchange for less securely random id's.Constructor and Description |
---|
MessageHeaders.AlternativeJdkIdGenerator() |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
generateId() |
public MessageHeaders.AlternativeJdkIdGenerator()
public java.util.UUID generateId()
generateId
in interface MessageHeaders.IdGenerator