Hi!
I am still working on it and made some changes, so I thought it would help
to post it here.
So, I changed my xbeans to this:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by Apache ServiceMix Archetype -->
<beans xmlns:file="http://servicemix.apache.org/file/1.0";
    xmlns:oscar="http://servicemix.apache.org/replaceMe";
xmlns="http://www.springframework.org/schema/beans";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="
        http://servicemix.apache.org/file/1.0
http://servicemix.apache.org/schema/servicemix-file-2010.01.xsd
        http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>
   
    <file:poller service="oscar:FileService" endpoint="file-poller"
        targetService="oscar:FileService"
        targetEndpoint="file-sender" 
        file="file:///d:/input/"
                autoCreateDirectory="true" />
    
    <file:sender service="oscar:FileService"
                 endpoint="file-sender"
                 directory="file:///d:/output/"
                                 autoCreateDirectory="true" />
</beans>

After running the mvn install command, which completed successfully, I
wrapped it in an SA and added this to POM.xml:
  
<dependency>
      <groupId>my.group.id</groupId>
      <artifactId>my.artifact.id</artifactId>
      <version>3.8</version>
      <scope>test</scope>
</dependency>

And ran the mvn install command again, which also completed successfuly.

After that, I copied the SA zip file ( tutorial-SA-1.0-SNAPSHOT ) to the
hotdeploy folder.

I got these messages in my servicemix console:

Directory: hotdeploy: Archive changed: processing
tutorial-SA-1.0-SNAPSHOT.zip ...
Starting service assembly: tutorial-SA
Directory: hotdeploy: Finished installation of archive: 
tutorial-SA-1.0-SNAPSHOT.zip

But the files still do not move from my input to my output folder.

Could someone help me finding out why?

Thanks!
-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/Starting-a-service-tp3246477p3248223.html
Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to