headers property

Map<String, String> headers
final

Metadata carried alongside the body.

Correlation headers ride here, so a message published during a request stays on that request's trace when it is handled — possibly minutes later, in another process.

Implementation

final Map<String, String> headers;