GH-3520: Improve TcpConnectionInterceptor Javadocs
Resolves https://github.com/spring-projects/spring-integration/issues/3520
This commit is contained in:
committed by
Artem Bilan
parent
c13e40daab
commit
6f8290a0f6
@@ -96,6 +96,15 @@ public abstract class TcpConnectionInterceptorSupport extends TcpConnectionSuppo
|
||||
this.theConnection.registerSender(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p>
|
||||
* IMPORTANT: Do not override this method in your interceptor implementation if the
|
||||
* intercepted connection is created by a server connection factory, because the
|
||||
* connection id of the underlying connection is used for routing when arbitrary
|
||||
* outbound messaging is being used. The method is not final because client-side
|
||||
* interceptors can override it without any issues.
|
||||
*/
|
||||
@Override
|
||||
public String getConnectionId() {
|
||||
return this.theConnection.getConnectionId();
|
||||
|
||||
Reference in New Issue
Block a user