Class BinderHeaders
java.lang.Object
org.springframework.cloud.stream.binder.BinderHeaders
Spring Integration message headers for Spring Cloud Stream.
- Author:
- Gary Russell, David Turanski, Soby Chacko
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIndicates that an incoming message has native headers.static final StringIndicates the target partition of an outbound message.static final StringIndicates the target partition of an outbound message.static final StringIndicates the Spring Cloud Stream version.static final String[]The headers that will be propagated, by default, by binder implementations that have no inherent header support (by embedding the headers in the payload).static final StringIndicates the name of the target destination the binder should use if they choose (or have capabilities) to optimize sending output messages to dynamic destinations. -
Method Summary
-
Field Details
-
STANDARD_HEADERS
The headers that will be propagated, by default, by binder implementations that have no inherent header support (by embedding the headers in the payload). -
TARGET_DESTINATION
Indicates the name of the target destination the binder should use if they choose (or have capabilities) to optimize sending output messages to dynamic destinations.
NOTE: The core framework only defines this header, but does nothing else. So it is up to binders to choose to support it or not. One can always rely onStreamBridgefor general cases of sending output messages to dynamic destinations.- See Also:
-
PARTITION_HEADER
Indicates the target partition of an outbound message. Binders must observe this value when sending data on the transport. This header is internally set by the framework when partitioning is configured. It may be overridden byPARTITION_OVERRIDEif set by the user.- See Also:
-
PARTITION_OVERRIDE
Indicates the target partition of an outbound message. Overrides any partition selected by the binder. This header takes precedence overPARTITION_HEADER.- See Also:
-
NATIVE_HEADERS_PRESENT
Indicates that an incoming message has native headers.- Since:
- 2.0
- See Also:
-
SCST_VERSION
Indicates the Spring Cloud Stream version. Used for determining if legacy content type check supported or not.- Since:
- 2.0
- See Also:
-