You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2009/11/18 17:12:52 UTC

[jira] Commented: (CAMEL-2200) No component found with sc heme: file at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)

    [ https://issues.apache.org/activemq/browse/CAMEL-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55562#action_55562 ] 

Charles Moulliard commented on CAMEL-2200:
------------------------------------------

Same problem using Apache Felix Karaf 1.1.0-SNAPSHOT

> No component found with sc heme: file         at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2200
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2200
>             Project: Apache Camel
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: Test made on ServiceMix 4.1-SNAPSHOT
>            Reporter: Charles Moulliard
>         Attachments: reportincident.zip
>
>
> The following error is generated :
> karaf@root> Exception in thread "SpringOsgiExtenderThread-4" org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: file://d:/te
> mp/data/reportincident/?move=d%3A%2Ftemp%2Fbackup%2F%24%7Bdate%3Anow%3AyyyyMMdd%7D%2F%24%7Bfile%3Aname.noext%7D.bak due to: No component found with sc
> heme: file
>         at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
>         at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:46)
>         at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:144)
>         at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:106)
>         at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:112)
>         at org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72)
>         at org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:81)
>         at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:575)
>         at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:132)
> with a simple route :
> <beans xmlns="http://www.springframework.org/schema/beans"
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns:context="http://www.springframework.org/schema/context"
> 	xmlns:osgi="http://www.springframework.org/schema/osgi"
> 	xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"
> 	xmlns:camel="http://camel.apache.org/schema/spring"
> 	xsi:schemaLocation="
> 	    http://www.springframework.org/schema/beans
> 		http://www.springframework.org/schema/beans/spring-beans.xsd
> 		http://www.springframework.org/schema/context
>         http://www.springframework.org/schema/context/spring-context.xsd
> 		http://www.springframework.org/schema/osgi
> 		http://www.springframework.org/schema/osgi/spring-osgi.xsd
> 		http://camel.apache.org/schema/osgi
> 		http://camel.apache.org/schema/osgi/camel-osgi.xsd
> 		http://camel.apache.org/schema/spring
> 		http://camel.apache.org/schema/spring/camel-spring.xsd
> 		http://www.springframework.org/schema/osgi-compendium
>         http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd">
> 		
>  
>   
> 	<camel:camelContext trace="true" xmlns="http://camel.apache.org/schema/osgi">
> 		<camel:route>
> 			<camel:from	uri="file://d:/temp/data/reportincident/?move=d:/temp/backup/${date:now:yyyyMMdd}/${file:name.noext}.bak"/>
> 			<camel:setHeader headerName="origin">
> 				<camel:constant>file</camel:constant>
> 			</camel:setHeader>
> 			<camel:to uri="log:org.apache.camel.reportincident?level=DEBUG" />
> 		</camel:route>
> 		
>     </camel:camelContext>
> </beans>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.