camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Camel > RX
Date Mon, 04 Mar 2013 06:37: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="">RX</a></h2>
    <h4>Page  <b>added</b> by             <a href="">James
    <div class="notificationGreySide">
         <h1><a name="RX-ReactiveCamel"></a>Reactive Camel</h1>

<p>The camel-rx library provides Camel support for the <a href=""
class="external-link" rel="nofollow">Reactive Extensions</a>&nbsp;(RX) using
the <a href="" class="external-link" rel="nofollow">RxJava</a>

<p>You can think of RX as providing an API similar to Java 8 / Groovy / Scala like API
collections (methods like filter, forEach, map, flatMap etc) - but which operates on a stream
of events rather than a collection. So you could think of RX as like working with asynchronous
push based collections (rather than the traditional synchronous pull based collections).</p>

<p>In RX, if you have an <a href=""
class="external-link" rel="nofollow">Observable&lt;T&gt;</a> which behaves
quite like a Collection&lt;T&gt; in Java 8 so you can filter/map/concat and so forth.
The Observable&lt;T&gt; then acts as a typesafe composable API for working with asynchronous

<p>You can then create an Observable&lt;Message&gt; from any endpoint using
the ReactiveCamel helper class.</p>
    <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