You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/reference/asciidoc/message.adoc
+41-41Lines changed: 41 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,30 +75,30 @@ The following table describes the pre-defined message headers:
75
75
| Header Type
76
76
| Usage
77
77
78
-
| `MessageHeaders.ID`
78
+
| MessageHeaders.ID
79
79
| java.util.UUID
80
80
| An identifier for this message instance.
81
81
Changes each time a message is mutated.
82
82
83
-
| `MessageHeaders.
84
-
TIMESTAMP`
83
+
| MessageHeaders.
84
+
TIMESTAMP
85
85
| java.lang.Long
86
86
| The time the message was created.
87
87
Changes each time a message is mutated.
88
88
89
-
| `MessageHeaders.
90
-
REPLY_CHANNEL`
91
-
| `java.lang.Object`
92
-
(`String` or
93
-
`MessageChannel`)
89
+
| MessageHeaders.
90
+
REPLY_CHANNEL
91
+
| java.lang.Object
92
+
(String or
93
+
MessageChannel)
94
94
| A channel to which a reply (if any) is sent when no explicit output channel is configured and there is no `ROUTING_SLIP` or the `ROUTING_SLIP` is exhausted.
95
95
If the value is a `String`, it must represent a bean name or have been generated by a `ChannelRegistry.`
96
96
97
97
| MessageHeaders.
98
98
ERROR_CHANNEL
99
-
| `java.lang.Object`
100
-
(`String` or
101
-
`MessageChannel`)
99
+
| java.lang.Object
100
+
(String or
101
+
MessageChannel)
102
102
| A channel to which errors are sent.
103
103
If the value is a `String`, it must represent a bean name or have been generated by a `ChannelRegistry.`
104
104
|===
@@ -120,56 +120,56 @@ The following table describes the pre-defined message headers:
120
120
| Header Type
121
121
| Usage
122
122
123
-
| `IntegrationMessageHeaderAccessor.
124
-
CORRELATION_ID`
125
-
| `java.lang.Object`
123
+
| IntegrationMessageHeaderAccessor.
124
+
CORRELATION_ID
125
+
| java.lang.Object
126
126
| Used to correlate two or more messages.
127
127
128
-
| `IntegrationMessageHeaderAccessor.
129
-
SEQUENCE_NUMBER`
130
-
| `java.lang.Integer`
128
+
| IntegrationMessageHeaderAccessor.
129
+
SEQUENCE_NUMBER
130
+
| java.lang.Integer
131
131
| Usually a sequence number with a group of messages with a `SEQUENCE_SIZE` but can also be used in a `<resequencer/>` to resequence an unbounded group of messages.
132
132
133
-
| `IntegrationMessageHeaderAccessor.
134
-
SEQUENCE_SIZE`
135
-
| `java.lang.Integer`
133
+
| IntegrationMessageHeaderAccessor.
134
+
SEQUENCE_SIZE
135
+
| java.lang.Integer
136
136
| The number of messages within a group of correlated messages.
137
137
138
-
| `IntegrationMessageHeaderAccessor.
139
-
EXPIRATION_DATE`
140
-
| `java.lang.Long`
138
+
| IntegrationMessageHeaderAccessor.
139
+
EXPIRATION_DATE
140
+
| java.lang.Long
141
141
| Indicates when a message is expired.
142
142
Not used by the framework directly but can be set with a header enricher and used in a `<filter/>` that is configured with an `UnexpiredMessageSelector`.
143
143
144
-
| `IntegrationMessageHeaderAccessor.
145
-
PRIORITY`
146
-
| `java.lang.Integer`
144
+
| IntegrationMessageHeaderAccessor.
145
+
PRIORITY
146
+
| java.lang.Integer
147
147
| Message priority -- for example, within a `PriorityChannel`.
148
148
149
149
150
-
| `IntegrationMessageHeaderAccessor.
151
-
DUPLICATE_MESSAGE`
152
-
| `java.lang.Boolean`
150
+
| IntegrationMessageHeaderAccessor.
151
+
DUPLICATE_MESSAGE
152
+
| java.lang.Boolean
153
153
| True if a message was detected as a duplicate by an idempotent receiver interceptor.
154
154
See <<idempotent-receiver>>.
155
155
156
-
| `IntegrationMessageHeaderAccessor.
157
-
CLOSEABLE_RESOURCE`
158
-
| `java.io.Closeable`
156
+
| IntegrationMessageHeaderAccessor.
157
+
CLOSEABLE_RESOURCE
158
+
| java.io.Closeable
159
159
| This header is present if the message is associated with a `Closeable` that should be closed when message processing is complete.
160
160
An example is the `Session` associated with a streamed file transfer using FTP, SFTP, and so on.
161
161
162
-
| `IntegrationMessageHeaderAccessor.
163
-
DELIVERY_ATTEMPT`
164
-
| `java.lang.`
165
-
`AtomicInteger`
162
+
| IntegrationMessageHeaderAccessor.
163
+
DELIVERY_ATTEMPT
164
+
| java.lang.
165
+
AtomicInteger
166
166
| If a message-driven channel adapter supports the configuration of a `RetryTemplate`, this header contains the current delivery attempt.
167
167
168
-
| `IntegrationMessageHeaderAccessor.
169
-
ACKNOWLEDGMENT_CALLBACK`
170
-
| `o.s.i.support.`
171
-
`Acknowledgment`
172
-
`Callback`
168
+
| IntegrationMessageHeaderAccessor.
169
+
ACKNOWLEDGMENT_CALLBACK
170
+
| o.s.i.support.
171
+
Acknowledgment
172
+
Callback
173
173
| If a message source supports it, a call back to accept, reject, or requeue a message.
0 commit comments