activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Gunther <>
Subject [camel] Spring and Custom Components
Date Thu, 10 May 2007 05:46:46 GMT
Hi All,

Here is the code snippet I'm working to configure in Spring:

final CamelContext container = new DefaultCamelContext();
container.addComponent("foo", new FooComponent(container));

I'm using the Spring 2.0 XML Namespaces approach to define my routes.  
How can I add a custom component to a "camelContext"?

Jeff Gunther

View raw message