mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Fix "spring.integration.rsocket" canonical name
See gh-18834
This commit is contained in:
parent
3967e76b9b
commit
ea45d8ef25
@ -194,7 +194,7 @@ public class IntegrationAutoConfiguration {
|
||||
IntegrationProperties integrationProperties) {
|
||||
|
||||
RSocketMessageHandler messageHandler = new ServerRSocketMessageHandler(
|
||||
integrationProperties.getRSocket().getServer().isMessageMappingEnabled());
|
||||
integrationProperties.getRsocket().getServer().isMessageMappingEnabled());
|
||||
messageHandler.setRSocketStrategies(rSocketStrategies);
|
||||
return messageHandler;
|
||||
}
|
||||
@ -216,7 +216,7 @@ public class IntegrationAutoConfiguration {
|
||||
public ClientRSocketConnector clientRSocketConnector(IntegrationProperties integrationProperties,
|
||||
RSocketStrategies rSocketStrategies) {
|
||||
|
||||
IntegrationProperties.RSocket.Client client = integrationProperties.getRSocket().getClient();
|
||||
IntegrationProperties.RSocket.Client client = integrationProperties.getRsocket().getClient();
|
||||
ClientRSocketConnector clientRSocketConnector = (client.getUri() != null)
|
||||
? new ClientRSocketConnector(client.getUri())
|
||||
: new ClientRSocketConnector(client.getHost(), client.getPort());
|
||||
|
@ -40,7 +40,7 @@ public class IntegrationProperties {
|
||||
return this.jdbc;
|
||||
}
|
||||
|
||||
public RSocket getRSocket() {
|
||||
public RSocket getRsocket() {
|
||||
return this.rsocket;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user