Four Stars

Camel smb (JCIFS )

Hi All,
I try to connect to a network shared directory with smb camel component. I added here is my log, does someone knows what it mean ?
Démarrage du job test_smb a 14:26 26/06/2014.
: org.apache.camel.main.MainSupport - Apache Camel 2.12.3 starting
: org.springframework.context.support.ClassPathXmlApplicationContext - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1fe2c10: startup date ; root of context hierarchy
: org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource
: org.springframework.beans.factory.support.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@830ed5: defining beans ; root of factory hierarchy
: org.apache.camel.spring.SpringCamelContext - Apache Camel 2.12.3 (CamelContext: test_smb-ctx) is starting
: org.apache.camel.management.ManagedManagementStrategy - JMX is enabled
: org.apache.camel.impl.converter.DefaultTypeConverter - Loaded 176 type converters
: org.apache.camel.spring.SpringCamelContext - Apache Camel 2.12.3 (CamelContext: test_smb-ctx) is shutting down
Failed to create route cMessagingEndpoint_1: Route(cMessagingEndpoint_1): org.apache.camel.spring.SpringCamelContext - Apache Camel 2.12.3 (CamelContext: test_smb-ctx) uptime 0.264 seconds
: org.apache.camel.spring.SpringCamelContext - Apache Camel 2.12.3 (CamelContext: test_smb-ctx) is shutdown in 0.003 seconds
: org.apache.camel.main.MainSupport - Apache Camel 2.12.3 stopping
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1547)
at master.test_smb_0_1.test_smb$1.doStart(test_smb.java:200)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
at org.apache.camel.main.MainSupport.run(MainSupport.java:148)
at master.test_smb_0_1.test_smb.run(test_smb.java:245)
at master.test_smb_0_1.test_smb.runJobInTOS(test_smb.java:341)
at master.test_smb_0_1.test_smb.main(test_smb.java:302)
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: smb://user@server.domain.ch/Directory?password=mypwd due to: No component found with scheme: smb
at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:537)
at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:71)
at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:192)
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:88)
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:890)
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:177)
... 12 more
Job test_smb terminé à 14:26 26/06/2014.
1 REPLY
One Star

Re: Camel smb (JCIFS )

cMessagingEndpoint provide supported Camel components list on Advanced settings.
Regarding smb: http://camel.apache.org/jcifs.html - its a camel-extra component which is not included into the Studio.