Moved the @Header annotation from the 'org.springframework.integration.handler.annotation' to the 'org.springframework.integration.annotation' package.
This commit is contained in:
@@ -31,9 +31,7 @@ import java.lang.annotation.Target;
|
||||
* Message payload's type. Any type conversion supported by
|
||||
* {@link org.springframework.beans.SimpleTypeConverter} will be applied to
|
||||
* the Message payload if necessary. Header values can also be passed as
|
||||
* Message parameters by using the
|
||||
* {@link org.springframework.integration.handler.annotation.Header @Header}
|
||||
* parameter annotation.
|
||||
* Message parameters by using the {@link Header @Header} parameter annotation.
|
||||
* <p>
|
||||
* Return values from the annotated method may be of any type. If the return
|
||||
* value is not a Message, a reply Message will be created with that object
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.integration.handler.annotation;
|
||||
package org.springframework.integration.annotation;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
@@ -32,9 +32,7 @@ import java.lang.annotation.Target;
|
||||
* Message payload's type. Any type conversion supported by
|
||||
* {@link org.springframework.beans.SimpleTypeConverter} will be applied to
|
||||
* the Message payload if necessary. Header values can also be passed as
|
||||
* Message parameters by using the
|
||||
* {@link org.springframework.integration.handler.annotation.Header @Header}
|
||||
* parameter annotation.
|
||||
* Message parameters by using the {@link Header @Header} parameter annotation.
|
||||
* <p>
|
||||
* Return values from the annotated method may be either a Collection or Array
|
||||
* whose elements are either
|
||||
|
||||
@@ -31,9 +31,7 @@ import java.lang.annotation.Target;
|
||||
* Message payload's type. Any type conversion supported by
|
||||
* {@link org.springframework.beans.SimpleTypeConverter} will be applied to
|
||||
* the Message payload if necessary. Header values can also be passed as
|
||||
* Message parameters by using the
|
||||
* {@link org.springframework.integration.handler.annotation.Header @Header}
|
||||
* parameter annotation.
|
||||
* Message parameters by using the {@link Header @Header} parameter annotation.
|
||||
* <p>
|
||||
* Return values from the annotated method may be either a Collection or Array
|
||||
* with elements of any type. If the type is not a Message, each will be used
|
||||
|
||||
@@ -24,6 +24,7 @@ import org.springframework.core.GenericTypeResolver;
|
||||
import org.springframework.core.LocalVariableTableParameterNameDiscoverer;
|
||||
import org.springframework.core.MethodParameter;
|
||||
import org.springframework.core.ParameterNameDiscoverer;
|
||||
import org.springframework.integration.annotation.Header;
|
||||
import org.springframework.integration.message.Message;
|
||||
import org.springframework.integration.message.MessageHandlingException;
|
||||
import org.springframework.integration.message.MessageHeaders;
|
||||
|
||||
Reference in New Issue
Block a user