Registry / messaging / camel-spring

camel-spring

JSON →
library4.18.1javamavenunverified

Camel Spring provides integration between Apache Camel and the Spring Framework, enabling routing and mediation rules in Spring applications.

<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring</artifactId> <version>4.18.1</version> </dependency>
INSTALL
IMPORT
SIG · CAMEL-SPRING
C
camel-spring
messagingjavav4.18.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SpringCamelContext
org.apache.camel.spring.SpringCamelContext

Minimal example showing how to start a Camel context using Spring configuration.

import org.apache.camel.spring.SpringCamelContext; import org.springframework.context.ApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class Quickstart { public static void main(String[] args) throws Exception { ApplicationContext appContext = new ClassPathXmlApplicationContext("camel-context.xml"); SpringCamelContext camelContext = (SpringCamelContext) appContext.getBean("camelContext"); camelContext.start(); Thread.sleep(5000); camelContext.stop(); } }
Debug
Known issues
breakingVersion 4.x may have breaking changes from 3.x in route definitions and component APIs.
fix
Review migration guide from Camel 3 to 4 before upgrading.
affects: >=4.0.0
Upgrade
Version history
4.18.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Amazon
1
OpenAI (training)
1
Resources
camel-spring — mvn dependency:get camel-spring · libregistry