You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RSocket requests: Add per message metadata support
* Use convenient `Consumer` API to avoid external iteration for
`setupMetadata` in the `ClientRSocketConnector`
* Add `routeVars` and `metadata` support into the `RSocketOutboundGateway`
* Cover new options in the XML and Java DSL configurations
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/ClientRSocketConnector.java
+3-5
Original file line number
Diff line number
Diff line change
@@ -153,7 +153,7 @@ public void setSetupData(Object setupData) {
153
153
publicvoidafterPropertiesSet() {
154
154
super.afterPropertiesSet();
155
155
156
-
RSocketRequester.BuilderrsocketRequesterBuilder =
156
+
this.rsocketRequesterMono =
157
157
RSocketRequester.builder()
158
158
.dataMimeType(getDataMimeType())
159
159
.metadataMimeType(getMetadataMimeType())
@@ -162,10 +162,8 @@ public void afterPropertiesSet() {
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/config/RSocketOutboundGatewayParser.java
+1
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ protected BeanDefinitionBuilder parseHandler(Element element, ParserContext pars
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/dsl/RSocketOutboundGatewaySpec.java
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/outbound/RSocketOutboundGateway.java
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/main/resources/org/springframework/integration/rsocket/config/spring-integration-rsocket-5.2.xsd
+9-1
Original file line number
Diff line number
Diff line change
@@ -180,7 +180,7 @@
180
180
<xsd:annotation>
181
181
<xsd:documentation>
182
182
A SpEL expression to evaluate a 'Class' or 'ParameterizedTypeReference'
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/config/RSocketOutboundGatewayParserTests-context.xml
+2-1
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@
21
21
route-expression="'testRoute'"
22
22
request-channel="requestChannel"
23
23
publisher-element-type="byte[]"
24
-
expected-response-type="java.util.Date"/>
24
+
expected-response-type="java.util.Date"
25
+
metadata-expression="{'metadata': new org.springframework.util.MimeType('*')}"/>
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/test/java/org/springframework/integration/rsocket/config/RSocketOutboundGatewayParserTests.java
0 commit comments