That was not really clear but:

 put the content of the file component in the smix lib dir  means I put zip
jar files in the directory lib.




Eric Dofonsou wrote:
> 
> Humm did you include the file lib component
> (servicemix-file-3.1-incubating-SNAPSHOT.jar) in the lib folder of
> servicemix ?
> 
> 
> 
> kermitt wrote:
>> 
>> Hi , 
>> 
>> I tried the polling file service , I added the ns header :
>> xmlns:file="http://servicemix.apache.org/file/1.0";
>> 
>> put the content of the file component in the smix lib dir
>> 
>> and add to my servicemix :
>>                      <sm:activationSpec componentName="fileWrite">
>>                              <sm:component>
>>                                      <file:endpoint
>>                                              service="gen:FileWriter"
>>                                              endpoint="FileWriterEP"
>>                                              directory="file:/out" />
>>                              </sm:component>
>>                      </sm:activationSpec>
>> 
>> 
>> and I get :(
>> 
>> Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
>> Unrecognized xbean element mapping: endpoint in namespace
>> http://servicemix.ap
>> ache.org/file/1.0
>> org.springframework.beans.factory.BeanDefinitionStoreException:
>> Unrecognized xbean element mapping: endpoint in namespace
>> http://servicemix.apache.org
>> /file/1.0
>>         at
>> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:258)
>>         at
>> org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:152)
>>         at
>> org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49)
>> 
>> 
>> any idea?
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/file%3Aendpoint-tf3136374s12049.html#a8692272
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to