activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josef <josef.m...@xwr.ch>
Subject activemq 5.7: camel web console not working from camel 2.10.1
Date Tue, 23 Oct 2012 11:22:16 GMT
Hi all,

I tried to manually add the camel web console to activemq 5.7. For that I
was doing the following steps:

- *I extracted the camel-web.war inside of the
camel-web-standalone-2.10.1.jar into webapps/camel*
- *in the conf/jett.xml I added the webapp:*

                        <bean
class="org.eclipse.jetty.webapp.WebAppContext">
                            <property name="contextPath" value="/camel" />
                            <property name="resourceBase"
value="${activemq.home}/webapps/camel" />
                            <property name="logUrlOnStart" value="true" />
                        </bean>

-* in webapps/camel/WEB-INF I changed the applicationContext.xml:
*
    
    <bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations">
            <value>file:${activemq.base}/conf/credentials.properties</value>
        </property>      
    </bean> 
    
    <import resource="file:${activemq.base}/conf/camel.xml"/>

Now when I try to start activeMQ I get the following error (endpoint
activemq is unknown):

ERROR | Context initialization failed
org.apache.camel.RuntimeCamelException:
org.apache.camel.FailedToCreateRouteException: Failed to cre
ate route route1: Route[[From[activemq:example.A]] ->
[To[activemq:example.B]]... because of Failed
to resolve endpoint: activemq://example.A due to: Cannot auto create
component: activemq
        at
org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1280)
        at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120
)
        at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBea

What am I missing for using the camel web console?
thanx for your help

josef



--
View this message in context: http://activemq.2283324.n4.nabble.com/activemq-5-7-camel-web-console-not-working-from-camel-2-10-1-tp4658077.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message