You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by lh...@apache.org on 2008/03/10 20:05:38 UTC
svn commit: r635656 - in /servicemix/smx3/branches/servicemix-3.2:
archetypes/
archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/
archetypes/servicemix-file-poller-service-unit/
archetypes/servicemix-file-poller-servic...
Author: lhein
Date: Mon Mar 10 12:05:31 2008
New Revision: 635656
URL: http://svn.apache.org/viewvc?rev=635656&view=rev
Log:
added file poller and file sender service unit archetype on behalf of Marco Mistroni (SM-1222)
Added:
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/pom.xml
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/pom.xml
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
Modified:
servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat
Modified: servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml?rev=635656&r1=635655&r2=635656&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml (original)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml Mon Mar 10 12:05:31 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/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FilePollerServiceUnitTest.java Mon Mar 10 12:05:31 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/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/FileSenderServiceUnitTest.java Mon Mar 10 12:05:31 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/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/pom.xml?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/pom.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/pom.xml Mon Mar 10 12:05:31 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.2.2-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/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/META-INF/maven/archetype.xml Mon Mar 10 12:05:31 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/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/pom.xml Mon Mar 10 12:05:31 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/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-poller-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Mon Mar 10 12:05:31 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/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/pom.xml?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/pom.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/pom.xml Mon Mar 10 12:05:31 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.2.2-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/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/META-INF/maven/archetype.xml Mon Mar 10 12:05:31 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/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/pom.xml Mon Mar 10 12:05:31 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/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=635656&view=auto
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml (added)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-file-sender-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml Mon Mar 10 12:05:31 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>
Modified: servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch?rev=635656&r1=635655&r2=635656&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch (original)
+++ servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch Mon Mar 10 12:05:31 2008
@@ -75,6 +75,7 @@
echo "SU types:"
echo " http-consumer, http-provider,"
echo " jms-consumer, jms-provider,"
+ echo " file-poller, file-sender,"
echo " ftp-poller, ftp-sender,"
echo " jsr181-annotated, jsr181-wsdl-first,"
echo " saxon-xquery, saxon-xslt, osworkflow,"
Modified: servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat?rev=635656&r1=635655&r2=635656&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat (original)
+++ servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat Mon Mar 10 12:05:31 2008
@@ -46,6 +46,7 @@
echo SU types:
echo http-consumer, http-provider,
echo jms-consumer, jms-provider,
+echo file-poller, file-sender,
echo ftp-poller, ftp-sender,
echo jsr181-annotated, jsr181-wsdl-first,
echo saxon-xquery, saxon-xslt, osworkflow,