L.S., No, you only need to change the namespace in the bean. I erased the bean tag here to avoid having to define the bean before being able to reply. Sorry if that caused any confusion on your end.
The namespace http://camel.apache.org/schema/spring is what triggers the camel namespace handler to handle the camelContext tag properly. The namespace uri you were using, was the one used by Camel 1.x (when Camel was still a subproject of ActiveMQ) so the information on that page was just slightly outdated. With that new namespace uri, your existing route/transformer/... should work fine. For interacting with ActiveMQ from within your Camel route, you can just add an activemq:// endpoint in your route. Regards, Gert Vanthienen ------------------------ FuseSource Web: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ On Wed, Mar 16, 2011 at 10:07 PM, dead_devil_66 <[email protected]> wrote: > So....the changes i need to make are: > > 1º) change the xmlns attribute, in camelContext tag, to > "http://camel.apache.org/schema/spring" ? > 2º) erase the bean tag, referencing myTransform? > > but why must the xmlns attribute be like that? If im using an activemq, > should i specify the tags used to manage the behavior of the queueing > process? > > if i delete the bean tag, how does the router know what method to call, > after the timer ticks another 10 seconds? > > oh...and sorry if these are basic questions.....im just a college student > and a noob in camel/esb.... :/ > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Exception-in-thread-SpringOsgiExtenderThread-7-java-lang-IllegalStateException-BeanFactory-not-initit-tp3791617p3800148.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. >
