public class SpanJmsDecorator extends Object
| Constructor and Description |
|---|
SpanJmsDecorator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
onError(Throwable throwable,
io.opentracing.Span span)
Decorate span on an error e.g.
|
static void |
onRequest(javax.jms.Destination destination,
io.opentracing.Span span)
Decorate span before a request is made.
|
static void |
onResponse(javax.jms.Message message,
io.opentracing.Span span)
Decorate span after request is made.
|
public static void onRequest(javax.jms.Destination destination,
io.opentracing.Span span)
destination - destinationspan - spanpublic static void onResponse(javax.jms.Message message,
io.opentracing.Span span)
message - messagespan - spanpublic static void onError(Throwable throwable, io.opentracing.Span span)
UnknownHostException or any exception in
interceptor.throwable - exceptionspan - spanCopyright © 2017-2018–2018. All rights reserved.