Made TraceFilter.ORDER public

fixes #569
This commit is contained in:
Marcin Grzejszczak
2017-04-20 09:33:34 +02:00
parent 165a6ac1ba
commit 115ace8bcc

View File

@@ -73,7 +73,12 @@ public class TraceFilter extends GenericFilterBean {
private static final String HTTP_COMPONENT = "http";
protected static final int ORDER = Ordered.HIGHEST_PRECEDENCE + 5;
/**
* If you register your filter before the {@link TraceFilter} then you will not
* have the tracing context passed for you out of the box. That means that e.g. your
* logs will not get correlated.
*/
public static final int ORDER = Ordered.HIGHEST_PRECEDENCE + 5;
protected static final String TRACE_REQUEST_ATTR = TraceFilter.class.getName()
+ ".TRACE";