camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Confluence)" <conflue...@apache.org>
Subject [CONF] Apache Camel > Running Camel standalone
Date Tue, 05 Nov 2013 22:22:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/en/2176/1/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" > <br>This is how you can run
the [Examples] that is included in the Camel distribution. <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">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.</p>

    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="https://cwiki.apache.org/confluence/users/removespacenotification.action?spaceKey=CAMEL">Stop
watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://cwiki.apache.org/confluence/users/editmyemailsettings.action">Change
email 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=9&originalVersion=8">View
Changes</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message