I'm slightly confused by this bit of the stack trace...

On 15/02/2008, apendo <[EMAIL PROTECTED]> wrote:
>
>  Hi there,
>  this is a rather simple question but i didn't manage to find an exemplary
>  configuration that would save my and hopefully someone elses time.
>
>  I'm trying to receive messages from a jms-topic through a camel-component,
>  configured in servicemix like this:
>
>  public void configure() {
>
>
>  from("activemq:topic:foo.bar").to("log:org.apache.servicemix.tutorial");
>
>  }
>
>
>
>  and i configured the camel-context too:
>
>  <beans xmlns="http://www.springframework.org/schema/beans";
>        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/camel/schema/spring
>  http://activemq.apache.org/camel/schema/spring/camel-spring.xsd";>
>
>   <camelContext useJmx="false"
>  xmlns="http://activemq.apache.org/camel/schema/spring";>
>     ...
>   </camelContext>
>
>   <!-- lets configure the default ActiveMQ broker URL -->
>   <bean id="activemq" class="org.apache.camel.component.jms.JmsComponent">
>           <property name="connectionFactory">
>             <bean class="org.apache.activemq.ActiveMQConnectionFactory">
>               <property name="brokerURL" value="tcp://localhost:61616"/>
>             </bean>
>           </property>
>   </bean>
>
>  </beans>
>
>
>
>  I get the following error-msg when i try to deploy it (stack-trace only):
>
>  <![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
>  org.apache.camel.RuntimeCamelException:
>  org.apache.camel.NoSuchEndpointException: No endpoint could be found for:
>  activemq:ActiveMQ.Advisory.Queue


i.e. this is a different queue name to the one you were consuming from.


Also this...


>  Caused by: org.apache.camel.RuntimeCamelException:
>  org.apache.camel.NoSuchEndpointException: No endpoint could be found for:
>  activemq:ActiveMQ.Advisory.Queue
>         at
>  
> org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:98)

Unfortunately thats not the actual cause - its a wrapped exception -
so we're not seeing the real stack trace.

FWIW I've just patched Camel trunk so that it doesn't wrap any
RuntimeException instances thrown during initialisation

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to