diff --git a/spring-integration-core/src/main/java/org/springframework/integration/annotation/Default.java b/spring-integration-core/src/main/java/org/springframework/integration/annotation/Default.java index 7596d2eb82..9885422841 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/annotation/Default.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/annotation/Default.java @@ -16,13 +16,8 @@ package org.springframework.integration.annotation; -import static java.lang.annotation.ElementType.CONSTRUCTOR; -import static java.lang.annotation.ElementType.FIELD; -import static java.lang.annotation.ElementType.METHOD; -import static java.lang.annotation.ElementType.PARAMETER; -import static java.lang.annotation.ElementType.TYPE; - import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @@ -40,7 +35,7 @@ import java.lang.annotation.Target; * * @since 5.0 */ -@Target({TYPE, FIELD, METHOD, PARAMETER, CONSTRUCTOR}) +@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.CONSTRUCTOR}) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface Default { diff --git a/spring-integration-ws/src/main/java/org/springframework/integration/ws/SimpleWebServiceOutboundGateway.java b/spring-integration-ws/src/main/java/org/springframework/integration/ws/SimpleWebServiceOutboundGateway.java index a3825c12b0..36b54faad3 100644 --- a/spring-integration-ws/src/main/java/org/springframework/integration/ws/SimpleWebServiceOutboundGateway.java +++ b/spring-integration-ws/src/main/java/org/springframework/integration/ws/SimpleWebServiceOutboundGateway.java @@ -85,8 +85,11 @@ public class SimpleWebServiceOutboundGateway extends AbstractWebServiceOutboundG } /** - * - * @param extractPayload + * A flag to return the whole {@link WebServiceMessage} or build + * {@code payload} based on {@link WebServiceMessage} + * and populated headers according {@code headerMapper} configuration. + * Defaults to extract payload. + * @param extractPayload build payload or return a whole {@link WebServiceMessage} * @since 5.0 */ public void setExtractPayload(boolean extractPayload) {