Class UUIDCorrelationIdHandler
java.lang.Object
io.smallrye.reactive.messaging.kafka.reply.UUIDCorrelationIdHandler
- All Implemented Interfaces:
CorrelationIdHandler
@ApplicationScoped
@Identifier("uuid")
public class UUIDCorrelationIdHandler
extends Object
implements CorrelationIdHandler
-
Constructor Details
-
UUIDCorrelationIdHandler
public UUIDCorrelationIdHandler()
-
-
Method Details
-
generate
Description copied from interface:CorrelationIdHandlerGenerates a correlation ID for the given request message.- Specified by:
generatein interfaceCorrelationIdHandler- Parameters:
request- the request message to generate the correlation ID for- Returns:
- the generated correlation ID
-
parse
Description copied from interface:CorrelationIdHandlerParses a correlation ID from the given byte array.- Specified by:
parsein interfaceCorrelationIdHandler- Parameters:
bytes- the byte array from which to parse the correlation ID- Returns:
- the parsed correlation ID
-