Interface CorrelationIdHandler
- All Known Implementing Classes:
BytesCorrelationIdHandler,UUIDCorrelationIdHandler
public interface CorrelationIdHandler
Generates and parses correlation IDs for request messages
CDI-managed beans that implement this interface are discovered using
the Identifier qualifier to be configured.
- See Also:
-
Method Details
-
generate
Generates a correlation ID for the given request message.- Parameters:
request- the request message to generate the correlation ID for- Returns:
- the generated correlation ID
-
parse
Parses a correlation ID from the given byte array.- Parameters:
bytes- the byte array from which to parse the correlation ID- Returns:
- the parsed correlation ID
-