|
| 1 | +[[migration-6.0-6.1]] |
| 2 | +=== Changes between 6.0 and 6.1 |
| 3 | + |
| 4 | +[[x6.1-new-components]] |
| 5 | +=== New Components |
| 6 | + |
| 7 | +[[x6.1-zip]] |
| 8 | +==== Zip Support |
| 9 | + |
| 10 | +The Zip Spring Integration Extension project has been migrated as the `spring-integration-zip` module. |
| 11 | +See <<./zip.adoc#zip,Zip Support>> for more information. |
| 12 | + |
| 13 | +[[x6.1-context-holder-advice]] |
| 14 | +==== `ContextHolderRequestHandlerAdvice` |
| 15 | + |
| 16 | +The `ContextHolderRequestHandlerAdvice` allows to store a value from a request message into some context around `MessageHandler` execution. |
| 17 | +See <<./handler-advice.adoc#context-holder-advice, Context Holder Advice>> for more information. |
| 18 | + |
| 19 | +[[x6.1-handle-reactive]] |
| 20 | +==== The `handleReactive()` operator for Java DSL |
| 21 | +The `IntegrationFlow` can now end with a convenient `handleReactive(ReactiveMessageHandler)` operator. |
| 22 | +See <<./reactive-streams.adoc#reactive-message-handler, `ReactiveMessageHandler`>> for more information. |
| 23 | + |
| 24 | +[[x6.1-partitioned-channel]] |
| 25 | +==== `PartitionedChannel` |
| 26 | +A new `PartitionedChannel` has been introduced to process messages with the same partition key in the same thread. |
| 27 | +See <<./channel.adoc#partitioned-channel, `PartitionedChannel`>> for more information. |
| 28 | + |
| 29 | +[[x6.1-general]] |
| 30 | +=== General Changes |
| 31 | + |
| 32 | +- Added support for transforming to/from Protocol Buffers. |
| 33 | +See <<./transformer.adoc#Protobuf-transformers, Protocol Buffers Transformers>> for more information. |
| 34 | + |
| 35 | +- The `MessageFilter` now emits a warning into logs when message is silently discarded and dropped. |
| 36 | +See <<./filter.adoc#filter, Filter>> for more information. |
| 37 | + |
| 38 | +- The default timeout for send and receive operations in gateways and replying channel adapters has been changed from infinity to `30` seconds. |
| 39 | +Only one left as a `1` second is a `receiveTimeout` for `PollingConsumer` to not block a scheduler thread too long and let other queued tasks to be performed with the `TaskScheduler`. |
| 40 | + |
| 41 | +- The `IntegrationComponentSpec.get()` method has been deprecated with removal planned for the next version. |
| 42 | +Since `IntegrationComponentSpec` is a `FactoryBean`, its bean definition must stay as is without any target object resolutions. |
| 43 | +The Java DSL and the framework by itself will manage the `IntegrationComponentSpec` lifecycle. |
| 44 | +See <<./dsl.adoc#java-dsl, Java DSL>> for more information. |
| 45 | + |
| 46 | +- The `AbstractMessageProducingHandler` is marked as an `async` by default if its output channel is configured to a `ReactiveStreamsSubscribableChannel`. |
| 47 | +See <<./service-activator.adoc#async-service-activator,Asynchronous Service Activator>> for more information. |
| 48 | + |
| 49 | +[[x6.1-web-sockets]] |
| 50 | +=== Web Sockets Changes |
| 51 | + |
| 52 | +A `ClientWebSocketContainer` can now be configured with a predefined `URI` instead of a combination of `uriTemplate` and `uriVariables`. |
| 53 | +See <<./web-sockets.adoc#web-socket-overview, WebSocket Overview>> for more information. |
| 54 | + |
| 55 | +[[x6.1-jms]] |
| 56 | +=== JMS Changes |
| 57 | + |
| 58 | +The `JmsInboundGateway`, via its `ChannelPublishingJmsMessageListener`, can now be configured with a `replyToExpression` to resolve a reply destination against the request message at runtime. |
| 59 | +See <<./jms.adoc#jms-inbound-gateway, JMS Inbound Gateway>> for more information. |
| 60 | + |
| 61 | +[[x6.1-mail]] |
| 62 | +=== Mail Changes |
| 63 | + |
| 64 | +The (previously deprecated) `ImapIdleChannelAdapter.sendingTaskExecutor` property has been removed in favor of an asynchronous message process downstream in the flow. |
| 65 | +See <<./mail.adoc#mail-inbound, Mail-receiving Channel Adapter>> for more information. |
| 66 | + |
| 67 | +[[x6.1-file]] |
| 68 | +=== Files Changes |
| 69 | + |
| 70 | +The `FileReadingMessageSource` now exposes `watchMaxDepth` and `watchDirPredicate` options for the `WatchService`. |
| 71 | +See <<./file.adoc#watch-service-directory-scanner, `WatchServiceDirectoryScanner`>> for more information. |
| 72 | + |
| 73 | +[[x6.1-amqp]] |
| 74 | +=== AMQP Changes |
| 75 | + |
| 76 | +The Java DSL API for Rabbit Streams (the `RabbitStream` factory) exposes additional properties for simple configurations. |
| 77 | +See <<./amqp.adoc#rmq-streams, `RabbitMQ Stream Queue Support`>> for more information. |
| 78 | + |
| 79 | + |
| 80 | +[[x6.1-jdbc]] |
| 81 | +=== JDBC Changes |
| 82 | + |
| 83 | +The `DefaultLockRepository` now exposes setters for `insert`, `update` and `renew` queries. |
| 84 | +See <<./jdbc.adoc#jdbc-lock-registry, JDBC Lock Registry>> for more information. |
0 commit comments