servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lh...@apache.org
Subject svn commit: r635519 - in /servicemix/smx3/trunk/archetypes: ./ servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/ servicemix-file-poller-service-unit/ servicemix-file-poller-service-unit/src/ servicemix-file-poller-service-unit/s...
Date Mon, 10 Mar 2008 10:51:08 GMT
Author: lhein
Date: Mon Mar 10 03:51:04 2008
New Revision: 635519

URL: http://svn.apache.org/viewvc?rev=635519&view=rev
Log:
Added file poller and file sender service unit on behalf of Marco Mistroni (SM-1222)
and fixed several errors made by Marco in the patch provided. 

Added:
    servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java
    servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/pom.xml
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/
    servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/pom.xml
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/
    servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Modified:
    servicemix/smx3/trunk/archetypes/pom.xml

Modified: servicemix/smx3/trunk/archetypes/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/pom.xml?rev=635519&r1=635518&r2=635519&view=diff
==============================================================================
--- servicemix/smx3/trunk/archetypes/pom.xml (original)
+++ servicemix/smx3/trunk/archetypes/pom.xml Mon Mar 10 03:51:04 2008
@@ -39,6 +39,8 @@
         <module>servicemix-service-unit</module>
         <module>servicemix-service-assembly</module>
         <module>servicemix-shared-library</module>    
+        <module>servicemix-file-poller-service-unit</module>
+        <module>servicemix-file-sender-service-unit</module>
         <module>servicemix-ftp-poller-service-unit</module>
         <module>servicemix-ftp-sender-service-unit</module>
         <module>servicemix-http-consumer-service-unit</module>

Added: servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java
(added)
+++ servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java
Mon Mar 10 03:51:04 2008
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.tooling;
+
+public class FilePollerServiceUnitTest extends AbstractArchetypeTest {
+
+    public void testFilePollerServiceUnit() throws Exception {
+        testServiceMixArchetype("file-poller-service-unit");
+    }
+
+}

Added: servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java
(added)
+++ servicemix/smx3/trunk/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java
Mon Mar 10 03:51:04 2008
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.servicemix.tooling;
+
+public class FileSenderServiceUnitTest extends AbstractArchetypeTest {
+
+    public void testFileSenderServiceUnit() throws Exception {
+        testServiceMixArchetype("file-sender-service-unit");
+    }
+
+}

Added: servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/pom.xml?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/pom.xml (added)
+++ servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/pom.xml Mon Mar 10
03:51:04 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix</groupId>
+    <artifactId>archetypes</artifactId>
+    <version>3.3-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.servicemix.tooling</groupId>
+  <artifactId>servicemix-file-poller-service-unit</artifactId>
+  <name>ServiceMix :: Archetypes :: FilePollerServiceUnit</name>
+
+</project>

Added: servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
(added)
+++ servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
Mon Mar 10 03:51:04 2008
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<archetype>
+  <id>servicemix-su</id>
+  <resources>
+    <resource>src/main/resources/xbean.xml</resource>
+  </resources>
+</archetype>

Added: servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml
(added)
+++ servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml
Mon Mar 10 03:51:04 2008
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>A file poller service unit</name>
+  <url>http://www.myorganization.org</url>
+  @{repositories}
+  <properties>
+    <servicemix-version>@{servicemix-version}</servicemix-version>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-core</artifactId>
+      <version>${servicemix-version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-file</artifactId>
+      <version>${servicemix-version}</version>      
+    </dependency>
+  </dependencies>
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>${servicemix-version}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <type>service-unit</type>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(added)
+++ servicemix/smx3/trunk/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Mon Mar 10 03:51:04 2008
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:file="http://servicemix.apache.org/file/1.0"
+       xmlns:replaceMe="http://servicemix.apache.org/replaceMe">
+
+  <file:poller service="replaceMe:withYourService"
+               endpoint="endpoint"
+               targetService="replaceMe:receiver"
+               file="Your Polling Dir">
+              
+              <!-- Custom Marshaler, if you are not going to poll xml files. -->
+              
+              <!--
+              <property name="marshaler">
+                 <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler"
/>
+              </property>
+              -->
+  </file:poller> 
+
+</beans>

Added: servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/pom.xml?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/pom.xml (added)
+++ servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/pom.xml Mon Mar 10
03:51:04 2008
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.servicemix</groupId>
+    <artifactId>archetypes</artifactId>
+    <version>3.3-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.servicemix.tooling</groupId>
+  <artifactId>servicemix-file-sender-service-unit</artifactId>
+  <name>ServiceMix :: Archetypes :: FileSenderServiceUnit</name>
+
+</project>

Added: servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
(added)
+++ servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
Mon Mar 10 03:51:04 2008
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<archetype>
+  <id>servicemix-su</id>
+  <resources>
+    <resource>src/main/resources/xbean.xml</resource>
+  </resources>
+</archetype>

Added: servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml
(added)
+++ servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml
Mon Mar 10 03:51:04 2008
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>A file sender service unit</name>
+  <url>http://www.myorganization.org</url>
+  @{repositories}
+  <properties>
+    <servicemix-version>@{servicemix-version}</servicemix-version>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-core</artifactId>
+      <version>${servicemix-version}</version>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-file</artifactId>
+      <version>${servicemix-version}</version>      
+    </dependency>
+  </dependencies>
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>${servicemix-version}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <type>service-unit</type>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=635519&view=auto
==============================================================================
--- servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
(added)
+++ servicemix/smx3/trunk/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Mon Mar 10 03:51:04 2008
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:file="http://servicemix.apache.org/file/1.0"
+       xmlns:replaceMe="http://servicemix.apache.org/replaceMe">
+
+ <file:sender service="replaceMe:withYourService"
+              endpoint="endpoint"
+              directory="Your Destination Dir">
+              
+              <!-- Custom Marshaler -->
+              
+              <!--
+              <property name="marshaler">
+                 <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler"
/>
+              </property>
+              -->
+  </file:sender> 
+
+</beans>



Mime
View raw message