Skip to content

Commit 9a5607c

Browse files
committed
* Fix Namespace Factory wording in the BaseIntegrationFlowDefinition Javadocs
1 parent a5cdc80 commit 9a5607c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

spring-integration-core/src/main/java/org/springframework/integration/dsl/BaseIntegrationFlowDefinition.java

+10-6
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,8 @@ public <P> B filter(@Nullable Class<P> expectedType, GenericSelector<P> genericS
893893

894894
/**
895895
* Populate a {@link ServiceActivatingHandler} for the selected protocol specific
896-
* {@link MessageHandler} implementation from {@code Namespace Factory}:
896+
* {@link MessageHandler} implementation
897+
* from the respective namespace factory (e.g. {@code Http, Kafka, Files}):
897898
* <pre class="code">
898899
* {@code
899900
* .handle(Amqp.outboundAdapter(this.amqpTemplate).routingKeyExpression("headers.routingKey"))
@@ -1099,7 +1100,8 @@ public B handle(MessageProcessorSpec<?> messageProcessorSpec,
10991100

11001101
/**
11011102
* Populate a {@link ServiceActivatingHandler} for the selected protocol specific
1102-
* {@link MessageHandler} implementation from {@code Namespace Factory}:
1103+
* {@link MessageHandler} implementation
1104+
* from the respective namespace factory (e.g. {@code Http, Kafka, Files}).
11031105
* In addition, accept options for the integration endpoint using {@link GenericEndpointSpec}.
11041106
* Typically, used with a Lambda expression:
11051107
* <pre class="code">
@@ -1223,7 +1225,7 @@ public B enrich(Consumer<EnricherSpec> enricherConfigurer) {
12231225
* Populate a {@link MessageTransformingHandler} for
12241226
* a {@link org.springframework.integration.transformer.HeaderEnricher}
12251227
* using header values from provided {@link MapBuilder}.
1226-
* Can be used together with {@code Namespace Factory}:
1228+
* Can be used together with a namespace factory:
12271229
* <pre class="code">
12281230
* {@code
12291231
* .enrichHeaders(Mail.headers()
@@ -1244,7 +1246,7 @@ public B enrichHeaders(MapBuilder<?, String, Object> headers) {
12441246
* a {@link org.springframework.integration.transformer.HeaderEnricher}
12451247
* using header values from provided {@link MapBuilder}.
12461248
* In addition, accept options for the integration endpoint using {@link GenericEndpointSpec}.
1247-
* Can be used together with {@code Namespace Factory}:
1249+
* Can be used together with a namespace factory:
12481250
* <pre class="code">
12491251
* {@code
12501252
* .enrichHeaders(Mail.headers()
@@ -2920,7 +2922,8 @@ public IntegrationFlow nullChannel() {
29202922

29212923
/**
29222924
* Populate a terminal consumer endpoint for the selected protocol specific
2923-
* {@link MessageHandler} implementation from {@code Namespace Factory}:
2925+
* {@link MessageHandler} implementation
2926+
* from the respective namespace factory (e.g. {@code Http, Kafka, Files}).
29242927
* In addition, accept options for the integration endpoint using {@link GenericEndpointSpec}.
29252928
* @param messageHandlerSpec the {@link MessageHandlerSpec} to configure protocol specific
29262929
* {@link MessageHandler}.
@@ -2936,7 +2939,8 @@ public <H extends ReactiveMessageHandler> IntegrationFlow handleReactive(
29362939

29372940
/**
29382941
* Populate a terminal consumer endpoint for the selected protocol specific
2939-
* {@link MessageHandler} implementation from {@code Namespace Factory}:
2942+
* {@link MessageHandler} implementation
2943+
* from the respective namespace factory (e.g. {@code Http, Kafka, Files}).
29402944
* In addition, accept options for the integration endpoint using {@link GenericEndpointSpec}.
29412945
* @param messageHandlerSpec the {@link MessageHandlerSpec} to configure protocol specific
29422946
* {@link MessageHandler}.

0 commit comments

Comments
 (0)