Author: davsclaus
Date: Sat Jul 23 09:13:12 2011
New Revision: 1150075
URL: http://svn.apache.org/viewvc?rev=1150075&view=rev
Log:
CAMEL-4200: Removed ANT support for examples as we cant maintain and keep that
updated.
Removed:
camel/trunk/examples/camel-example-bam/build.xml
camel/trunk/examples/camel-example-cafe/build.xml
camel/trunk/examples/camel-example-cxf-proxy/build.xml
camel/trunk/examples/camel-example-cxf/build.xml
camel/trunk/examples/camel-example-docs/build.xml
camel/trunk/examples/camel-example-etl/build.xml
camel/trunk/examples/camel-example-guice-jms/build.xml
camel/trunk/examples/camel-example-jms-file/build.xml
camel/trunk/examples/camel-example-loan-broker/build.xml
camel/trunk/examples/camel-example-management/build.xml
camel/trunk/examples/camel-example-osgi/build.xml
camel/trunk/examples/camel-example-pojo-messaging/build.xml
camel/trunk/examples/camel-example-reportincident/build.xml
camel/trunk/examples/camel-example-spring-javaconfig/build.xml
camel/trunk/examples/camel-example-spring-jms/build.xml
camel/trunk/examples/camel-example-spring-xquery/build.xml
camel/trunk/examples/camel-example-spring/build.xml
camel/trunk/examples/camel-example-tracer/build.xml
camel/trunk/examples/common_build.xml
Modified:
camel/trunk/examples/README.txt
camel/trunk/examples/camel-example-bam/README.txt
camel/trunk/examples/camel-example-cafe/README.txt
camel/trunk/examples/camel-example-cxf-proxy/README.txt
camel/trunk/examples/camel-example-cxf/README.txt
camel/trunk/examples/camel-example-docs/README.txt
camel/trunk/examples/camel-example-etl/README.txt
camel/trunk/examples/camel-example-guice-jms/README.txt
camel/trunk/examples/camel-example-jms-file/README.txt
camel/trunk/examples/camel-example-jmx/README.txt
camel/trunk/examples/camel-example-loan-broker/README.txt
camel/trunk/examples/camel-example-management/README.txt
camel/trunk/examples/camel-example-osgi-rmi/README.txt
camel/trunk/examples/camel-example-pojo-messaging/README.txt
camel/trunk/examples/camel-example-reportincident/README.txt
camel/trunk/examples/camel-example-route-throttling/README.txt
camel/trunk/examples/camel-example-servlet-tomcat/README.txt
camel/trunk/examples/camel-example-simplejirabot/README.txt
camel/trunk/examples/camel-example-spring-javaconfig/README.txt
camel/trunk/examples/camel-example-spring-jms/README.txt
camel/trunk/examples/camel-example-spring-security/README.txt
camel/trunk/examples/camel-example-spring-ws/README.txt
camel/trunk/examples/camel-example-spring-xquery/README.txt
camel/trunk/examples/camel-example-spring/README.txt
camel/trunk/examples/camel-example-tracer/README.txt
Modified: camel/trunk/examples/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/README.txt (original)
+++ camel/trunk/examples/README.txt Sat Jul 23 09:13:12 2011
@@ -2,11 +2,10 @@ Welcome to the Apache Camel Examples!
=====================================
This directory contains the various examples for working with Apache
-Camel. The examples can be run using Maven or Ant. When using the Maven
+Camel. The examples can be run using Maven. When using the Maven
command, Maven will attempt to download the required dependencies from a
-central repository to your local repository. Using Ant to run the
-examples instead may require that you have additional products
-installed. View the individual example READMEs for details.
+central repository to your local repository.
+View the individual example READMEs for details.
They are described in detail here
http://camel.apache.org/examples.html
@@ -15,9 +14,8 @@ For details of how to run these examples
http://camel.apache.org/running-examples.html
Before you start we recommend you install a recent distribution of
-Maven, or Ant, which we use to run our examples
+Maven, which we use to run our examples
http://maven.apache.org/
- http://ant.apache.org/
If you hit any problems please let us know on the Camel Forums
http://camel.apache.org/discussion-forums.html
Modified: camel/trunk/examples/camel-example-bam/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-bam/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-bam/README.txt (original)
+++ camel/trunk/examples/camel-example-bam/README.txt Sat Jul 23 09:13:12 2011
@@ -2,7 +2,7 @@ BAM Example
===========
This example shows how to perform Business Activity Monitoring (BAM)
-with Camel. It can be run using Maven or Ant.
+with Camel.
You will need to compile this example first:
mvn compile
@@ -13,29 +13,6 @@ For a background in BAM see
To run the example with Maven, type
mvn camel:run
-To run the example with Ant
- a. You need to have Hibernate Core, Entity Manager and HSQLDB installed.
- They can be downloaded from the following locations
- Hibernate Core 3.2.6 GA
- http://www.hibernate.org
- Hibernate Entity Manager 3.2.0.GA
-
http://prdownloads.sourceforge.net/hibernate/hibernate-entitymanager-3.2.0.GA.zip?download
- HSQLDB
- http://hsqldb.org/
-
- b. Export / Set home directories for the above as follows
- UNIX
- export HIBERNATE_CORE_HOME=<path to Hibernate install directory>
- export HIBERNATE_EM_HOME=<path to Hibernate EM install directory>
- export HSQLDB_HOME=<path to HSQLDB install directory>
- Windows
- set HIBERNATE_CORE_HOME=<path to Hibernate install directory>
- set HIBERNATE_EM_HOME=<path to Hibernate EM install directory>
- set HSQLDB_HOME=<path to HSQLDB install directory>
-
- c. To Run the example using Ant, type
- ant
-
You can see the BAM activies defined in
src/main/java/org/apache/camel/example/bam/MyActivites.java
Modified: camel/trunk/examples/camel-example-cafe/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cafe/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cafe/README.txt (original)
+++ camel/trunk/examples/camel-example-cafe/README.txt Sat Jul 23 09:13:12 2011
@@ -2,7 +2,6 @@ Cafe Example
==============
This example shows how to work with splitter and aggregator to implement a
Cafe demo.
-It can be run using Maven or Ant.
You will need to compile this example first:
mvn compile
@@ -10,11 +9,6 @@ You will need to compile this example fi
To run the example type
mvn exec:java
-To run the example with Ant
-
- To Run the example using Ant, type
- ant
-
You can see the routing rules by looking at the java code in the
src/main/java directory and the Spring XML configuration lives in
src/main/resources/META-INF/spring
Modified: camel/trunk/examples/camel-example-cxf-proxy/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf-proxy/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cxf-proxy/README.txt (original)
+++ camel/trunk/examples/camel-example-cxf-proxy/README.txt Sat Jul 23 09:13:12
2011
@@ -3,9 +3,6 @@ CXF WebService Proxy example
An example which proxies a real webservice by a Camel application using
camel-cxf component
-It can be run using
-Maven or Ant.
-
You will need to compile this example first:
mvn compile
@@ -18,35 +15,9 @@ The proxied webservice is located at
The real webservice is located at
http://localhost:9081/real-webservice
-
-To run the example with Ant
- a. You need to have Apache CXF, Spring and Jetty installed. They can be
- downloaded from the following locations
- Apache CXF
- http://cxf.apache.org/
- Spring
- http://www.springframework.org/
- Jetty
- http://www.eclipse.org/jetty/
-
-
- b. Export / Set home directories for the above as follows
- UNIX
- export CXF_HOME=<path to CXF install directory>
- export SPRING_HOME=<path to Spring install directory>
- export JETTY_HOME=<path to Jetty install directory>
- Windows
- set CXF_HOME=<path to CXF install directory>
- set SPRING_HOME=<path to Spring install directory>
- set JETTY_HOME=<path to Jetty install directory>
-
- c. To Run using Ant, type
- ant run
-
The webservice WSDL is exposed at:
http://localhost:9080/camel-example-cxf-proxy/webservices/incident?wsdl
-
To stop the example hit ctrl + c
This example is documented at
Modified: camel/trunk/examples/camel-example-cxf/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-cxf/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-cxf/README.txt (original)
+++ camel/trunk/examples/camel-example-cxf/README.txt Sat Jul 23 09:13:12 2011
@@ -1,8 +1,7 @@
CXF Example
===========
-This example shows how to work with CXF and Camel. It can be run using
-Maven or Ant.
+This example shows how to work with CXF and Camel.
You will need to compile this example first:
mvn compile
@@ -27,45 +26,6 @@ To run the example within ServiceMix 4
mvn exec:java -PWebServiceProvider.Client
mvn exec:java -PJAXRS.Client
-
-To run the example with Ant
- a. You need to have Apache ActiveMQ , Apache CXF, Spring and Jetty
installed. They can be
- downloaded from the following locations
- Apache ActiveMQ
- http://activemq.apache.org/
- Apache CXF
- http://cxf.apache.org/
- Spring
- http://www.springframework.org/
- Jetty
- http://www.eclipse.org/jetty/
-
-
- b. Export / Set home directories for the above as follows
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- export CXF_HOME=<path to CXF install directory>
- export SPRING_HOME=<path to Spring install directory>
- export JETTY_HOME=<path to Jetty install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- set CXF_HOME=<path to CXF install directory>
- set SPRING_HOME=<path to Spring install directory>
- set JETTY_HOME=<path to Jetty install directory>
-
- c. To Run example of routing between different transport type using Ant, type
- ant
-
- To run the example of Camel transport type
- ant runCamelTransport
-
- To run the example of using WebServiceProvider API
- ant runWebServiceProvider
-
- To run the example of showing how to create CXF JAXRS endpoint
- ant runJAXRS
-
-
To stop the example hit ctrl + c
This example is documented at
Modified: camel/trunk/examples/camel-example-docs/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-docs/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-docs/README.txt (original)
+++ camel/trunk/examples/camel-example-docs/README.txt Sat Jul 23 09:13:12 2011
@@ -23,9 +23,6 @@ To run the example using Maven and gener
The reports should be generated in
target/site/cameldoc/index.html
-To run the example using Ant and generate the documentation type
- ant
-
If the dot executable is in your path, .svg images will be generated for
any .dot files under
target/site/cameldoc
Modified: camel/trunk/examples/camel-example-etl/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-etl/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-etl/README.txt (original)
+++ camel/trunk/examples/camel-example-etl/README.txt Sat Jul 23 09:13:12 2011
@@ -1,8 +1,7 @@
Extract Transform Load (ETL) Example
====================================
-This example shows how to use Camel as an ETL tool. It can be run using
-Maven or Ant
+This example shows how to use Camel as an ETL tool
http://camel.apache.org/etl.html
For a full description of this example please see
@@ -14,33 +13,6 @@ You will need to compile this example fi
To run the example type
mvn camel:run
-To run the example with Ant
- a. You need to have Hibernate Core, Entity Manager, HSQLDB and Juel
- installed. They can be downloaded from the following locations
- Hibernate Core 3.2.6 GA
- http://www.hibernate.org
- Hibernate Entity Manager 3.2.0.GA
-
http://prdownloads.sourceforge.net/hibernate/hibernate-entitymanager-3.2.0.GA.zip?download
- HSQLDB
- http://hsqldb.org/
- Juel
- http://juel.sourceforge.net/
-
- b. Export / Set home directories for the above as follows
- UNIX
- export HIBERNATE_CORE_HOME=<path to Hibernate install directory>
- export HIBERNATE_EM_HOME=<path to Hibernate EM install directory>
- export HSQLDB_HOME=<path to HSQLDB install directory>
- export JUEL_HOME=<path to Juel install directory>
- Windows
- set HIBERNATE_CORE_HOME=<path to Hibernate install directory>
- set HIBERNATE_EM_HOME=<path to Hibernate EM install directory>
- set HSQLDB_HOME=<path to HSQLDB install directory>
- set JUEL_HOME=<path to Juel install directory>
-
- c. To Run the example using Ant, type
- ant
-
You can see the routing rules by looking at the java code in the src/main/java
directory and the Spring XML configuration lives in
src/main/resources/META-INF/spring
Modified: camel/trunk/examples/camel-example-guice-jms/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-guice-jms/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-guice-jms/README.txt (original)
+++ camel/trunk/examples/camel-example-guice-jms/README.txt Sat Jul 23 09:13:12
2011
@@ -2,7 +2,7 @@ Guice Example
=============
This example shows how to work with files and JMS, using Guice to boot up
-Camel and configure the routes. It can be run using Maven or Ant.
+Camel and configure the routes.
The example consumes messages from a queue and writes them to the file
system.
@@ -13,30 +13,6 @@ You will need to compile this example fi
To run the example type
mvn exec:java
-To run the example with Ant
- a. You need to have Apache ActiveMQ installed. It can be downloaded from
- http://activemq.apache.org/
-
- b. Export / Set ACTIVEMQ_HOME to the top level Apache ActiveMQ intall
- directory
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
-
- c. You need to have Guiceyfruit installed. It can be downloaded from
- http://code.google.com/p/guiceyfruit/
-
- d. Export / Set GUICE_HOME to the top level Guiceyfruit intall
- directory
- UNIX
- export GUICE_HOME=<path to Guiceyfruit install directory>
- Windows
- set GUICE_HOME=<path to Guiceyfruit install directory>
-
- e. To Run the example using Ant, type
- ant
-
You can see the routing rules by looking at the java code in the
src/main/java directory and the guicejndi.properties file lives in
src/main/resources/guicejndi.properties
Modified: camel/trunk/examples/camel-example-jms-file/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-jms-file/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-jms-file/README.txt (original)
+++ camel/trunk/examples/camel-example-jms-file/README.txt Sat Jul 23 09:13:12
2011
@@ -1,8 +1,7 @@
JMS & File Example
==================
-This example shows how to work with files and JMS. It can be run using
-Maven or Ant.
+This example shows how to work with files and JMS.
The example consumes messages from a queue and writes them to the file
system.
@@ -18,20 +17,6 @@ To run the example inside ServiceMix 4
then start the client to send the JMS message to camel route service
mvn exec:java -PClient
-To run the example with Ant
- a. You need to have Apache ActiveMQ installed. It can be downloaded from
- http://activemq.apache.org/
-
- b. Export / Set ACTIVEMQ_HOME to the top level Apache ActiveMQ install
- directory
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
-
- c. To run the example using Ant, type
- ant
-
To stop the example hit ctrl + c
This example is documented at
Modified: camel/trunk/examples/camel-example-jmx/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-jmx/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-jmx/README.txt (original)
+++ camel/trunk/examples/camel-example-jmx/README.txt Sat Jul 23 09:13:12 2011
@@ -2,7 +2,6 @@ JMX Example
===========
This example shows how to work with the Camel-JMX component.
-It can be run using Maven.
The example creates a simple MBean, registers a route to listen for
notification events on that bean and creates another route that calls
@@ -14,7 +13,6 @@ You will need to compile this example fi
To run the example type
mvn camel:run
-
You can see the routing rules by looking at the java code in the
src/main/java directory and the Spring XML configuration lives in
src/main/resources/META-INF/spring
Modified: camel/trunk/examples/camel-example-loan-broker/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-loan-broker/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-loan-broker/README.txt (original)
+++ camel/trunk/examples/camel-example-loan-broker/README.txt Sat Jul 23
09:13:12 2011
@@ -2,7 +2,6 @@ Loan Broker Example
====================
This example shows how to use Camel to implement the EIP's loan broker example.
-It can be run using Maven.
The example has two version, one is queue version which leverages the message
queue to combine the credit agency and bank loan quote processing and it
@@ -21,39 +20,6 @@ The exmple of WebServices version
mvn exec:java -PWS.LoanBroker
mvn exec:java -PWS.Client
-To run the example with Ant
- a. You need to have Apache ActiveMQ , Apache CXF and Spring installed. They
can be
- downloaded from the following locations
- Apache ActiveMQ
- http://activemq.apache.org/
- Apache CXF
- http://cxf.apache.org/
- Spring
- http://www.springframework.org/download
-
-
- b. Export / Set home directories for the above as follows
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- export CXF_HOME=<path to CXF install directory>
- export SPRING_HOME=<path to Spring install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- set CXF_HOME=<path to CXF install directory>
- set SPRING_HOME=<path to Spring install directory>
-
- c. To Run the server of the example of WebServices version using Ant, type
- ant
-
- To Run the client of the example of WebServices version using Ant, type
- ant runWebClient
-
- To run the server of the example of Queue version using Ant , type
- ant runQueueServer
-
- To run the client of the example of Queue version using Ant , type
- ant runQueueClient
-
To stop the example hit ctrl + c
This example is documented at
Modified: camel/trunk/examples/camel-example-management/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-management/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-management/README.txt (original)
+++ camel/trunk/examples/camel-example-management/README.txt Sat Jul 23
09:13:12 2011
@@ -2,7 +2,6 @@ Camel JMX Management
====================
This example shows how to manage Camel using JMX (with jconsole)
-It can be run using Maven.
The example uses a timer to every 5th second to generate a file with 100 stock
quotes.
@@ -35,15 +34,12 @@ the JMS consumer is restarted. So do a s
What you should see is that Camel should be able to process the files much
faster now and the logger should
output a higher throughput.
-
-
You will need to compile this example first:
mvn compile
To run the example type
mvn camel:run
-
To use jconsole type
jconsole
@@ -53,21 +49,6 @@ If its missing you can click on the adva
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi/camel
(some older versions of Java does not list the local processes)
-
-To run the example with Ant
- a. You need to have Apache ActiveMQ installed. It can be downloaded from
- http://activemq.apache.org/
-
- b. Export / Set ACTIVEMQ_HOME to the top level Apache ActiveMQ intall
- directory
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
-
- c. To Run the example using Ant, type
- ant
-
You can see the routing rules by looking at the java code in the
src/main/java directory and the Spring XML configuration lives in
src/main/resources/META-INF/spring
Modified: camel/trunk/examples/camel-example-osgi-rmi/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-osgi-rmi/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-osgi-rmi/README.txt (original)
+++ camel/trunk/examples/camel-example-osgi-rmi/README.txt Sat Jul 23 09:13:12
2011
@@ -2,7 +2,6 @@ Camel and RMI
=============
This example shows how to work with the Camel-RMI Component.
-It can be run using Maven.
The example exposes a RMI service over port 37541 running as a Camel
application.
The Camel application must be running.
@@ -29,9 +28,9 @@ First the camel-rmi feature must be inst
Then install the example
- osgi:install mvn:org.apache.camel/camel-example-osgi-rmi/2.7.0
+ osgi:install mvn:org.apache.camel/camel-example-osgi-rmi/2.8.0
- (substitute 2.7.0 with the Camel version number)
+ (substitute 2.8.0 with the Camel version number)
Then start the bundle by starting the id it was assigned during installation
Modified: camel/trunk/examples/camel-example-pojo-messaging/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-pojo-messaging/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-pojo-messaging/README.txt (original)
+++ camel/trunk/examples/camel-example-pojo-messaging/README.txt Sat Jul 23
09:13:12 2011
@@ -3,29 +3,13 @@ POJO Messaging Example
This example shows that you don't need to learn Camel's super cool DSLs
if you don't want to. Camel has a set of annotations that allow you to
-produce, consume or route messages to endpoints. You can run it using
-Maven or Ant.
+produce, consume or route messages to endpoints.
The example should run if you type
mvn compile camel:run
-To run the example with Ant
- a. You need to have Apache ActiveMQ installed. It can be downloaded from
- http://activemq.apache.org/
-
- b. Export / Set ACTIVEMQ_HOME to the top level Apache ActiveMQ install
- directory
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
-
- c. To run the example using Ant, type
- ant
-
To stop the example hit ctrl + c
-
This example is documented at
http://camel.apache.org/pojo-messaging-example.html
Modified: camel/trunk/examples/camel-example-reportincident/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident/README.txt (original)
+++ camel/trunk/examples/camel-example-reportincident/README.txt Sat Jul 23
09:13:12 2011
@@ -4,9 +4,6 @@ Report Incident Example
An example based on real life use case for reporting incidents using webservice
that are transformed and send as emails to a backing system
-It can be run using
-Maven or Ant.
-
You will need to compile this example first:
mvn compile
@@ -16,30 +13,6 @@ To run the example type
The webservice will be listed in this overview:
http://localhost:9080/webservices/
-
-To run the example with Ant
- a. You need to have Apache CXF, Spring and Jetty installed. They can be
- downloaded from the following locations
- Apache CXF
- http://cxf.apache.org/
- Spring
- http://www.springframework.org/download
- Jetty
- http://www.eclipse.org/jetty/
-
- b. Export / Set home directories for the above as follows
- UNIX
- export CXF_HOME=<path to CXF install directory>
- export SPRING_HOME=<path to Spring install directory>
- export JETTY_HOME=<path to Jetty install directory>
- Windows
- set CXF_HOME=<path to CXF install directory>
- set SPRING_HOME=<path to Spring install directory>
- set JETTY_HOME=<path to Jetty install directory>
-
- c. To Run using Ant, type
- ant run
-
The webservice WSDL is exposed at:
http://localhost:9080/webservices/incident?wsdl
Modified: camel/trunk/examples/camel-example-route-throttling/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-route-throttling/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-route-throttling/README.txt (original)
+++ camel/trunk/examples/camel-example-route-throttling/README.txt Sat Jul 23
09:13:12 2011
@@ -6,8 +6,6 @@ A route policy allows you to associate a
throttling policy which allows Camel to dynamic throttle the route consumer
depending on the number of concurrent messages current in flight.
-The example can be run using Maven.
-
The Server is required to be running when you start the client.
You can see on the server it should log in the console how it adjust the
throttling dynamically.
@@ -31,7 +29,6 @@ The example should run if you type:
To stop the example hit ctrl + c
-
This example is documented at
http://camel.apache.org/route-throttling-example.html
Modified: camel/trunk/examples/camel-example-servlet-tomcat/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-servlet-tomcat/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-servlet-tomcat/README.txt (original)
+++ camel/trunk/examples/camel-example-servlet-tomcat/README.txt Sat Jul 23
09:13:12 2011
@@ -3,8 +3,6 @@ Camel Servlet and Apache Tomcat example
An example which shows how to use the Camel Servlet with Apache Tomcat.
-It can be run using Maven.
-
You will need to package this example first:
mvn package
@@ -17,7 +15,6 @@ And then hit this url from a webbrowser
The servlet is located at (use correct version number)
http://localhost:8080/camel-example-tomcat-2.7/camel
-
This example is documented at
http://camel.apache.org/servlet-tomcat-example.html
Modified: camel/trunk/examples/camel-example-simplejirabot/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-simplejirabot/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-simplejirabot/README.txt (original)
+++ camel/trunk/examples/camel-example-simplejirabot/README.txt Sat Jul 23
09:13:12 2011
@@ -2,7 +2,6 @@ Camel-RSS to Camel-IRC Example
==============================
This example shows how to work with the Camel-RSS and Camel-irc components.
-It can be run using Maven.
The example creates a route that pulls from the Jira RSS feed for Camel,
extracts the title then sends that to the irc endpoint which posts it in an
IRC channel.
@@ -26,7 +25,6 @@ src/main/resources/META-INF/spring in ea
To stop the example hit ctrl + c
-
This example is documented at
http://camel.apache.org/simple-jira-bot.html
Modified: camel/trunk/examples/camel-example-spring-javaconfig/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-spring-javaconfig/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-spring-javaconfig/README.txt (original)
+++ camel/trunk/examples/camel-example-spring-javaconfig/README.txt Sat Jul 23
09:13:12 2011
@@ -2,7 +2,7 @@ Spring Java Config Example
==============
This example shows how to work with files and JMS, using Spring Java Config
-to boot up Camel and configure the routes. It can be run using Maven or Ant.
+to boot up Camel and configure the routes.
The example consumes messages from a queue and writes them to the file
system.
@@ -13,27 +13,12 @@ You will need to compile this example fi
To run the example type
mvn camel:run
-To run the example with Ant
- a. You need to have Spring, and Apache ActiveMQ installed. It can be
downloaded from
- http://activemq.apache.org/
-
- b. Export / Set ACTIVEMQ_HOME to the top level Apache ActiveMQ intall
- directory
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
-
- c. To Run the example using Ant, type
- ant
-
You can see the routing rules by looking at the java code in the
src/main/java directory and the Spring XML configuration lives in
src/main/resources/META-INF/spring
To stop the example hit ctrl + c
-
This example is documented at
http://camel.apache.org/spring-java-config-example.html
Modified: camel/trunk/examples/camel-example-spring-jms/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-spring-jms/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-spring-jms/README.txt (original)
+++ camel/trunk/examples/camel-example-spring-jms/README.txt Sat Jul 23
09:13:12 2011
@@ -2,7 +2,6 @@ Spring & JMS Example
====================
This example shows how to work with the Camel-JMS Component.
-It can be run using Maven.
The example consumes messages from a queue and invoke the bean
with the received message.
@@ -33,23 +32,8 @@ The example should run if you type:
You can stack the maven goals so you can compile and execute it in one command:
mvn compile exec:java -PCamelServer
-To run the example with Ant
- a. You need to have Apache ActiveMQ installed. It can be downloaded from
- http://activemq.apache.org/
-
- b. Export / Set ACTIVEMQ_HOME to the top level Apache ActiveMQ install
- directory
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
-
- c. To run the example using Ant, type
- ant
-
To stop the example hit ctrl + c
-
This example is documented at
http://camel.apache.org/tutorial-jmsremoting.html
Modified: camel/trunk/examples/camel-example-spring-security/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-spring-security/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-spring-security/README.txt (original)
+++ camel/trunk/examples/camel-example-spring-security/README.txt Sat Jul 23
09:13:12 2011
@@ -2,7 +2,6 @@ Camel Spring Security Example
=============
This example shows how to leverage the Spring Security to secure the camel
endpoint.
-It can be run using Maven.
The example consumes messages from a servlet endpoint which is secured by
Spring Security
with http basic authentication, there are two service:
@@ -21,7 +20,6 @@ Then you can use the script in the clien
or use browser to access upper urls with the user/password
("jim/jimspassword" with the admin and user role or "rob/robspassword" with
user role).
-
This example is documented at
http://camel.apache.org/spring-security-example.html
Modified: camel/trunk/examples/camel-example-spring-ws/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-spring-ws/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-spring-ws/README.txt (original)
+++ camel/trunk/examples/camel-example-spring-ws/README.txt Sat Jul 23 09:13:12
2011
@@ -2,7 +2,6 @@ Camel Spring Web Services Example
=============
This example shows how to expose a SOAP-based web service using Camel and
Spring Web Services.
-It can be run using Maven.
The web service endpoint address is:
"http://localhost:8080/increment"
@@ -21,7 +20,6 @@ To stop the server hit ctrl + c
You can test the web service using for example SOAP-UI. This excellent tool is
freely available from http://www.soapui.org.
There's a ready to use SOAP-UI project available in the "client" directory.
-
This example is documented at
http://camel.apache.org/spring-ws-example.html
Modified: camel/trunk/examples/camel-example-spring-xquery/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-spring-xquery/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-spring-xquery/README.txt (original)
+++ camel/trunk/examples/camel-example-spring-xquery/README.txt Sat Jul 23
09:13:12 2011
@@ -8,7 +8,7 @@ This example shows how to
* use Spring XML to configure all routing rules and components
The example consumes messages from a directory, transforms them, then sends
-them to a queue. It can be run using either Maven or Ant.
+them to a queue.
You will need to compile this example first:
mvn compile
@@ -16,30 +16,11 @@ You will need to compile this example fi
To run the example using Maven, type
mvn camel:run
-To run the example with Ant
- a. You need to have Apache ActiveMQ and Saxon installed. They can be
- downloaded from the following locations
- Apache ActiveMQ
- http://activemq.apache.org/
- Saxon
- http://saxon.sourceforge.net/
-
- b. Export / Set home directories for the above as follows
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- export SAXON_HOME=<path to Saxon install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- set SAXON_HOME=<path to Saxon install directory>
-
- c. To Run the example using Ant, type ant
-
You can see the routing rules by looking at the the Spring XML configuration
at src/main/resources/META-INF/spring
To stop the example hit ctrl + c
-
This example is documented at
http://camel.apache.org/spring-xquery-example.html
Modified: camel/trunk/examples/camel-example-spring/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-spring/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-spring/README.txt (original)
+++ camel/trunk/examples/camel-example-spring/README.txt Sat Jul 23 09:13:12
2011
@@ -2,7 +2,7 @@ Spring Example
==============
This example shows how to work with files and JMS, using Spring to boot up
-Camel and configure the routes. It can be run using Maven or Ant.
+Camel and configure the routes.
The example consumes messages from a queue and writes them to the file
system.
@@ -13,27 +13,12 @@ You will need to compile this example fi
To run the example type
mvn camel:run
-To run the example with Ant
- a. You need to have Apache ActiveMQ installed. It can be downloaded from
- http://activemq.apache.org/
-
- b. Export / Set ACTIVEMQ_HOME to the top level Apache ActiveMQ intall
- directory
- UNIX
- export ACTIVEMQ_HOME=<path to ActiveMQ install directory>
- Windows
- set ACTIVEMQ_HOME=<path to ActiveMQ install directory>
-
- c. To Run the example using Ant, type
- ant
-
You can see the routing rules by looking at the java code in the
src/main/java directory and the Spring XML configuration lives in
src/main/resources/META-INF/spring
To stop the example hit ctrl + c
-
This example is documented at
http://camel.apache.org/spring-example.html
Modified: camel/trunk/examples/camel-example-tracer/README.txt
URL:
http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-tracer/README.txt?rev=1150075&r1=1150074&r2=1150075&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-tracer/README.txt (original)
+++ camel/trunk/examples/camel-example-tracer/README.txt Sat Jul 23 09:13:12
2011
@@ -2,7 +2,6 @@ Tracer Example
==============
This example shows how to persist Camel trace event messages into a database
using JPA.
-It can be run using Maven or Ant.
You will need to compile this example first:
mvn compile
@@ -14,36 +13,12 @@ For a background in tracer and JPA see
To run the example with Maven, type
mvn camel:run
-To run the example with Ant
- a. You need to have Hibernate Core, Entity Manager and HSQLDB installed.
- They can be downloaded from the following locations
- Hibernate Core 3.2.6 GA
- http://www.hibernate.org
- Hibernate Entity Manager 3.2.0.GA
-
http://prdownloads.sourceforge.net/hibernate/hibernate-entitymanager-3.2.0.GA.zip?download
- HSQLDB
- http://hsqldb.org/
-
- b. Export / Set home directories for the above as follows
- UNIX
- export HIBERNATE_CORE_HOME=<path to Hibernate install directory>
- export HIBERNATE_EM_HOME=<path to Hibernate EM install directory>
- export HSQLDB_HOME=<path to HSQLDB install directory>
- Windows
- set HIBERNATE_CORE_HOME=<path to Hibernate install directory>
- set HIBERNATE_EM_HOME=<path to Hibernate EM install directory>
- set HSQLDB_HOME=<path to HSQLDB install directory>
-
- c. To Run the example using Ant, type
- ant
-
In the HSQL Database Explorer type
select * from camel_messagetraced
to see the trace events of the Exchanges. Notice how the Exchange correlates
with
fromNode/toNode so you exactly can see how a given Exchange was routed in
Camel.
-
Using the query:
select shortExchangeId, previousNode, toNode, body from camel_messagetraced
order by id
@@ -60,7 +35,6 @@ to return as response in the console.
To stop the example hit ctrl + c
-
This example is documented at
http://camel.apache.org/tracer-example.html