You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Gnanaguru S <gn...@wipro.com> on 2011/11/09 15:39:16 UTC

Camel example execution

Hi

When i look the example camel-example-cxf . I am seeing this in readme

To run the example of routing between different transport type
*  mvn exec:java -PHttpToJMS*

To run the example of Camel transport type
*  mvn exec:java -PCamelTransport*

To run the example of using WebServiceProvider API
*  mvn exec:java -PWebServiceProvider*
  
To run the example of showing how to create CXF JAXRS endpoint
*  mvn exec:java -PJAXRS*

In what way these execution differ ?. It is not using ESB like SMX then how,
Is it using Java ?. If java , among the four which is pure java. Confused !

Regards
Guru


--
View this message in context: http://camel.465427.n5.nabble.com/Camel-example-execution-tp4977857p4977857.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel example execution

Posted by Christian Müller <ch...@gmail.com>.
The -P option enables different profiles in Maven. If you have a look into
[1] you can see that we defined different main classes for the different
profiles.

[1]
https://svn.apache.org/repos/asf/camel/trunk/examples/camel-example-cxf/pom.xml

Best,
Christian

On Wed, Nov 9, 2011 at 6:39 AM, Gnanaguru S <gnanaguru.sattanathan@wipro.com
> wrote:

>
> Hi
>
> When i look the example camel-example-cxf . I am seeing this in readme
>
> To run the example of routing between different transport type
> *  mvn exec:java -PHttpToJMS*
>
> To run the example of Camel transport type
> *  mvn exec:java -PCamelTransport*
>
> To run the example of using WebServiceProvider API
> *  mvn exec:java -PWebServiceProvider*
>
> To run the example of showing how to create CXF JAXRS endpoint
> *  mvn exec:java -PJAXRS*
>
> In what way these execution differ ?. It is not using ESB like SMX then
> how,
> Is it using Java ?. If java , among the four which is pure java. Confused !
>
> Regards
> Guru
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Camel-example-execution-tp4977857p4977857.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>