diff --git a/spring-integration-core/src/main/java/org/springframework/integration/dsl/IntegrationFlow.java b/spring-integration-core/src/main/java/org/springframework/integration/dsl/IntegrationFlow.java index 97a5b667a1..8c7085a3e6 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/dsl/IntegrationFlow.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/dsl/IntegrationFlow.java @@ -25,7 +25,7 @@ import org.springframework.messaging.MessageChannel; *

* The {@link StandardIntegrationFlow} implementation (produced by {@link IntegrationFlowBuilder}) * represents a container for the integration components, which will be registered - * in the application context. Typically is used as a {@code @Bean} definition: + * in the application context. Typically, is used as a {@code @Bean} definition: *

  *  @Bean
  *  public IntegrationFlow fileReadingFlow() {
@@ -47,12 +47,12 @@ import org.springframework.messaging.MessageChannel;
  *                              .subFlowMapping(true, sf -> sf.<Integer>handle((p, h) -> p * 2))
  *                              .subFlowMapping(false, sf -> sf.<Integer>handle((p, h) -> p * 3)))
  *               .aggregate()
- *               .channel(MessageChannels..queue("routerTwoSubFlowsOutput"));
+ *               .channel(MessageChannels.queue("routerTwoSubFlowsOutput"));
  * }
  *
  * 
*

- * Also this interface can be implemented directly to encapsulate the integration logic + * Also, this interface can be implemented directly to encapsulate the integration logic * in the target service: *

  *  @Component
@@ -86,7 +86,7 @@ public interface IntegrationFlow {
 
 	/**
 	 * Return the first {@link MessageChannel} component
-	 * which is essential a flow input channel.
+	 * which is essentially a flow input channel.
 	 * @return the channel.
 	 * @since 5.0.4
 	 */