parent
128a119077
commit
ea566b19a5
|
|
@ -51,7 +51,11 @@ public class RabbitMQConsumerInterceptor implements InstanceMethodsAroundInterce
|
|||
CarrierItem next = contextCarrier.items();
|
||||
while (next.hasNext()) {
|
||||
next = next.next();
|
||||
next.setHeadValue(properties.getHeaders().get(next.getHeadKey()).toString());
|
||||
if (properties.getHeaders() != null && properties.getHeaders().get(next.getHeadKey()) != null) {
|
||||
next.setHeadValue(properties.getHeaders().get(next.getHeadKey()).toString());
|
||||
} else {
|
||||
next.setHeadValue("");
|
||||
}
|
||||
}
|
||||
ContextManager.extract(contextCarrier);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue