ru.yandex.qatools.camelot.api.annotations.InjectHeader Maven / Gradle / Ivy
package ru.yandex.qatools.camelot.api.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Indicates that a field of a state machine should have the value of an exchange header with name value.
* @author Ilya Sadykov (mailto: [email protected])
*/
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface InjectHeader {
public String value();
}