|
|
|
@ -121,9 +121,9 @@ public class RabbitProperties {
|
|
|
|
|
private Duration connectionTimeout;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Channel RPC timeout.
|
|
|
|
|
* Continuation timeout for RPC calls in channels. Set it to zero to wait forever.
|
|
|
|
|
*/
|
|
|
|
|
private Duration channelRpcTimeout;
|
|
|
|
|
private Duration channelRpcTimeout = Duration.ofMinutes(10);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Cache configuration.
|
|
|
|
@ -329,10 +329,6 @@ public class RabbitProperties {
|
|
|
|
|
return this.connectionTimeout;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Duration getChannelRpcTimeout() {
|
|
|
|
|
return this.channelRpcTimeout;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setPublisherConfirmType(ConfirmType publisherConfirmType) {
|
|
|
|
|
this.publisherConfirmType = publisherConfirmType;
|
|
|
|
|
}
|
|
|
|
@ -345,6 +341,10 @@ public class RabbitProperties {
|
|
|
|
|
this.connectionTimeout = connectionTimeout;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Duration getChannelRpcTimeout() {
|
|
|
|
|
return this.channelRpcTimeout;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setChannelRpcTimeout(Duration channelRpcTimeout) {
|
|
|
|
|
this.channelRpcTimeout = channelRpcTimeout;
|
|
|
|
|
}
|
|
|
|
|