When you use Spring, eg define <camelContext> in a spring xml file, then you define it the usual spring way - whatever ways you can do in Spring.
Camel just lookup in the spring application context to find the beans. - in this case lookup by name, to fine a bean with name "jms" etc. On Mon, Sep 29, 2014 at 10:17 AM, Anjenson <[email protected]> wrote: > Hi > > I have went through many examples but they usually are the same. But I have > noticed that when initializing connection in code we also need to add a > component to context. > Could you, please, explain how to do that in xml file? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/No-component-found-with-schema-jms-tp5757069p5757181.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: [email protected] Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/
