Skip to content

Commit 48ae91e

Browse files
garyrussellartembilan
authored andcommitted

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

src/reference/asciidoc/message.adoc

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -195,16 +195,17 @@ The following table describes headers that also appear in the `IntegrationMessag
195195
| Header Type
196196
| Usage
197197

198-
| `IntegrationMessageHeaderAccessor.
199-
SEQUENCE_DETAILS`
200-
| `java.util.`
201-
`List<List<Object>>`
202-
| A stack of correlation data used when nested correlation is needed (for example, `splitter->...->splitter->...->aggregator->...->aggregator`).
203-
204-
| `IntegrationMessageHeaderAccessor.
205-
ROUTING_SLIP`
206-
| `java.util.`
207-
`Map<List<Object>, Integer>`
198+
| IntegrationMessageHeaderAccessor.
199+
SEQUENCE_DETAILS
200+
| java.util.
201+
List<List<Object>>
202+
| A stack of correlation data used when nested correlation is needed (for example,
203+
`splitter->...->splitter->...->aggregator->...->aggregator`).
204+
205+
| IntegrationMessageHeaderAccessor.
206+
ROUTING_SLIP
207+
| java.util.
208+
Map<List<Object>, Integer>
208209
| See <<routing-slip>>.
209210
|===
210211

src/reference/asciidoc/mongodb.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ If this attribute is not provided, the default value is `org.bson.Document`.
365365
* `query` or `query-expression`: Specifies the MongoDB query.
366366
See the http://www.mongodb.org/display/DOCS/Querying[MongoDB documentation] for more query samples.
367367
* `collection-callback`: Reference to an instance of `org.springframework.data.mongodb.core.CollectionCallback`.
368-
Preferable an instance of `org.springframework.integration.mongodb.outbound.MessageCollectionCallback` since 5.0.11 with the request message context.
368+
Preferable an instance of `o.s.i.mongodb.outbound.MessageCollectionCallback` since 5.0.11 with the request message context.
369369
See its Javadocs for more information.
370370
NOTE: You can not have both `collection-callback` and any of the query attributes.
371371

src/reference/asciidoc/sftp.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ The preceding configuration works for any `ResettableFileListFilter`.
469469
Starting with version 5.0, the inbound channel adapter can build sub-directories locally, according to the generated local file name.
470470
That can be a remote sub-path as well.
471471
To be able to read a local directory recursively for modification according to the hierarchy support, you can now supply an internal `FileReadingMessageSource` with a new `RecursiveDirectoryScanner` based on the `Files.walk()` algorithm.
472-
See https://docs.spring.io/spring-integration/api/org/springframework/integration/file/remote/synchronizer/AbstractInboundFileSynchronizingMessageSource.html#setScanner-org.springframework.integration.file.DirectoryScanner[`AbstractInboundFileSynchronizingMessageSource.setScanner()]` for more information.
472+
See https://docs.spring.io/spring-integration/api/org/springframework/integration/file/remote/synchronizer/AbstractInboundFileSynchronizingMessageSource.html#setScanner-org.springframework.integration.file.DirectoryScanner[`AbstractInboundFileSynchronizingMessageSource.setScanner()`] for more information.
473473
Also, you can now switch the `AbstractInboundFileSynchronizingMessageSource` to the `WatchService`-based `DirectoryScanner` by using `setUseWatchService()` option.
474474
It is also configured for all the `WatchEventType` instances to react for any modifications in local directory.
475475
The reprocessing sample shown earlier is based on the built-in functionality of the `FileReadingMessageSource.WatchServiceDirectoryScanner`, which uses `ResettableFileListFilter.remove()` when the file is deleted (`StandardWatchEventKinds.ENTRY_DELETE`) from the local directory.

src/reference/asciidoc/transactions.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,10 @@ The following example shows how to use the namespace to configure a file inbound
207207
</int-file:inbound-channel-adapter>
208208
209209
<int:transaction-synchronization-factory id="syncFactory">
210-
<int:after-commit expression="payload.renameTo('/success/' + payload.name)" channel="committedChannel" />
211-
<int:after-rollback expression="payload.renameTo('/failed/' + payload.name)" channel="rolledBackChannel" />
210+
<int:after-commit expression="payload.renameTo(new java.io.File('/success/' + payload.name))"
211+
channel="committedChannel" />
212+
<int:after-rollback expression="payload.renameTo(new java.io.File('/failed/' + payload.name))"
213+
channel="rolledBackChannel" />
212214
</int:transaction-synchronization-factory>
213215
----
214216
====

0 commit comments

Comments
 (0)