camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Camel > Running Camel standalone
Date Sun, 09 Jan 2011 11:24:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1810/9/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/CAMEL/Running+Camel+standalone">Running
Camel standalone</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~davsclaus">Claus
Ibsen</a>
    </h4>
        <br/>
                         <h4>Changes (1)</h4>
                                 
    
<div id="page-diffs">
            <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >[Camel Maven Plugin] <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">And
check this [Cookbook] example: [Running Camel standalone and have it keep running] <br>
<br></td></tr>
            <tr><td class="diff-unchanged" >This is how you can run the [Examples]
that is included in the Camel distribution. <br>In Camel 1.4 we will also have ANT build.xml
files to quickly start the examples standalone. <br></td></tr>
        </table>
</div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h2><a name="RunningCamelstandalone-IsitpossibletostartCamelasastandaloneapplication%2Cwithoutembeddingitinanotherapplication%3F"></a>Is
it possible to start Camel as a standalone application, without embedding it in another application?</h2>

<p>Yes Camel can run standalone or in any container. Running Standalone is as simple
just to create a <a href="/confluence/display/CAMEL/CamelContext" title="CamelContext">CamelContext</a>,
add routes and start it. If you don't want to write your own java main, you could use the
one from <a href="/confluence/display/CAMEL/Spring" title="Spring">camel-spring</a>
(<a href="http://camel.apache.org/maven/current/camel-spring/apidocs/" class="external-link"
rel="nofollow">http://camel.apache.org/maven/current/camel-spring/apidocs/</a>) also
used by the <a href="/confluence/display/CAMEL/Camel+Maven+Plugin" title="Camel Maven Plugin">Camel
Maven Plugin</a>.</p>

<p>The starting guide is a good place to start:<br/>
<a href="/confluence/display/CAMEL/Getting+Started" title="Getting Started">Getting
Started</a></p>

<p>And the concrete walk through a plain old java main example:<br/>
<a href="/confluence/display/CAMEL/Walk+through+an+Example" title="Walk through an Example">Walk
through an Example</a></p>

<p>The FAQ have some more details:<br/>
<a href="/confluence/display/CAMEL/FAQ" title="FAQ">FAQ</a></p>

<p>And if you use Maven for your projects Camel has maven tools to boot up in standalone
mode and quickly run you Camel application:<br/>
<a href="/confluence/display/CAMEL/Camel+Maven+Plugin" title="Camel Maven Plugin">Camel
Maven Plugin</a></p>

<p>And check this <a href="/confluence/display/CAMEL/Cookbook" title="Cookbook">Cookbook</a>
example: <a href="/confluence/display/CAMEL/Running+Camel+standalone+and+have+it+keep+running"
title="Running Camel standalone and have it keep running">Running Camel standalone and
have it keep running</a></p>

<p>This is how you can run the <a href="/confluence/display/CAMEL/Examples" title="Examples">Examples</a>
that is included in the Camel distribution.<br/>
In Camel 1.4 we will also have ANT build.xml files to quickly start the examples standalone.</p>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/CAMEL/Running+Camel+standalone">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=85825&revisedVersion=8&originalVersion=7">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/CAMEL/Running+Camel+standalone?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message