camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EwanH <drldgt...@sneakemail.com>
Subject Scala and Spring config
Date Fri, 22 May 2009 09:45:12 GMT

How does one get a reference to the camelcontext when using a spring
ContextLoaderListener set in web.xml that configures a RouteBuilder using
package scanning?  Below I have context that on start seems to boot up fine:

  <camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
    <package>myapp.routes</package>
  </camelContext>

However I now want to create a ProducerTemplate from the context which I was
hoping would be via a factory method but can't find one.  Any ideas?

-- Ewan
-- 
View this message in context: http://www.nabble.com/Scala-and-Spring-config-tp23667388p23667388.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message