camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dewane <dewane3...@gmail.com>
Subject Re: Problem with Jetty component on equinox
Date Tue, 14 Oct 2008 13:25:53 GMT

Hi, 

Don't know if you are still having some problems, but if you are can you
send the output
"ss" (short status) equinox console command?


hcaicedo wrote:
> 
> I need help please. This is really frustrating. For two weeks I been
> trying to run a very simple example based on Equinox.  All i am doing is
> modifying the timer example with a Jetty component.  Does anybody knows
> the meaning of this error.
> 
> No endpoint could be found for: jetty:http://localhost:8080/ty/, please
> check the class path for the uri relates camel component module.
> 
> This is my camelContext.xml file: 
> 
> <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.5.xsd
>        http://activemq.apache.org/camel/schema/spring
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">
> 
> 	<camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
> 		<route>
> 			<from uri="timer://myTimer?fixedRate=true&amp;period=2000" />
> 			<to uri="direct:initial" />
> 		</route>
> 		<route>
> 			<from uri="direct:initial" />
> 			<bean ref="myTransform" method="transform" />
> 			<bean ref="myheaderTransform" method="transform" />
> 			<to uri="direct:Final" />
> 			<to uri="log:ExampleRouter" />
> 		</route>
> 
> 		<route>
> 			<from uri="direct:Final" />
> 			<to uri="list:answer" />
> 		</route>
> 		<route>
> 			<from uri="jetty:http://localhost:8080/ty/" />
> 			<process ref="yjettyProcessor" />
> 			<to uri="log:ExampleRouter" />
> 		</route >
> 	</camelContext>
> 
> 	<bean id="yjettyProcessor"
> class="org.apache.camel.example.osgi.jettyPage" />
> 
> 	<bean id="myTransform" class="org.apache.camel.example.osgi.MyTransform">
> 		<property name="prefix" value="MyTransform" />
> 	</bean>
> 
> 	<bean id="myheaderTransform"
> class="org.apache.camel.example.osgi.headerTransform" />
> 
> </beans>
> 
> 
> When I remove the jetty route all works OK.
> 
> Any idea
> 
> Thanks
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-Jetty-component-on-equinox-tp19773392s22882p19973492.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message