camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Camel > Stub
Date Fri, 02 Mar 2012 14:28:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/2042/9/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="">Stub</a></h2>
    <h4>Page  <b>added</b> by             <a href="">James
    <div class="notificationGreySide">
         <h2><a name="Stub-StubComponent"></a>Stub Component</h2>

<p>The <b>stub:</b> component provides a simple way to stub out any physical
endpoints for easy testing. Just add <b>stub:</b> in front of any endpoint URI
and things just work.</p>

<p>Under the covers the Stub component creates <a href="/confluence/display/CAMEL/VM"
title="VM">VM</a> endpoints.</p>

<p>So if you are in development and want to try a route out but don't want to connect
to a specific <a href="/confluence/pages/createpage.action?spaceKey=CAMEL&amp;title=Smtp&amp;linkCreation=true&amp;fromPageId=27839951"
class="createlink">Smtp</a> or <a href="/confluence/display/CAMEL/HTTP" title="HTTP">HTTP</a>
endpoint, just put <b>stub:</b> in front and stub it out! <img class="emoticon"
src="/confluence/images/icons/emoticons/smile.gif" height="20" width="20" align="absmiddle"
alt="" border="0"/></p>

<h3><a name="Stub-URIformat"></a>URI format</h3>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">

<p>Where <b><tt>someUri</tt></b> can be any URI at all with
any query </p>

<h3><a name="Stub-SeeAlso"></a>See Also</h3>
	<li><a href="/confluence/display/CAMEL/Configuring+Camel" title="Configuring Camel">Configuring
	<li><a href="/confluence/display/CAMEL/Component" title="Component">Component</a></li>
	<li><a href="/confluence/display/CAMEL/Endpoint" title="Endpoint">Endpoint</a></li>
	<li><a href="/confluence/display/CAMEL/Getting+Started" title="Getting Started">Getting

    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>
       <a href="">View Online</a>
       <a href=";showCommentArea=true#addcomment">Add

View raw message