camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Confluence)" <>
Subject [CONF] Apache Camel > Running Camel standalone
Date Tue, 05 Nov 2013 22:22:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/en/2176/1/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
<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="">Running
Camel standalone</a></h2>
    <h4>Page <b>edited</b> by             <a href="">Claus
                         <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.
    </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="" class="external-link"
rel="nofollow"></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

<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 id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;" class="grey">
                        <a href="">Stop
watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="">Change
email notification preferences</a>
        <a href="">View
        <a href="">View

View raw message