You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2014/01/10 15:19:04 UTC
svn commit: r893564 - in /websites/production/camel/content:
cache/main.pageCache esper.html
Author: buildbot
Date: Fri Jan 10 14:19:03 2014
New Revision: 893564
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/esper.html
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/esper.html
==============================================================================
--- websites/production/camel/content/esper.html (original)
+++ websites/production/camel/content/esper.html Fri Jan 10 14:19:03 2014
@@ -86,65 +86,29 @@
<tbody>
<tr>
<td valign="top" width="100%">
-<div class="wiki-content maincontent"><h2 id="Esper-Esper">Esper</h2>
-
-<p>The Esper component supports the <a shape="rect" class="external-link" href="http://esper.codehaus.org" rel="nofollow">Esper Library</a> for Event Stream Processing. The <strong>camel-esper</strong> library is provided by the <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">Camel Extra</a> project which hosts all *GPL related components for Camel.</p>
-
-<h3 id="Esper-URIformat">URI format</h3>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-esper:name[?options]
+<div class="wiki-content maincontent"><h2 id="Esper-Esper">Esper</h2><p>The Esper component supports the <a shape="rect" class="external-link" href="http://esper.codehaus.org" rel="nofollow">Esper Library</a> for Event Stream Processing. The <strong>camel-esper</strong> library is provided by the <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">Camel Extra</a> project which hosts all *GPL related components for Camel.</p><h3 id="Esper-URIformat">URI format</h3><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[esper:name[?options]
]]></script>
-</div></div>
-
-<p>When consuming from an Esper endpoint you must specify a <strong>pattern</strong> or <strong>eql</strong> statement to query the event stream.</p>
-
-<p>Pattern example:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-from("esper://cheese?pattern=every event=MyEvent(bar=5)")
+</div></div><p>When consuming from an Esper endpoint you must specify a <strong>pattern</strong> or <strong>eql</strong> statement to query the event stream.</p><p>Pattern example:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from("esper://cheese?pattern=every event=MyEvent(bar=5)")
.to("activemq:Foo");
]]></script>
-</div></div>
-
-<p>EQL example:</p>
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
-from("esper://esper-dom?eql=insert into DomStream select * from org.w3c.dom.Document")
+</div></div><p>EQL example:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[from("esper://esper-dom?eql=insert into DomStream select * from org.w3c.dom.Document")
.to("log://esper-dom?level=INFO");
from("esper://esper-dom?eql=select childNodes from DomStream")
.to("mock:results");
]]></script>
-</div></div>
-
-<h3 id="Esper-Options">Options</h3>
-<div class="confluenceTableSmall">
-<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>pattern</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.10.0/doc/reference/en-US/html/event_patterns.html" rel="nofollow">Esper Pattern expression</a> as a String to filter events </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>eql</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.10.0/doc/reference/en
-US/html/epl_clauses.html" rel="nofollow">Esper EQL expression</a> as a String to filter events </p></td></tr></tbody></table>
-</div>
-
-<p>You can append query options to the URI in the following format, <code>?option=value&option=value&...</code></p>
-
-<h3 id="Esper-EsperMessage">EsperMessage</h3>
-
-<p>From <strong>Camel 2.12</strong> onwards the esper consumer stores new and old events in the <code>org.apacheextras.camel.component.esper.EsperMessage</code> message as the input <a shape="rect" href="message.html">Message</a> on the <a shape="rect" href="exchange.html">Exchange</a>. You can get access to the esper event beans from java code with:</p>
-
-<div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
-<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
- EventBean newEvent = exchange.getIn(EsperMessage.class).getNewEvent();
+</div></div><h3 id="Esper-Options">Options</h3><div class="confluenceTableSmall">
+<table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Name </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Default Value </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>configured</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> false </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Available as of camel-extra 2.12.3:<br clear="none">
+If flag is set to 'true' the default Esper configuration file (esper.cfg.xml) will be used. <br clear="none">
+To configure Esper via a configuration file, please refer to the <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.2.0/doc/reference/en/html/configuration.html" rel="nofollow">Esper documentation</a> </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>pattern</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.10.0/doc/reference/en-US/html/event_patterns.html" rel="nofollow">Esper Pattern expression</a> as a String to filter events </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <code>eql</code> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> The <a shape="rect" class="external-link" href="http://esper.codehaus.org/esper-4.10.0/doc/reference/en-US/html/epl_clauses.h
tml" rel="nofollow">Esper EQL expression</a> as a String to filter events </p></td></tr></tbody></table>
+</div><p>You can append query options to the URI in the following format, <code>?option=value&option=value&...</code></p><h3 id="Esper-EsperMessage">EsperMessage</h3><p>From <strong>Camel 2.12</strong> onwards the esper consumer stores new and old events in the <code>org.apacheextras.camel.component.esper.EsperMessage</code> message as the input <a shape="rect" href="message.html">Message</a> on the <a shape="rect" href="exchange.html">Exchange</a>. You can get access to the esper event beans from java code with:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ EventBean newEvent = exchange.getIn(EsperMessage.class).getNewEvent();
EventBean oldEvent = exchange.getIn(EsperMessage.class).getOldEvent();
]]></script>
-</div></div>
-
-<p>By default if you get the body of <code>org.apacheextras.camel.component.esper.EsperMessage</code> it returns the new <code>EventBean</code> as in previous versions.</p>
-
-<h3 id="Esper-Demo">Demo</h3>
-
-<p>There is a <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/wiki/EsperDemo" rel="nofollow">demo which shows how to work with ActiveMQ, Camel and Esper</a> in the <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">Camel Extra</a> project</p>
-
-<h3 id="Esper-SeeAlso">See Also</h3>
-<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul>
-<ul><li><a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/wiki/EsperDemo" rel="nofollow">Esper Camel Demo</a></li></ul></div>
+</div></div><p>By default if you get the body of <code>org.apacheextras.camel.component.esper.EsperMessage</code> it returns the new <code>EventBean</code> as in previous versions.</p><h3 id="Esper-Demo">Demo</h3><p>There is a <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/wiki/EsperDemo" rel="nofollow">demo which shows how to work with ActiveMQ, Camel and Esper</a> in the <a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/" rel="nofollow">Camel Extra</a> project</p><p></p><h3 id="Esper-SeeAlso">See Also</h3>
+<ul><li><a shape="rect" href="configuring-camel.html">Configuring Camel</a></li><li><a shape="rect" href="component.html">Component</a></li><li><a shape="rect" href="endpoint.html">Endpoint</a></li><li><a shape="rect" href="getting-started.html">Getting Started</a></li></ul><ul><li><a shape="rect" class="external-link" href="http://code.google.com/p/camel-extra/wiki/EsperDemo" rel="nofollow">Esper Camel Demo</a></li></ul></div>
</td>
<td valign="top">
<div class="navigation">