Maven
Şu satırı dahil ederiz
Daha sonra gerekli bileşeni dahil ederiz. Örneğin ftp ile dosya çekeceksek şöyle yaparız<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-integration</artifactId></dependency>
<dependency><groupId>org.springframework.integration</groupId> <artifactId>spring-integration-ftp</artifactId> </dependency>
Açıklaması şöyle
- If you throw in spring-integration-jmx, then a plethora of messaging metrics will automatically be collected across all your flows and published to JMX endpoints.- spring-integration-jdbc provides the means to use an underlying JDBC data store as the messaging mechanism.- spring-integration-amqp makes it possible to use RabbitMQ or any other AMQP-compliant broker as the primary mechanism to send messages between components
Şu satırı dahil ederiz
import org.springframework.integration.Message;
getHeaders() ve getPayload() diye iki tane metod sunar. Böylece ortaya çok generic bir yapı çıkar.
Multiple Protocols
Çok çeşitli protokolleri destekler. Açıklaması şöyle
Spring Integration offers support for a wide array of communication protocols, including FTP, JMS, HTTP, STOMP, SOAP, REST, RSocket and even email.
Enterprise Integration Patterns
Açıklaması şöyle
Spring Integration is originated as an implementation of (most of) the patterns found in Enterprise Integration Patterns (by Hohpe and Woolf). This books contains a collection of common integration problems combined with their solutions. These patterns enable developers to tackle non-linear problems by breaking them down into smaller, more manageable pieces.Some of the key patterns included in Spring Integration include:- Channels- Aggregators- Filters- Transformers- Control Buses- Gateways- Endpoints
Hiç yorum yok:
Yorum Gönder