Hi Claus,

well, it´s somewhat unclear to me how to configure a kind of a
listening-service based on camel in geronimo. I´m a bit JBoss-minded. ;-)
I thing, I have to create a car? Can I use a jmx-mbean? That's why I was
glad to find the posibillity using the ActiveMQ Spring config. OK, I´ll look
for another way.

Here are my activemq.xml fragments.

 
<beans
  xmlns="http://www.springframework.org/schema/beans";
  xmlns:amq="http://activemq.apache.org/schema/core";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd
  http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd";>

    <!-- Allows us to use system properties as variables in this
configuration file-->
    <bean
class="org.apache.geronimo.activemq.GeronimoPropertyPlaceholderConfigurer">
         <property name="locations">
.........

other stuff

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

Cheers and thanks,
Uli



Claus Ibsen-2 wrote:
> 
> Try without AMQ at first.
> 
> And can you post the top of the XML file, the stuff with all those
> namespace and whatnot.
> 
> 
> On Wed, Jan 20, 2010 at 5:28 PM, ulise <uli....@googlemail.com> wrote:
>>
>> 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
>>
>> 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/camel-2.1-with-geronimo-2.2-%28activemq-3.5%29-tp27244553p27244553.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Claus Ibsen
> Apache Camel Committer
> 
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
> 
> 

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

Reply via email to