You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/04/30 10:30:27 UTC

[camel] branch master updated: Polished examples

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new d67bdc0  Polished examples
d67bdc0 is described below

commit d67bdc08b924bef4370570a9067160d8712095d7
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Apr 30 12:30:16 2019 +0200

    Polished examples
---
 examples/README.adoc                          | 14 +++++++++-----
 examples/camel-example-billboard-aggr/pom.xml |  5 +----
 examples/camel-example-spring-pulsar/pom.xml  | 11 +++--------
 3 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/examples/README.adoc b/examples/README.adoc
index b55d328..ca65382 100644
--- a/examples/README.adoc
+++ b/examples/README.adoc
@@ -11,7 +11,7 @@ View the individual example READMEs for details.
 ### Examples
 
 // examples: START
-Number of Examples: 107 (0 deprecated)
+Number of Examples: 109 (0 deprecated)
 
 [width="100%",cols="4,2,4",options="header"]
 |===
@@ -21,8 +21,6 @@ Number of Examples: 107 (0 deprecated)
 
 | link:camel-example-bigxml-split/README.md[Bigxml Split] (camel-example-bigxml-split) |  | How to deal with big XML files in Camel
 
-| link:camel-example-billboard-aggr/README.md[Billboard Aggr] (camel-example-billboard-aggr) |  | Billboard aggregation example
-
 | link:camel-example-telegram/README.adoc[Telegram] (camel-example-telegram) |  | An example that uses Telegram API
 
 | link:camel-example-webhook/readme.adoc[Webhook] (camel-example-webhook) |  | Example on how to use the Camel Webhook component
@@ -94,6 +92,8 @@ Number of Examples: 107 (0 deprecated)
 
 | link:camel-example-jdbc/README.md[JDBC] (camel-example-jdbc) | Database | An example for showing Camel using JDBC component
 
+| link:camel-example-jooq/README.adoc[JOOQ] (camel-example-jooq) | Database | An example for showing Camel using JOOQ component
+
 | link:camel-example-mybatis/README.md[MyBatis] (camel-example-mybatis) | Database | An example for showing Camel using MyBatis SQL mapper component
 
 | link:camel-example-spring-boot-rest-jpa/README.md[Spring Boot REST JPA] (camel-example-spring-boot-rest-jpa) | Database | An example demonstrating how to use Camel REST DSL with JPA to expose a RESTful API that performs CRUD
@@ -102,6 +102,10 @@ Number of Examples: 107 (0 deprecated)
 
 | link:camel-example-aggregate/README.md[Aggregate] (camel-example-aggregate) | EIP | Demonstrates the persistent support for the Camel aggregator
 
+| link:camel-example-artemis/README.md[Widget Gadget using Apache Artemis] (camel-example-artemis) | EIP | The widget and gadget example from the EIP book using Apache Artemis
+
+| link:camel-example-billboard-aggr/README.md[Billboard Aggr] (camel-example-billboard-aggr) | EIP | Billboard aggregation example
+
 | link:camel-example-cafe/README.md[Cafe] (camel-example-cafe) | EIP | A cafe example showing how to work with Camel
 
 | link:camel-example-hystrix/README.md[Hystrix] (camel-example-hystrix) | EIP | An example showing how to use Hystrix EIP as circuit breaker in Camel routes
@@ -186,6 +190,8 @@ Number of Examples: 107 (0 deprecated)
 | link:camel-example-spring-jms/README.md[Spring JMS] (camel-example-spring-jms) | Messaging | An example using Spring XML to talk to the JMS server from different kind of client techniques
     
 
+| link:camel-example-spring-pulsar/README.md[Spring Pulsar] (camel-example-spring-pulsar) | Messaging | An example using Spring XML to talk to the Pulsar server from different kind of client techniques
+
 | link:camel-example-cxf-blueprint/README.md[CXF Blueprint] (camel-example-cxf-blueprint) | OSGi | An example which use a CXF consumer and the OSGI HTTP Service
 
 | link:camel-example-ehcache-blueprint/README.md[EHCache OSGi] (camel-example-ehcache-blueprint) | OSGi | An example using EHCache with OSGi Blueprint
@@ -230,8 +236,6 @@ Number of Examples: 107 (0 deprecated)
 
 | link:camel-example-spring-security/README.md[Spring Security] (camel-example-spring-security) | Security | An example showing how to work with Camel and Spring Security
 
-| link:camel-example-simplejirabot/README.md[JIRA Bot] (camel-example-simplejirabot) | Social | An example showing how to work with RSS and IRC endpoints
-
 | link:camel-example-twitter-salesforce/README.md[Twitter Salesforce] (camel-example-twitter-salesforce) | Social | Twitter mentions is created as contacts in Salesforce
 
 | link:camel-example-twitter-websocket/README.md[Twitter Websocket] (camel-example-twitter-websocket) | Social | An example that pushes new tweets to a web page using web-socket
diff --git a/examples/camel-example-billboard-aggr/pom.xml b/examples/camel-example-billboard-aggr/pom.xml
index f5b4e69..cf98b44 100644
--- a/examples/camel-example-billboard-aggr/pom.xml
+++ b/examples/camel-example-billboard-aggr/pom.xml
@@ -34,10 +34,7 @@
     <description>Billboard aggregation example</description>
 
     <properties>
-        <maven.compiler.source>1.8</maven.compiler.source>
-        <maven.compiler.target>1.8</maven.compiler.target>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+        <category>EIP</category>
     </properties>
 
     <dependencies>
diff --git a/examples/camel-example-spring-pulsar/pom.xml b/examples/camel-example-spring-pulsar/pom.xml
index 4fc795c..a58d53b 100644
--- a/examples/camel-example-spring-pulsar/pom.xml
+++ b/examples/camel-example-spring-pulsar/pom.xml
@@ -28,15 +28,15 @@
     <packaging>jar</packaging>
     <name>Camel :: Example :: Spring :: Pulsar</name>
     <description>An example using Spring XML to talk to the Pulsar server from different kind of client techniques</description>
+
     <properties>
         <camel.osgi.export.pkg>org.apache.camel.example.server.*</camel.osgi.export.pkg>
         <camel.osgi.import.additional>org.apache.activemq.xbean</camel.osgi.import.additional>
         <skipTests>true</skipTests>
+        <category>Messaging</category>
     </properties>
 
     <dependencies>
-        <!-- START SNIPPET: e1 -->
-        <!-- required by both client and server -->
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-core</artifactId>
@@ -48,19 +48,14 @@
         <dependency>
             <groupId>org.apache.camel</groupId>
             <artifactId>camel-pulsar</artifactId>
-            <version>3.0.0-SNAPSHOT</version>
         </dependency>
-        <!-- END SNIPPET: e1 -->
 
-        <!-- START SNIPPET: e2 -->
         <!-- xbean is required for ActiveMQ broker configuration in the spring xml file -->
         <dependency>
             <groupId>org.apache.xbean</groupId>
             <artifactId>xbean-spring</artifactId>
         </dependency>
-        <!-- END SNIPPET: e2 -->
-
-        <!-- for logging using log4j.properties in src/main/resources -->
+ 
                     <!-- logging -->
                     <dependency>
                         <groupId>org.apache.logging.log4j</groupId>