{"schemaVersion":"1.0","record":{"label":"Spring Integration","description":"Open-source Spring messaging framework with adapters, gateways and Enterprise Integration Patterns.","aliases":[],"kind":"software","website":"https://spring.io/projects/spring-integration","overview":"Spring Integration is an open-source framework that extends the Spring programming model with messaging and Enterprise Integration Patterns. It supports integration inside Spring applications and with external systems through channels, adapters, gateways, routing and transformation components.","license":"Apache-2.0","lifecycle":"active","example":false,"features":[{"name":"Declarative message integration","status":"supported","detail":"Spring-configured channels, adapters, gateways and routing components connect application logic and external systems.","useCase":"Developer-owned message routing and application integration","platforms":["Spring applications","Java runtime"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://docs.spring.io/spring-integration/reference/overview.html","locator":"Spring programming model and declarative adapters","retrievedAt":"2026-10-07T10:45:22Z","kind":"vendor"}]},{"name":"End-to-end transaction preservation","status":"limited","detail":"Thread boundaries can end transaction context; synchronization does not make non-transactional resources atomic.","useCase":"Developer-owned message routing and application integration","platforms":["Spring applications","Java runtime"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://docs.spring.io/spring-integration/reference/transactions.html","locator":"Thread boundaries, synchronization and pseudo-transactions","retrievedAt":"2026-10-07T10:46:16Z","kind":"vendor"}]},{"name":"In-process Camel interoperability","status":"supported","detail":"The Camel adapter can invoke endpoints in the same application context with optional replies.","useCase":"Developer-owned message routing and application integration","platforms":["Spring applications","Java runtime"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://docs.spring.io/spring-integration/reference/camel.html","locator":"Framework abstractions and in-process interoperability","retrievedAt":"2026-10-07T10:46:16Z","kind":"vendor"}]}],"alternatives":[],"slug":"spring-integration","draftAlternatives":[{"targetSlug":"apache-camel","status":"limited","detail":"Can replace supported developer-owned message flows within Spring applications; adapters, flow composition and transaction boundaries require translation and testing.","useCase":"Developer-owned message routing and application integration","platforms":["Spring applications","Java runtime"],"region":"Version, plan and platform requirements apply","evidence":[{"url":"https://docs.spring.io/spring-integration/reference/overview.html","locator":"Spring programming model and declarative adapters","retrievedAt":"2026-10-07T10:45:22Z","kind":"vendor"},{"url":"https://docs.spring.io/spring-integration/reference/camel.html","locator":"Framework abstractions and in-process interoperability","retrievedAt":"2026-10-07T10:46:16Z","kind":"vendor"},{"url":"https://camel.apache.org/manual/faq/what-is-camel.html","locator":"Embeddable Java routing framework, endpoints and unit testing","retrievedAt":"2026-10-07T10:45:41Z","kind":"vendor"}]}],"evidence":[{"url":"https://docs.spring.io/spring-integration/reference/overview.html","locator":"Spring programming model and declarative adapters","retrievedAt":"2026-10-07T10:45:22Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/spring-projects/spring-integration/blob/main/LICENSE.txt","locator":"Apache License 2.0","retrievedAt":"2026-10-07T10:46:16Z","id":"spring-integration-license","title":"Spring Integration license","kind":"vendor"},{"url":"https://docs.spring.io/spring-integration/reference/overview.html","locator":"Spring programming model and declarative adapters","retrievedAt":"2026-10-07T10:45:22Z","id":"spring-integration-home","title":"Spring Integration overview","kind":"vendor"},{"url":"https://docs.spring.io/spring-integration/reference/endpoint-summary.html","locator":"Directional adapters versus request/reply gateways","retrievedAt":"2026-10-07T10:45:22Z","id":"spring-integration-endpoints","title":"Spring Integration endpoint types","kind":"vendor"},{"url":"https://docs.spring.io/spring-integration/reference/transactions.html","locator":"Thread boundaries, synchronization and pseudo-transactions","retrievedAt":"2026-10-07T10:46:16Z","id":"spring-integration-transactions","title":"Spring Integration transactions","kind":"vendor"},{"url":"https://docs.spring.io/spring-integration/reference/camel.html","locator":"Framework abstractions and in-process interoperability","retrievedAt":"2026-10-07T10:46:16Z","id":"spring-integration-camel","title":"Spring Integration Camel support","kind":"vendor"},{"url":"https://camel.apache.org/manual/faq/what-is-camel.html","locator":"Embeddable Java routing framework, endpoints and unit testing","retrievedAt":"2026-10-07T10:45:41Z","id":"camel-framework","title":"What is Camel?","kind":"vendor"}],"overviewCitations":["spring-integration-home"],"licenseCitations":["spring-integration-license"],"sections":[{"id":"model","heading":"Programming model","paragraphs":[{"id":"model-detail","content":[{"text":"Integration components participate in Spring's dependency-injection model, keeping business code separate from transport and messaging configuration. Developers can configure flows through annotations, XML or programmatic APIs. This is an application framework: the adopting team builds and operates the surrounding service instead of configuring a mandatory vendor-hosted workflow account."}],"citations":["spring-integration-home"]}]},{"id":"endpoints","heading":"Adapters and gateways","paragraphs":[{"id":"endpoints-detail","content":[{"text":"An inbound channel adapter brings data into a messaging application, while an outbound adapter sends data out. Gateways add request/reply behavior in either direction. The endpoint matrix lists capabilities by module, so support for a protocol should be checked against the required direction and interaction pattern. A module with an outbound gateway does not necessarily provide a corresponding inbound listener."}],"citations":["spring-integration-endpoints"]}]},{"id":"transactions","heading":"Transaction boundaries","paragraphs":[{"id":"transactions-detail","content":[{"text":"Spring Integration uses Spring transaction management rather than making all message processing automatically atomic. Transaction context normally follows the current thread; introducing executor channels, pollable channels or another thread can end that boundary. A downstream failure may then occur after the earlier transaction has committed. Transaction synchronization can coordinate follow-up actions, but it does not make inherently non-transactional resources transactional. The documented pseudo-transaction mechanism invokes success or failure callbacks without an actual database-style commit or rollback."}],"citations":["spring-integration-transactions"]}]},{"id":"interoperability","heading":"Interoperability with Camel","paragraphs":[{"id":"interoperability-detail","content":[{"text":"The framework includes an adapter for invoking "},{"text":"Apache Camel","targetSlug":"apache-camel"},{"text":" endpoints in the same Spring application context, including optional replies. That allows a project to use a Camel component where Spring Integration lacks a suitable adapter without creating an additional network hop. Interoperation still involves message and header mapping. It is not automatic conversion of one framework's flow definitions into the other's programming model."}],"citations":["spring-integration-camel"]}]},{"id":"license","heading":"License and adoption","paragraphs":[{"id":"license-detail","content":[{"text":"Spring Integration is distributed under Apache License 2.0. The project supplies integration building blocks rather than an infrastructure-service subscription. Application dependencies, hosting, support and third-party endpoint services remain separate concerns when estimating adoption effort and cost."}],"citations":["spring-integration-license","spring-integration-home"]}]},{"id":"assessment","heading":"Substitution assessment","paragraphs":[{"id":"assessment-detail","content":[{"text":"Spring Integration can substitute for "},{"text":"Apache Camel","targetSlug":"apache-camel"},{"text":" in developer-owned message integration, especially for an existing Spring application. The choice depends on adapter coverage and preferred abstractions: Spring Integration makes channels explicit, while Camel organizes routing through exchanges. Migration therefore requires translating flow composition and testing transaction boundaries, not merely changing a library dependency. No application was built or executed for this assessment."}],"citations":["spring-integration-camel","spring-integration-transactions","camel-framework"]}]}]},"id":"Q873","revision":921,"updatedAt":"2026-10-13T13:20:30Z","sourceUrl":"https://substitutefor.net/entities/Q873?revision=921"}}