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
* Deprecate `RSocketOutboundGateway.Command` in favor of newly introduced
top level `RSocketInteractionModel`
* Deprecate setter, DSL and XML configurations for the deprecated
`RSocketOutboundGateway.Command` in favor of newly introduced configurators
for the mentioned `RSocketInteractionModel`
* Add `IntegrationRSocketEndpoint.getInteractionModels()` contract for
inbound endpoints.
This way we can restrict mapped endpoints to the particular interaction
model(s)
* Add DSL and XML configuration for inbound interaction model option
* Document changes
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/IntegrationRSocketEndpoint.java
+11
Original file line number
Diff line number
Diff line change
@@ -39,4 +39,15 @@ public interface IntegrationRSocketEndpoint extends ReactiveMessageHandler {
39
39
*/
40
40
String[] getPath();
41
41
42
+
/**
43
+
* Obtain {@link RSocketInteractionModel}s
44
+
* this {@link ReactiveMessageHandler} is going to be mapped onto.
45
+
* Defaults to all the {@link RSocketInteractionModel}s.
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/IntegrationRSocketMessageHandler.java
+12-5
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@
17
17
packageorg.springframework.integration.rsocket;
18
18
19
19
importjava.lang.reflect.Method;
20
+
importjava.util.Arrays;
20
21
importjava.util.Collections;
21
22
importjava.util.List;
22
23
@@ -79,13 +80,19 @@ public boolean detectEndpoints() {
Copy file name to clipboardExpand all lines: spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/config/RSocketInboundGatewayParser.java
+6-3
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2019 the original author or authors.
2
+
* Copyright 2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -29,13 +29,15 @@
29
29
/**
30
30
* Parser for the <inbound-gateway/> element of the 'rsocket' namespace.
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
@@ -49,6 +49,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/RSocketInboundGatewaySpec.java
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/inbound/RSocketInboundGateway.java
0 commit comments