Skip to content

GH-4013: TCP DSL Improvements #4015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 8, 2023
Merged

Conversation

garyrussell
Copy link
Contributor

Resolves #4013

Add Net/NIO specific Server/Client connection factory specs.

Resolves spring-projects#4013

Add Net/NIO specific Server/Client connection factory specs.
TcpNioClientConnectionFactory client = Tcp.nioClient("localhost", 0)
.tcpSocketSupport(sockSupp)
.usingDirectBuffers(true)
.tcpNioConnectionSupport(conSupp)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot we call methods as simple as socketSupport, connectionSupport and socketFactorySupport?
We are really in the context of Tcp.netClient builder or Tcp.nioClient, so it sounds redundant for me to mention tcp or nio in every method of the builder again.

@artembilan artembilan merged commit e8a9f95 into spring-projects:main Feb 8, 2023
@garyrussell garyrussell deleted the GH-4013 branch February 15, 2023 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spring Integration - TCP SSL Support via DSL
2 participants