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 31FD1D52F for ; Thu, 1 Nov 2012 16:18:56 +0000 (UTC) Received: (qmail 56145 invoked by uid 500); 1 Nov 2012 16:18:56 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 56010 invoked by uid 500); 1 Nov 2012 16:18:53 -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 55948 invoked by uid 99); 1 Nov 2012 16:18:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 16:18:51 +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; Thu, 01 Nov 2012 16:18:47 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 546EC23888CD for ; Thu, 1 Nov 2012 16:18:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r836900 - in /websites/production/camel/content: cache/main.pageCache camel-2110-release.html controlbus-component.html controlbus.html Date: Thu, 01 Nov 2012 16:18:02 -0000 To: commits@camel.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121101161802.546EC23888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Thu Nov 1 16:18:01 2012 New Revision: 836900 Log: Production update by buildbot for camel Modified: websites/production/camel/content/cache/main.pageCache websites/production/camel/content/camel-2110-release.html websites/production/camel/content/controlbus-component.html websites/production/camel/content/controlbus.html Modified: websites/production/camel/content/cache/main.pageCache ============================================================================== Binary files - no diff available. Modified: websites/production/camel/content/camel-2110-release.html ============================================================================== --- websites/production/camel/content/camel-2110-release.html (original) +++ websites/production/camel/content/camel-2110-release.html Thu Nov 1 16:18:01 2012 @@ -94,11 +94,14 @@

New Enterprise Integration Patterns

+ + +

New Camel Karaf Command

New Components

- +

DSL Changes

Modified: websites/production/camel/content/controlbus-component.html ============================================================================== --- websites/production/camel/content/controlbus-component.html (original) +++ websites/production/camel/content/controlbus-component.html Thu Nov 1 16:18:01 2012 @@ -78,8 +78,8 @@

ControlBus Component

Available as of Camel 2.11

-

The controlbus: component provides direct, synchronous invocation of any consumers when a producer sends a message exchange.
-This endpoint can be used to connect existing routes in the same camel context.

+

The controlbus: component provides easy management of Camel applications based on the Control Bus EIP pattern.
+For example by sending a message to an Endpoint you can control the lifecycle of routes, or gather performance statistics.

@@ -91,13 +91,13 @@ controlbus:command[?options]
 
 

Commands

-
Command Description
language Allows to specify a Language to use for evaluating the message body. If there is any result from the evaluation, then the result is put on the message body.
+
Command Description
route To control routes using the routeId and action parameter.
language Allows to specify a Language to use for evaluating the message body. If there is any result from the evaluation, then the result is put on the message body.

Options

-
Name Default Value Description
+
Name Default Value Description
routeId null To specify a route by its id.
action null To denote an action which can be either: start, stop, or status. To either start or stop a route. Og get the status of the route as output to the message body.
@@ -105,6 +105,23 @@ controlbus:command[?options]

Samples

+

Using route command

+ +

The route command allows to do common tasks on a given route very easily, for example to start a route you can send a empty message to this endpoint:

+
+
+template.sendBody("controlbus:route?routeId=foo&action=start", null);
+
+
+ +

To get the status of the route you can do:

+
+
+String status = template.requestBody("controlbus:route?routeId=foo&action=status", null, String.class);
+
+
+ +

Using Simple language

You can use Simple language with the control bus, for example to stop a specific route you can send a message to the "controlbus:language:simple" endpoint containing the following message:

@@ -121,11 +138,12 @@ template.sendBody(
You can also use other languages such as Groovy etc.

See Also

- +
Modified: websites/production/camel/content/controlbus.html ============================================================================== --- websites/production/camel/content/controlbus.html (original) +++ websites/production/camel/content/controlbus.html Thu Nov 1 16:18:01 2012 @@ -89,8 +89,8 @@

ControlBus Component

Available as of Camel 2.11

-

The controlbus: component provides direct, synchronous invocation of any consumers when a producer sends a message exchange.
-This endpoint can be used to connect existing routes in the same camel context.

+

The controlbus: component provides easy management of Camel applications based on the Control Bus EIP pattern.
+For example by sending a message to an Endpoint you can control the lifecycle of routes, or gather performance statistics.

@@ -102,13 +102,13 @@ controlbus:command[?options]
 
 

Commands

-
Command Description
language Allows to specify a Language to use for evaluating the message body. If there is any result from the evaluation, then the result is put on the message body.
+
Command Description
route To control routes using the routeId and action parameter.
language Allows to specify a Language to use for evaluating the message body. If there is any result from the evaluation, then the result is put on the message body.

Options

-
Name Default Value Description
+
Name Default Value Description
routeId null To specify a route by its id.
action null To denote an action which can be either: start, stop, or status. To either start or stop a route. Og get the status of the route as output to the message body.
@@ -116,6 +116,23 @@ controlbus:command[?options]

Samples

+

Using route command

+ +

The route command allows to do common tasks on a given route very easily, for example to start a route you can send a empty message to this endpoint:

+
+
+template.sendBody("controlbus:route?routeId=foo&action=start", null);
+
+
+ +

To get the status of the route you can do:

+
+
+String status = template.requestBody("controlbus:route?routeId=foo&action=status", null, String.class);
+
+
+ +

Using Simple language

You can use Simple language with the control bus, for example to stop a specific route you can send a message to the "controlbus:language:simple" endpoint containing the following message:

@@ -132,11 +149,12 @@ template.sendBody(
You can also use other languages such as Groovy etc.

See Also

- +

Using This Pattern