@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value=TYPE)
@Import(value={RequestCorrelationConfiguration.class,ClientHttpCorrelationConfiguration.class,FeignCorrelationConfiguration.class})
public @interface EnableRequestCorrelation
Enables automatic request correlation by assigning per each request unique identifier that afterwards is being
propagated through 'X-Request-Id' header.
By default the identifier will be generated using random UUID.
The header will be automatically propagated through any Spring configured RestTemplate bean or Feign client.
- See Also:
RequestCorrelation,
RequestCorrelationConfiguration,
CorrelationIdGenerator