Upgrade some dependencies

* Remove already redundant `parentObservation` population in the `AbstractMessageChannel`:
now it is handled properly by the `SimpleObservation` ctor
This commit is contained in:
abilan
2023-02-14 15:01:42 -05:00
parent e8a9f95ca1
commit 4cd1085f94
2 changed files with 12 additions and 13 deletions

View File

@@ -335,7 +335,6 @@ public abstract class AbstractMessageChannel extends IntegrationObjectSupport
DefaultMessageSenderObservationConvention.INSTANCE,
() -> new MessageSenderContext(messageToSend, getComponentName()),
this.observationRegistry)
.parentObservation(this.observationRegistry.getCurrentObservation()) // TODO until the fix in micrometer-observation
.observe(() -> sendInternal(messageToSend, timeout));
}