Fix RSocket parser tests for https://example.com

The `http://example.org` is not white-listed in `nohttp` and it
doesn't resolve SSL handshake on HTTPS schema

* Add `@Deprecated` into `SimpleMessageListenerContainerSpec.txSize()`
This commit is contained in:
Artem Bilan
2019-06-27 11:53:31 -04:00
parent 1aea280cc9
commit 77954966cb
3 changed files with 3 additions and 2 deletions

View File

@@ -113,6 +113,7 @@ public class SimpleMessageListenerContainerSpec extends
* @see SimpleMessageListenerContainer#setBatchSize(int)
* @deprecated since 5.2 in favor of {@link #batchSize(int)}
*/
@Deprecated
public SimpleMessageListenerContainerSpec txSize(int txSize) {
return batchSize(txSize);
}

View File

@@ -8,7 +8,7 @@
http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd">
<bean id="clientRSocketConnector" class="org.springframework.integration.rsocket.ClientRSocketConnector">
<constructor-arg value="http://example.org"/>
<constructor-arg value="https://example.com"/>
<property name="autoStartup" value="false"/>
</bean>

View File

@@ -8,7 +8,7 @@
http://www.springframework.org/schema/integration https://www.springframework.org/schema/integration/spring-integration.xsd">
<bean id="clientRSocketConnector" class="org.springframework.integration.rsocket.ClientRSocketConnector">
<constructor-arg value="http://example.org"/>
<constructor-arg value="https://example.com"/>
<property name="autoStartup" value="false"/>
</bean>