public static class AnonymousQueue.Base64UrlNamingStrategy extends java.lang.Object implements AnonymousQueue.NamingStrategy
<prefix><base64url>
where
'prefix' is 'spring.gen-' by default
(e.g. spring.gen-eIwaZAYgQv6LvwaDCfVTNQ);
the 'base64url' String is generated from a UUID. The base64 alphabet
is the "URL and Filename Safe Alphabet"; see RFC-4648. Trailing padding
characters (@code =) are removed.Modifier and Type | Field and Description |
---|---|
static AnonymousQueue.Base64UrlNamingStrategy |
DEFAULT
The default instance - using
spring.gen- as the prefix. |
Constructor and Description |
---|
Base64UrlNamingStrategy()
Construct an instance using the default prefix
spring.gen- . |
Base64UrlNamingStrategy(java.lang.String prefix)
Construct an instance using the supplied prefix.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateName() |
public static final AnonymousQueue.Base64UrlNamingStrategy DEFAULT
spring.gen-
as the prefix.public Base64UrlNamingStrategy()
spring.gen-
.public Base64UrlNamingStrategy(java.lang.String prefix)
prefix
- The prefix.public java.lang.String generateName()
generateName
in interface AnonymousQueue.NamingStrategy