AFAIK no one has looked into how to do this.

I suspect that you will need to build your own camel-activemq-broker plugin by copying the geronimo activemq-broker plugin and adding dependencies on the camel jars and modifying the server.xml to include appropriate camel beans. I think you will need the camel jars in the same classloader as the activemq jars and to do this you need a new geronimo plugin.

Please let us know if you get this to work.

thanks
david jencks

On Jan 21, 2010, at 2:22 AM, ulise wrote:


posted already here.

http://old.nabble.com/camel-2.1-with-geronimo-2.2-(activemq-3.5)-ts27244553.html
http://old.nabble.com/camel-2.1-with-geronimo-2.2-(activemq-3.5)-ts27244553.html




Hi
I tried to run camel in a freshly downloaded geronimo-tomcat6- javaee5-2.2.
I simply uncommented the

       <camelContext id="camel"
xmlns="http://camel.apache.org/schema/spring";>
       <route>
           <from uri="activemq:example.A"/>
           <to uri="activemq:example.B"/>
       </route>
   </camelContext>

part in the activemx.xml and changed all the URLs as told in

http://camel.apache.org/exception-beandefinitionstoreexception.html

and have the camel-*-2.1.0.jars copied to <geronimo_home>lib

but I still get this  exception

007 ERROR [GBeanInstanceState] Error while starting; GBean is now in the
FAILED state:
abstractName="org.apache.geronimo.configs/activemq-broker/2.2/car? ServiceModule=org.apache.geronimo.configs/activemq-broker/2.2/ car,j2eeType=JMSServer,na
me=DefaultActiveMQBroker"
org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
xbean namespace mapping: http://camel.apache.org/schema/spring


Do I have install some more jars, plugins? Are there any? Is there a
tutorial of running camel with geronimo (as a kind of service)

Many thanks for any help,

Uli


--
View this message in context: 
http://old.nabble.com/camel2.1-with-geronimo-2.2-%28activemq-3.5%29-from-camel-list-tp27255599s134p27255599.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Reply via email to