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
9 changes: 3 additions & 6 deletions src/main/java/com/rabbitmq/client/ConnectionFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -1382,9 +1382,8 @@ public Connection newConnection(
* @deprecated user {@link #netty()} instead
*/
@Deprecated
public ConnectionFactory setNioParams(NioParams nioParams) {
public void setNioParams(NioParams nioParams) {
this.nioParams = nioParams;
return this;
}

/**
Expand Down Expand Up @@ -1415,20 +1414,18 @@ public NioParams getNioParams() {
* @deprecated Use {@link #netty()} instead
*/
@Deprecated
public ConnectionFactory useNio() {
public void useNio() {
this.nio = true;
this.netty = false;
return this;
}

/**
* Use blocking IO for communication with the server. With blocking IO, each connection creates
* its own thread to read data from the server.
*/
public ConnectionFactory useBlockingIo() {
public void useBlockingIo() {
this.nio = false;
this.netty = false;
return this;
}

/**
Expand Down