Package org.springframework.amqp.core
Class UUIDNamingStrategy
- java.lang.Object
-
- org.springframework.amqp.core.UUIDNamingStrategy
-
- All Implemented Interfaces:
NamingStrategy
public class UUIDNamingStrategy extends java.lang.Object implements NamingStrategy
Generates names usingUUID.randomUUID()
. (e.g. "f20c818a-006b-4416-bf91-643590fedb0e").- Since:
- 2.1
- Author:
- Gary Russell
-
-
Field Summary
Fields Modifier and Type Field Description static UUIDNamingStrategy
DEFAULT
The default instance.
-
Constructor Summary
Constructors Constructor Description UUIDNamingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateName()
-
-
-
Field Detail
-
DEFAULT
public static final UUIDNamingStrategy DEFAULT
The default instance.
-
-
Method Detail
-
generateName
public java.lang.String generateName()
- Specified by:
generateName
in interfaceNamingStrategy
-
-