Fix "spring.integration.rsocket" canonical name

See gh-18834
This commit is contained in:
Brian Clozel 2020-03-03 15:50:43 +01:00
parent 3967e76b9b
commit ea45d8ef25
2 changed files with 3 additions and 3 deletions

View File

@ -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());

View File

@ -40,7 +40,7 @@ public class IntegrationProperties {
return this.jdbc;
}
public RSocket getRSocket() {
public RSocket getRsocket() {
return this.rsocket;
}