Some polishing for RSocket support
This commit is contained in:
@@ -136,7 +136,7 @@ class IntegrationRSocketAcceptor extends RSocketMessageHandler
|
||||
Assert.notNull(dataMimeType, "No `dataMimeType` in the ConnectionSetupPayload and no default value");
|
||||
|
||||
MimeType metadataMimeType =
|
||||
StringUtils.hasText(setupPayload.dataMimeType())
|
||||
StringUtils.hasText(setupPayload.metadataMimeType())
|
||||
? MimeTypeUtils.parseMimeType(setupPayload.metadataMimeType())
|
||||
: this.defaultMetadataMimeType;
|
||||
Assert.notNull(dataMimeType, "No `metadataMimeType` in the ConnectionSetupPayload and no default value");
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
<bean id="clientRSocketConnector" class="org.springframework.integration.rsocket.ClientRSocketConnector">
|
||||
<constructor-arg value="https://example.org"/>
|
||||
<property name="autoStartup" value="false"/>
|
||||
</bean>
|
||||
|
||||
<bean id="rsocketStrategies" class="org.mockito.Mockito" factory-method="mock">
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
<bean id="clientRSocketConnector" class="org.springframework.integration.rsocket.ClientRSocketConnector">
|
||||
<constructor-arg value="https://example.org"/>
|
||||
<property name="autoStartup" value="false"/>
|
||||
</bean>
|
||||
|
||||
<int:channel id="requestChannel"/>
|
||||
|
||||
Reference in New Issue
Block a user