Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public class SenderContext<C> extends Observation.Context {
@Nullable
private C carrier;

@Nullable
private String remoteServiceName;

/**
* Creates a new instance of {@link SenderContext}.
* @param setter propagator setter
Expand Down Expand Up @@ -72,4 +75,17 @@ public Kind getKind() {
return kind;
}

@Nullable
public String getRemoteServiceName() {
return remoteServiceName;
}

/**
* Optional name for the service that will be called.
* @param remoteServiceName - name of the service that will be called
*/
public void setRemoteServiceName(@Nullable String remoteServiceName) {
this.remoteServiceName = remoteServiceName;
}

}