Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29F3FDF35 for ; Sun, 14 Oct 2012 02:20:54 +0000 (UTC) Received: (qmail 73216 invoked by uid 500); 14 Oct 2012 02:20:54 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 73183 invoked by uid 500); 14 Oct 2012 02:20:54 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 73174 invoked by uid 99); 14 Oct 2012 02:20:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Oct 2012 02:20:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Oct 2012 02:20:51 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 90DCC23888E4 for ; Sun, 14 Oct 2012 02:20:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r835022 - in /websites/production/camel/content: book-architecture.html book-in-one-page.html cache/main.pageCache component-list-external.html components.html guava-eventbus.html jgroups.html transport.html uris.html Date: Sun, 14 Oct 2012 02:20:07 -0000 To: commits@camel.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121014022008.90DCC23888E4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Sun Oct 14 02:20:07 2012 New Revision: 835022 Log: Production update by buildbot for camel Modified: websites/production/camel/content/book-architecture.html websites/production/camel/content/book-in-one-page.html websites/production/camel/content/cache/main.pageCache websites/production/camel/content/component-list-external.html websites/production/camel/content/components.html websites/production/camel/content/guava-eventbus.html websites/production/camel/content/jgroups.html websites/production/camel/content/transport.html websites/production/camel/content/uris.html Modified: websites/production/camel/content/book-architecture.html ============================================================================== --- websites/production/camel/content/book-architecture.html (original) +++ websites/production/camel/content/book-architecture.html Sun Oct 14 02:20:07 2012 @@ -761,7 +761,12 @@ esper:name
 hibernate://entityName
 
- GPL For using a database as a queue via the Hibernate library NMR / servicemix-nmr + GPL For using a database as a queue via the Hibernate library JGroups / camel-jgroups in camel-extra +
+
+jgroups://clusterName
+
+
LGPL The jgroups: component provides exchange of messages between Camel infrastructure and JGroups clusters. NMR / servicemix-nmr
 nmr://serviceName

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 Sun Oct 14 02:20:07 2012
@@ -1168,7 +1168,12 @@ esper:name
 
 hibernate://entityName
 
-
GPL For using a database as a queue via the Hibernate library NMR / servicemix-nmr + GPL For using a database as a queue via the Hibernate library JGroups / camel-jgroups in camel-extra +
+
+jgroups://clusterName
+
+
LGPL The jgroups: component provides exchange of messages between Camel infrastructure and JGroups clusters. NMR / servicemix-nmr
 nmr://serviceName

Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/camel/content/component-list-external.html
==============================================================================
--- websites/production/camel/content/component-list-external.html (original)
+++ websites/production/camel/content/component-list-external.html Sun Oct 14 02:20:07 2012
@@ -101,7 +101,12 @@ esper:name
 
 hibernate://entityName
 
-
GPL For using a database as a queue via the Hibernate library NMR / servicemix-nmr + GPL For using a database as a queue via the Hibernate library JGroups / camel-jgroups in camel-extra +
+
+jgroups://clusterName
+
+
LGPL The jgroups: component provides exchange of messages between Camel infrastructure and JGroups clusters. NMR / servicemix-nmr
 nmr://serviceName

Modified: websites/production/camel/content/components.html
==============================================================================
--- websites/production/camel/content/components.html (original)
+++ websites/production/camel/content/components.html Sun Oct 14 02:20:07 2012
@@ -737,7 +737,12 @@ esper:name
 
 hibernate://entityName
 
-
GPL For using a database as a queue via the Hibernate library NMR / servicemix-nmr + GPL For using a database as a queue via the Hibernate library JGroups / camel-jgroups in camel-extra +
+
+jgroups://clusterName
+
+
LGPL The jgroups: component provides exchange of messages between Camel infrastructure and JGroups clusters. NMR / servicemix-nmr
 nmr://serviceName

Modified: websites/production/camel/content/guava-eventbus.html
==============================================================================
--- websites/production/camel/content/guava-eventbus.html (original)
+++ websites/production/camel/content/guava-eventbus.html Sun Oct 14 02:20:07 2012
@@ -77,6 +77,8 @@
         
 

Guava EventBus Component

+
Available since Camel 2.10.0
+

The Google Guava EventBus allows publish-subscribe-style communication between components without requiring the components to explicitly register with one another (and thus be aware of each other). The guava-eventbus: component provides integration bridge between Camel and Google Guava EventBus infrastructure. With the latter component, messages exchanged with the Guava EventBus can be transparently forwarded to the Camel routes. EventBus component allows also to route body of Camel exchanges to the Guava EventBus.

Maven users will need to add the following dependency to their pom.xml for this component:

Modified: websites/production/camel/content/jgroups.html ============================================================================== --- websites/production/camel/content/jgroups.html (original) +++ websites/production/camel/content/jgroups.html Sun Oct 14 02:20:07 2012 @@ -77,6 +77,8 @@

JGroups Component

+
Available since Camel 2.10.0
+

JGroups is a toolkit for reliable multicast communication. The jgroups: component provides exchange of messages between Camel infrastructure and JGroups clusters.

Maven users will need to add the following dependency to their pom.xml for this component:

@@ -103,47 +105,28 @@ jgroups:clusterName[?options]

Options

-
Name Default Value Description
eventClass null Camel 2.10: If used on the consumer side of the route, will filter events received from the EventBus to the instances of the class and superclasses of eventClass. Null value of this option is equal to setting it to the java.lang.Object i.e. the consumer will capture all messages incoming to the event bus.
+
Name Default Value Description
channelProperties null Camel 2.10.0: Specifies configuration properties of the JChannel used by the endpoint.

Usage

-

Using guava-eventbus component on the consumer side of the route will capture messages sent to the Guava EventBus and forward them to the Camel route. Guava EventBus consumer processes incoming messages asynchronously.

+

Using jgroups component on the consumer side of the route will capture messages received by the JChannel associated with the endpoint and forward them to the Camel route. JGroups consumer processes incoming messages asynchronously.

-SimpleRegistry registry = new SimpleRegistry();
-EventBus eventBus = new EventBus();
-registry.put("busName", eventBus);
-CamelContext camel = new DefaultCamelContext(registry);
-
-from("guava-eventbus:busName").to("seda:queue");
-
-eventBus.post("Send me to the SEDA queue.");
+// Capture messages from cluster named
+// 'clusterName' and send them to Camel route.
+from("jgroups:clusterName").to("seda:queue");
 
-

Using guava-eventbus component on the producer side of the route will forward body of the Camel exchanges to the Guava EventBus instance.

+

Using jgroups component on the producer side of the route will forward body of the Camel exchanges to the JChannel instance managed by the endpoint.

-SimpleRegistry registry = new SimpleRegistry();
-EventBus eventBus = new EventBus();
-registry.put("busName", eventBus);
-CamelContext camel = new DefaultCamelContext(registry);
-
-from("direct:start").to("guava-eventbus:busName");
-
-ProducerTemplate producerTemplate = camel.createProducerTemplate();
-producer.sendBody("direct:start", "Send me to the Guava EventBus.");
-
-eventBus.register(new Object(){
-  @Subscribe
-  public void messageHander(String message) {
-    System.out.println("Message received from the Camel: " + message);
-  }
-});
+// Send message to the cluster named 'clusterName'
+from("direct:start").to("jgroups:clusterName");
 
Modified: websites/production/camel/content/transport.html ============================================================================== --- websites/production/camel/content/transport.html (original) +++ websites/production/camel/content/transport.html Sun Oct 14 02:20:07 2012 @@ -741,7 +741,12 @@ esper:name
 hibernate://entityName
 
-
GPL For using a database as a queue via the Hibernate library NMR / servicemix-nmr +
GPL For using a database as a queue via the Hibernate library JGroups / camel-jgroups in camel-extra +
+
+jgroups://clusterName
+
+
LGPL The jgroups: component provides exchange of messages between Camel infrastructure and JGroups clusters. NMR / servicemix-nmr
 nmr://serviceName

Modified: websites/production/camel/content/uris.html
==============================================================================
--- websites/production/camel/content/uris.html (original)
+++ websites/production/camel/content/uris.html Sun Oct 14 02:20:07 2012
@@ -740,7 +740,12 @@ esper:name
 
 hibernate://entityName
 
-
GPL For using a database as a queue via the Hibernate library NMR / servicemix-nmr + GPL For using a database as a queue via the Hibernate library JGroups / camel-jgroups in camel-extra +
+
+jgroups://clusterName
+
+
LGPL The jgroups: component provides exchange of messages between Camel infrastructure and JGroups clusters. NMR / servicemix-nmr
 nmr://serviceName