You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2009/04/09 04:53:04 UTC

svn commit: r763499 - in /servicemix/smx4/features/trunk/examples: ./ bridge-camel/ bridge-camel/bridge-camel-sa/ bridge-camel/bridge-camel-su/ bridge-camel/bridge-camel-su/src/ bridge-camel/bridge-camel-su/src/main/ bridge-camel/bridge-camel-su/src/ma...

Author: ffang
Date: Thu Apr  9 02:53:03 2009
New Revision: 763499

URL: http://svn.apache.org/viewvc?rev=763499&view=rev
Log:
[SMX4-267]add bridge-camel sample to use camel instead of eip component

Added:
    servicemix/smx4/features/trunk/examples/bridge-camel/
    servicemix/smx4/features/trunk/examples/bridge-camel/README.txt   (with props)
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml   (with props)
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/pom.xml   (with props)
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/bridge.xslt
    servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/camel-context.xml   (with props)
    servicemix/smx4/features/trunk/examples/bridge-camel/client.html   (with props)
    servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml   (with props)
    servicemix/smx4/features/trunk/examples/bridge-camel/src/
    servicemix/smx4/features/trunk/examples/bridge-camel/src/main/
    servicemix/smx4/features/trunk/examples/bridge-camel/src/main/assembly/
    servicemix/smx4/features/trunk/examples/bridge-camel/src/main/assembly/src.xml   (with props)
Modified:
    servicemix/smx4/features/trunk/examples/pom.xml

Added: servicemix/smx4/features/trunk/examples/bridge-camel/README.txt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/README.txt?rev=763499&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/README.txt (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/README.txt Thu Apr  9 02:53:03 2009
@@ -0,0 +1,49 @@
+/*
+ * 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.
+ */
+
+Welcome to the ServiceMix Bridge Camel Example
+========================================
+
+This example shows a bridge between the HTTP and JMS protocols,
+with an XSLT transformation using Camel in between.
+
+First start a ServiceMix server (if not already started) by running
+  bin/servicemix
+in the root dir of this ditribution.
+
+To start this sample, run:
+  mvn install
+
+You can deploy the example on ServiceMix 4 in two different ways:
+- using hotdeploy:
+   copy the bridge-camel-sa/target/bridge-camel-sa-${version}.zip to
+<servicemix_home>/deploy
+- using the ServiceMix console:
+   osgi/install -s
+mvn:org.apache.servicemix.examples.bridge-camel/bridge-camel-sa/${version}/zip
+
+You can then launch the client.html in your favorite browser
+and send an HTTP request which will be transformed in a JMS
+message.  After the JMS message has been sent to the bridge.output queue
+successfully,
+you will receive an HTTP STATUS 202 response code from the ESB.
+Or you can launch java code client to send the request
+cd client; mvn compile exec:java
+
+For more information on running this example please see:
+  http://servicemix.apache.org/bridge.html
+

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/README.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml?rev=763499&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml Thu Apr  9 02:53:03 2009
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+<!--
+
+    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.
+-->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.examples</groupId>
+        <artifactId>bridge-camel</artifactId>
+        <version>4.1.0-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.examples.bridge-camel</groupId>
+    <artifactId>bridge-camel-sa</artifactId>
+    <packaging>jbi-service-assembly</packaging>
+    <name>ServiceMix :: Examples :: Bridge :: Camel :: SA</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.examples.bridge</groupId>
+            <artifactId>bridge-http-su</artifactId>
+            <version>4.1.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.examples.bridge-camel</groupId>
+            <artifactId>bridge-camel-su</artifactId>
+            <version>4.1.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.examples.bridge</groupId>
+            <artifactId>bridge-jms-su</artifactId>
+            <version>4.1.0-SNAPSHOT</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-sa/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/pom.xml?rev=763499&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/pom.xml (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/pom.xml Thu Apr  9 02:53:03 2009
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+<!--
+
+    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.
+-->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.examples</groupId>
+        <artifactId>bridge-camel</artifactId>
+        <version>4.1.0-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.examples.bridge-camel</groupId>
+    <artifactId>bridge-camel-su</artifactId>
+    <packaging>jbi-service-unit</packaging>
+    <name>ServiceMix :: Examples :: Bridge :: Camel :: SU</name>
+    <properties>
+      <componentName>servicemix-camel</componentName>
+    </properties>
+    
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/bridge.xslt
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/bridge.xslt?rev=763499&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/bridge.xslt (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/bridge.xslt Thu Apr  9 02:53:03 2009
@@ -0,0 +1,29 @@
+<?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.
+
+-->
+<!-- $Rev: 356052 $ $Date: 2005-12-11 14:41:20 -0800 (dim., 11 déc. 2005) $ -->
+<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+  <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
+  <xsl:template match="node() | @*">
+    <xsl:copy>
+      <xsl:apply-templates select="node() | @*"/>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>
+

Added: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/camel-context.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/camel-context.xml?rev=763499&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/camel-context.xml (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/camel-context.xml Thu Apr  9 02:53:03 2009
@@ -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="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+       http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd
+    ">
+
+	  <camelContext xmlns="http://activemq.apache.org/camel/schema/spring">
+            <route>
+	      <from uri="jbi:endpoint:http://servicemix.apache.org/samples/bridge/pipeline/endpoint"/>
+              <to uri="xslt:bridge.xslt"/>
+              <to uri="log:org.apache.servicemix.example?level=INFO"/>
+              <to uri="jbi:endpoint:http://servicemix.apache.org/samples/bridge/jms/endpoint"/>
+            </route>
+	  </camelContext>
+
+</beans>

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/camel-context.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/camel-context.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/bridge-camel-su/src/main/resources/camel-context.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: servicemix/smx4/features/trunk/examples/bridge-camel/client.html
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/client.html?rev=763499&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/client.html (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/client.html Thu Apr  9 02:53:03 2009
@@ -0,0 +1,137 @@
+<!--
+    
+    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.
+
+-->
+<!-- $Rev$ $Date$ -->
+<html>
+<head>
+<title>ServiceMix Bridge Example</title>
+<script type="text/javascript">
+var urlToOpen = "http://localhost:8192/bridge/"; //default URL to open
+
+function getHTTPObject() {
+  var xmlhttp = false;
+
+  /* Compilation conditionnelle d'IE */
+  /*@cc_on
+  @if (@_jscript_version >= 5)
+     try {
+        xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
+     } catch (e) {
+        try {
+           xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
+        } catch (E) {
+           xmlhttp = false;
+        }
+     }
+  @else
+     xmlhttp = false;
+  @end @*/
+
+  /* on essaie de créer l'objet si ce n'est pas déjà fait */
+  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
+     try {
+        xmlhttp = new XMLHttpRequest();
+     } catch (e) {
+        xmlhttp = false;
+     }
+  }
+
+  if (xmlhttp) {
+     /* on définit ce qui doit se passer quand la page répondra */
+     xmlhttp.onreadystatechange=function() {
+        if (xmlhttp.readyState == 4) { /* 4 : état "complete" */
+           var response = document.getElementById("response");
+           var responseStatus = "";
+           try {
+             responseStatus = xmlhttp.status + "";
+           } catch (e) {
+             responseStatus = "ERROR WHILE RETRIEVING STATUS; MAYBE UNABLE TO CONNECT.";
+           }
+           response.value = "STATUS: " + responseStatus + "\n" + xmlhttp.responseText;
+        }
+     }
+  }
+  return xmlhttp;
+}
+
+function send() {
+  if ((document.getElementById("urlToOpen").value != urlToOpen) && (document.getElementById("urlToOpen").value != "")) {
+    //use user entry only if it at least can be okay
+    urlToOpen = document.getElementById("urlToOpen").value;
+  }  
+  var xmlhttp = getHTTPObject();
+  if (!xmlhttp) {
+    alert('cound not create XMLHttpRequest object');
+    return;
+  }
+  var request = document.getElementById("request");
+  var response = document.getElementById("response");  
+  try {
+    netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead UniversalBrowserWrite");
+  } catch (e) {
+  }
+  try {
+    xmlhttp.open("POST", urlToOpen, true);
+  } catch (e) {
+    alert('Error opening connection');
+  }
+  xmlhttp.send(request.value);
+}
+
+</script>
+</head>
+
+<body>
+
+<h1>ServiceMix Bridge Example</h1>
+
+<p>Welcome to the Bridge example for ServiceMix.</p>
+
+<p>Perform a POST into the HTTP binding. This requires JavaScript.</p> 
+<p>Target: <input type="text" size="50" id="urlToOpen" value=""><script type="text/javascript">document.getElementById("urlToOpen").value = urlToOpen;</script>.</p>
+
+
+<table>
+  <tr>
+    <td>
+  <textarea id="request" style="width:600px;height:400px" onKeyUp="send();"><?xml version="1.0" encoding="UTF-8"?>
+<e:Envelope xmlns:e="http://schemas.xmlsoap.org/soap/envelope/">
+  <e:Body>
+    <ping>
+      <pingRequest>
+        <message xmlns="http://soap">hel lo</message>
+      </pingRequest>
+    </ping>
+  </e:Body>
+</e:Envelope>
+
+  </textarea>
+    </td>
+    <td>
+  <textarea id="response" style="width:600px;height:400px">
+  </textarea>
+    </td>
+  </tr>
+  <tr>
+    <td colspan=2>
+  <input type="button" value="Send" onClick="send();"/>
+    </td>
+  </tr>
+</table>
+</body>
+</html>

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/client.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/client.html
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/client.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml?rev=763499&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml Thu Apr  9 02:53:03 2009
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+<!--
+
+    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.
+-->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.examples</groupId>
+        <artifactId>examples</artifactId>
+        <version>4.1.0-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.examples</groupId>
+    <artifactId>bridge-camel</artifactId>
+    <name>ServiceMix :: Examples :: Bridge :: Camel</name>
+    <packaging>pom</packaging>
+    
+    <modules>
+      <module>bridge-camel-su</module>
+      <module>bridge-camel-sa</module>
+    </modules>
+
+    <!-- Add ServiceMix repositories for snaphots and releases -->
+        <pluginRepositories>
+      <pluginRepository>
+        <id>apache.snapshots</id>
+        <name>Apache Snapshots Repository</name>
+        <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+        <snapshots>
+          <enabled>true</enabled>
+        </snapshots>
+        <releases>
+           <enabled>false</enabled>
+        </releases>
+      </pluginRepository>
+      <pluginRepository>
+        <id>apache.incubating</id>
+        <name>Apache Incubating Repository</name>
+        <url>http://people.apache.org/repo/m2-incubating-repository</url>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+        <releases>
+           <enabled>true</enabled>
+        </releases>
+      </pluginRepository>
+    </pluginRepositories>
+    <repositories>
+      <repository>
+        <id>apache.snapshots</id>
+        <name>Apache Snapshots Repository</name>
+        <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+        <snapshots>
+          <enabled>true</enabled>
+        </snapshots>
+        <releases>
+           <enabled>false</enabled>
+        </releases>
+      </repository>
+      <repository>
+        <id>apache.incubating</id>
+        <name>Apache Incubating Repository</name>
+        <url>http://people.apache.org/repo/m2-incubating-repository</url>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+        <releases>
+           <enabled>true</enabled>
+        </releases>
+      </repository>
+    </repositories>
+
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.1</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>src</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>src/main/assembly/src.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>
+

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: servicemix/smx4/features/trunk/examples/bridge-camel/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/bridge-camel/src/main/assembly/src.xml?rev=763499&view=auto
==============================================================================
--- servicemix/smx4/features/trunk/examples/bridge-camel/src/main/assembly/src.xml (added)
+++ servicemix/smx4/features/trunk/examples/bridge-camel/src/main/assembly/src.xml Thu Apr  9 02:53:03 2009
@@ -0,0 +1,40 @@
+<?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.
+
+-->
+<assembly>
+  <id>src</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <includes>
+        <include>README*</include>
+        <include>LICENSE*</include>
+        <include>NOTICE*</include>
+        <include>pom.xml</include>
+        <include>*.html</include>
+        <include>src/**/*</include>
+        <include>*/pom.xml</include>
+        <include>*/src/**/*</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</assembly>

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: servicemix/smx4/features/trunk/examples/bridge-camel/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: servicemix/smx4/features/trunk/examples/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/pom.xml?rev=763499&r1=763498&r2=763499&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/pom.xml (original)
+++ servicemix/smx4/features/trunk/examples/pom.xml Thu Apr  9 02:53:03 2009
@@ -34,6 +34,7 @@
 
     <modules>
         <module>bridge</module>
+        <module>bridge-camel</module>
         <module>camel</module>
         <module>cxf-wsdl-first</module>
         <module>wsdl-first</module>