Package org.springframework.amqp.core
Class UUIDNamingStrategy
- java.lang.Object
-
- org.springframework.amqp.core.UUIDNamingStrategy
-
- All Implemented Interfaces:
NamingStrategy
public class UUIDNamingStrategy extends 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()
-
-
-
Field Detail
-
DEFAULT
public static final UUIDNamingStrategy DEFAULT
The default instance.
-
-
Method Detail
-
generateName
public String generateName()
- Specified by:
generateName
in interfaceNamingStrategy
-
-