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:02:52 UTC
[jira] Created: (CAMEL-2200) No component found with sc heme: file
at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
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
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.
[jira] Assigned: (CAMEL-2200) No component found with sc heme: file
at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-2200:
-----------------------------------
Assignee: Willem Jiang
> 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
> Assignee: Willem Jiang
> 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.
[jira] Updated: (CAMEL-2200) No component found with sc heme: file
at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-2200:
-------------------------------
Fix Version/s: 2.1.0
> 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
> Assignee: Willem Jiang
> Fix For: 2.1.0
>
> 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.
[jira] Updated: (CAMEL-2200) No component found with sc heme: file
at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard updated CAMEL-2200:
-------------------------------------
Attachment: reportincident.zip
Here is a maven project used to generated the reportincident routing bundle using the command :
mvn clean install
Here is the list of features deployed on ServiceMix4.1-SNAPSHOT
#
# Comma separated list of features repositories to register by default
#
featuresRepositories=mvn:org.apache.felix.karaf/apache-felix-karaf/1.1.0-SNAPSHOT/xml/features,mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.1.0-SNAPSHOT/xml/features,mvn:org.apache.servicemix/apache-servicemix/4.1.0-SNAPSHOT/xml/features,mvn:org.apache.camel.karaf/features/2.0.0/xml/features,jar:mvn:org.apache.camel.example/reportincident.features/1.0-SNAPSHOT!/reportincident.features-1.0-SNAPSHOT-features.xml
#
# Comma separated list of features to install at startup
#
featuresBoot=spring,spring-dm,camel-core,camel-spring-osgi
and
osgi:install -s mvn:org.springframework/spring-tx/2.5.6.SEC01
osgi:install -s mvn:org.apache.camel.example/reportincident.routing2/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.
[jira] Commented: (CAMEL-2200) No component found with sc heme:
file at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (CAMEL-2200) No component found with sc heme:
file at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55577#action_55577 ]
Charles Moulliard commented on CAMEL-2200:
------------------------------------------
For your information we have the same issue using bundles camel-spring and camel-osgi.
> 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
> Assignee: Willem Jiang
> 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.
[jira] Closed: (CAMEL-2200) No component found with sc heme: file
at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard closed CAMEL-2200.
------------------------------------
Resolution: Fixed
With the fix of Willem, everything is in order now. So, I propose to close this ticket
> 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
> Assignee: Willem Jiang
> Fix For: 2.1.0
>
> 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.
[jira] Commented: (CAMEL-2200) No component found with sc heme:
file at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55615#action_55615 ]
Claus Ibsen commented on CAMEL-2200:
------------------------------------
Charles are you sure. Have you completely stopped the SMX server. Cleared the cache folder and whatnot. So when you start up its all fresh and 2.1-SNAPSHOT bundles.
We would not like to chase a bug that is not there!
> 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
> Assignee: Willem Jiang
> Fix For: 2.1.0
>
> 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.
[jira] Commented: (CAMEL-2200) No component found with sc heme:
file at
org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:442)
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55572#action_55572 ]
Willem Jiang commented on CAMEL-2200:
-------------------------------------
Hi Charles,
My bad, I didn't specify the activator in the camel-spring-osgi bundle.
The OSGi component resolver is not be injected into the camel context, so you get the error of not finding the components.
I will did a quick fix for it.
> 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.