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 2013/08/23 16:19:08 UTC

svn commit: r875861 - in /websites/production/camel/content: book-component-appendix.html book-in-one-page.html cache/main.pageCache esper.html

Author: buildbot
Date: Fri Aug 23 14:19:07 2013
New Revision: 875861

Log:
Production update by buildbot for camel

Modified:
    websites/production/camel/content/book-component-appendix.html
    websites/production/camel/content/book-in-one-page.html
    websites/production/camel/content/cache/main.pageCache
    websites/production/camel/content/esper.html

Modified: websites/production/camel/content/book-component-appendix.html
==============================================================================
--- websites/production/camel/content/book-component-appendix.html (original)
+++ websites/production/camel/content/book-component-appendix.html Fri Aug 23 14:19:07 2013
@@ -3628,6 +3628,19 @@ from("esper://cheese?pattern=every event
 
 <p>You can append query options to the URI in the following format, <tt>?option=value&amp;option=value&amp;...</tt></p>
 
+<h3><a shape="rect" name="BookComponentAppendix-EsperMessage"></a>EsperMessage</h3>
+
+<p>From <b>Camel 2.12</b> onwards the esper consumer stores new and old events in the <tt>org.apacheextras.camel.component.esper.EsperMessage</tt> message as the input <a shape="rect" href="message.html" title="Message">Message</a> on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. You can get access to the esper event beans from java code with:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<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 <tt>org.apacheextras.camel.component.esper.EsperMessage</tt> it returns the new <tt>EventBean</tt> as in previous versions.</p>
+
 <h3><a shape="rect" name="BookComponentAppendix-Demo"></a>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>

Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Fri Aug 23 14:19:07 2013
@@ -25319,6 +25319,19 @@ from("esper://cheese?pattern=every event
 
 <p>You can append query options to the URI in the following format, <tt>?option=value&amp;option=value&amp;...</tt></p>
 
+<h3><a shape="rect" name="BookInOnePage-EsperMessage"></a>EsperMessage</h3>
+
+<p>From <b>Camel 2.12</b> onwards the esper consumer stores new and old events in the <tt>org.apacheextras.camel.component.esper.EsperMessage</tt> message as the input <a shape="rect" href="message.html" title="Message">Message</a> on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. You can get access to the esper event beans from java code with:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<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 <tt>org.apacheextras.camel.component.esper.EsperMessage</tt> it returns the new <tt>EventBean</tt> as in previous versions.</p>
+
 <h3><a shape="rect" name="BookInOnePage-Demo"></a>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>

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 Aug 23 14:19:07 2013
@@ -115,6 +115,19 @@ from("esper://cheese?pattern=every event
 
 <p>You can append query options to the URI in the following format, <tt>?option=value&amp;option=value&amp;...</tt></p>
 
+<h3><a shape="rect" name="Esper-EsperMessage"></a>EsperMessage</h3>
+
+<p>From <b>Camel 2.12</b> onwards the esper consumer stores new and old events in the <tt>org.apacheextras.camel.component.esper.EsperMessage</tt> message as the input <a shape="rect" href="message.html" title="Message">Message</a> on the <a shape="rect" href="exchange.html" title="Exchange">Exchange</a>. You can get access to the esper event beans from java code with:</p>
+
+<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<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 <tt>org.apacheextras.camel.component.esper.EsperMessage</tt> it returns the new <tt>EventBean</tt> as in previous versions.</p>
+
 <h3><a shape="rect" name="Esper-Demo"></a>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>