diff --git a/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/BinderHeaders.java b/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/BinderHeaders.java index bc2d333b4d..1b5afb10ed 100644 --- a/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/BinderHeaders.java +++ b/core/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/BinderHeaders.java @@ -43,7 +43,7 @@ public final class BinderHeaders { /** * Name of the Message header identifying structure for batch Message headers. */ - public static String BATCH_HEADERS = PREFIX + "batchHeaders"; + public static final String BATCH_HEADERS = PREFIX + "batchHeaders"; /** * Indicates the name of the target destination the binder should use if they