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 3229C967A for ; Wed, 2 May 2012 03:35:52 +0000 (UTC) Received: (qmail 70640 invoked by uid 500); 2 May 2012 03:35:51 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 70480 invoked by uid 500); 2 May 2012 03:35:51 -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 70353 invoked by uid 99); 2 May 2012 03:35:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 03:35:50 +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; Wed, 02 May 2012 03:35:41 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id ECE89238899C for ; Wed, 2 May 2012 03:35:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r815381 [1/4] - in /websites/production/camel/content: ./ cache/ Date: Wed, 02 May 2012 03:35:19 -0000 To: commits@camel.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120502033520.ECE89238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Wed May 2 03:35:18 2012 New Revision: 815381 Log: Production update by buildbot for camel Added: websites/production/camel/content/cache/main.pageCache (with props) Modified: websites/production/camel/content/advicewith.html websites/production/camel/content/community.html websites/production/camel/content/component.html websites/production/camel/content/content-based-router.html websites/production/camel/content/cxf-bean-component.html websites/production/camel/content/exception-clause.html websites/production/camel/content/faq.html websites/production/camel/content/idempotent-consumer.html websites/production/camel/content/index.html websites/production/camel/content/jcr.html websites/production/camel/content/message-filter.html websites/production/camel/content/message-router.html websites/production/camel/content/news.html websites/production/camel/content/publish-subscribe-channel.html websites/production/camel/content/recipient-list.html websites/production/camel/content/restlet.html websites/production/camel/content/routes.html websites/production/camel/content/running-camel-standalone-and-have-it-keep-running.html websites/production/camel/content/selective-consumer.html websites/production/camel/content/siteindex.html websites/production/camel/content/sitemap.html websites/production/camel/content/spring-xml-extensions.html websites/production/camel/content/type-converter.html websites/production/camel/content/using-camel-questions.html Modified: websites/production/camel/content/advicewith.html ============================================================================== --- websites/production/camel/content/advicewith.html (original) +++ websites/production/camel/content/advicewith.html Wed May 2 03:35:18 2012 @@ -353,52 +353,7 @@ context.getRouteDefinitions().get(0).adv

Available as of Camel 2.9
It is recommended to override the method isUseAdviceWith and return true to instruct Camel that you are using adviceWith in the unit tests. Then in your unit test methods, after you have done the adviceWith you must start CamelContext by invoke the start method on the context instance. In the following we have an example. The route is using ActiveMQ to route messages. What we would like to do in a unit test is to test the route, but without having to set and use ActiveMQ. We do not have ActiveMQ on the classpath. So for that we need to advice the route and replace ActiveMQ with for example a SEDA endpoint instead.

-
isUseAdviceWith
-
public class IsUseAdviceWithJUnit4Test extends org.apache.camel.test.junit4.CamelTestSupport {
-
-    @Test
-    public void testIsUseAdviceWith() throws Exception {
-        context.getRouteDefinitions().get(0).adviceWith(context, new AdviceWithRouteBuilder() {
-            @Override
-            public void configure() throws Exception {
-                // replace the from with seda:foo
-                replaceFromWith("seda:foo");
-            }
-        });
-        // we must manually start when we are done with all the advice with
-        context.start();
-
-        getMockEndpoint("mock:result").expectedMessageCount(1);
-
-        template.sendBody("seda:foo", "Hello World");
-
-        assertMockEndpointsSatisfied();
-    }
-
-    @Override
-    public boolean isUseAdviceWith() {
-        // tell we are using advice with, which allows us to advice the route
-        // before Camel is being started, and thus can replace activemq with something else.
-        return true;
-    }
-
-    // This is the route we want to test
-    @Override
-    protected RouteBuilder createRouteBuilder() throws Exception {
-        return new RouteBuilder() {
-            @Override
-            public void configure() throws Exception {
-                // we do not have activemq on the classpath
-                // but the route has it included
-                from("activemq:queue:foo")
-                    .to("mock:result");
-            }
-        };
-    }
-
-}
-
-
+
Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20
Processing fixed width or delimited files or messages using the FlatPack library FreeMarker / camel-freemarker + Processing fixed width or delimited files or messages using the FlatPack library FOP / camel-fop +
+
+fop:outputFormat
+
+
Renders the message into different output formats using Apache FOP FreeMarker / camel-freemarker
 freemarker:someTemplateResource
@@ -311,12 +316,12 @@ http4://hostname[:port]
 
 ibatis://statementName
 
-
Performs a query, poll, insert, update or delete in a relational database using Apache iBATIS IMap / camel-mail + Performs a query, poll, insert, update or delete in a relational database using Apache iBATIS IMAP / camel-mail
 imap://hostname[:port]
 
-
Receiving email using IMap IRC / camel-irc + Receiving email using IMAP IRC / camel-irc
 irc:host[:port]/#room
@@ -366,7 +371,12 @@ jmx://platform?options
 
 jpa://entityName
 
-
For using a database as a queue via the JPA specification for working with OpenJPA, Hibernate or TopLink JT/400 / camel-jt400 + For using a database as a queue via the JPA specification for working with OpenJPA, Hibernate or TopLink Jsch / camel-jsch +
+
+scp://localhost/destination
+
+
Support for the scp protocol JT/400 / camel-jt400
 jt400://user:pwd@system/<path_to_dtaq>
@@ -509,7 +519,7 @@ routebox:routeboxName[?options]
 
 rss:uri
 
-
Working with ROME for RSS integration, such as consuming an RSS feed. SEDA / camel-core + Working with ROME for RSS integration, such as consuming an RSS feed. SEDA / camel-core
 seda:name
@@ -630,7 +640,12 @@ velocity:someTemplateResource
 
 vm:name
 
-
Asynchronous call to another endpoint in the same JVM XMPP / camel-xmpp + Asynchronous call to another endpoint in the same JVM Websocket / camel-websocket +
+
+websocket://host:port/path
+
+
Communicating with Websocket clients XMPP / camel-xmpp
 xmpp://host:port/room

Modified: websites/production/camel/content/content-based-router.html
==============================================================================
--- websites/production/camel/content/content-based-router.html (original)
+++ websites/production/camel/content/content-based-router.html Wed May  2 03:35:18 2012
@@ -89,14 +89,14 @@
     public void configure() {
         errorHandler(deadLetterChannel("mock:error"));
 
-        from("seda:a")
+        from("direct:a")
             .choice()
                 .when(header("foo").isEqualTo("bar"))
-                    .to("seda:b")
+                    .to("direct:b")
                 .when(header("foo").isEqualTo("cheese"))
-                    .to("seda:c")
+                    .to("direct:c")
                 .otherwise()
-                    .to("seda:d");
+                    .to("direct:d");
     }
 };
 
@@ -106,18 +106,18 @@
<camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring">
     <route>
-        <from uri="seda:a"/>
+        <from uri="direct:a"/>
         <choice>
             <when>
                 <xpath>$foo = 'bar'</xpath>
-                <to uri="seda:b"/>
+                <to uri="direct:b"/>
             </when>
             <when>
                 <xpath>$foo = 'cheese'</xpath>
-                <to uri="seda:c"/>
+                <to uri="direct:c"/>
             </when>
             <otherwise>
-                <to uri="seda:d"/>
+                <to uri="direct:d"/>
             </otherwise>
         </choice>
     </route>

Modified: websites/production/camel/content/cxf-bean-component.html
==============================================================================
--- websites/production/camel/content/cxf-bean-component.html (original)
+++ websites/production/camel/content/cxf-bean-component.html Wed May  2 03:35:18 2012
@@ -114,6 +114,7 @@ cxfbean:serviceBeanRef
 
<route>
 	<from ref="ep1" />
 	<to uri="cxfbean:customerServiceBean" />
+	<to uri="mock:endpointA" />
 </route>
 
Modified: websites/production/camel/content/exception-clause.html ============================================================================== --- websites/production/camel/content/exception-clause.html (original) +++ websites/production/camel/content/exception-clause.html Wed May 2 03:35:18 2012 @@ -790,7 +790,7 @@ This is demonstrated in the sample below // where we defined at most 1 redelivery attempt. Here we will continue until // the predicate returns false onException(MyFunctionalException.class) - .retryWhile(bean("myRetryHandler")) + .retryWhile(method("myRetryHandler")) .handled(true) .transform().constant("Sorry"); Modified: websites/production/camel/content/faq.html ============================================================================== --- websites/production/camel/content/faq.html (original) +++ websites/production/camel/content/faq.html Wed May 2 03:35:18 2012 @@ -93,7 +93,7 @@

Questions on using Apache Camel

- +

Logging Questions

Modified: websites/production/camel/content/idempotent-consumer.html ============================================================================== --- websites/production/camel/content/idempotent-consumer.html (original) +++ websites/production/camel/content/idempotent-consumer.html Wed May 2 03:35:18 2012 @@ -107,10 +107,10 @@ On completion Camel will remove the mess public void configure() { errorHandler(deadLetterChannel("mock:error")); - from("seda:a") + from("direct:a") .idempotentConsumer(header("myMessageId"), MemoryIdempotentRepository.memoryIdempotentRepository(200)) - .to("seda:b"); + .to("direct:b"); } }; Modified: websites/production/camel/content/index.html ============================================================================== --- websites/production/camel/content/index.html (original) +++ websites/production/camel/content/index.html Wed May 2 03:35:18 2012 @@ -110,6 +110,31 @@ There's a great discussion about Camel a + + Apache Camel 2.8.5 Released + +
+ +
+

We are a bit late with announcing the 2.8.5 release which was actually available in the public repos for a few days now. The 2.8.5 release comes with 46 issues fixed. While the 2.8.x and 2.9.x branches are still actively supported, we will now focus on getting 2.10.0 out the door.

+ +

The artifacts are published and ready for you to download either from the Apache mirrors or from the Central Maven repository. For more details please take a look at the release notes.

+ +

Thanks everybody for the continued support.
+Hadrian

+
+ + +
+ + +
+
+ + + + + Apache Camel 2.9.2 Released @@ -208,37 +233,6 @@ For more details please take a look at t Labels: release
- -
- - -
-

Today the Camel PMC voted another one of the very active and talented contributors to become a committer.

- -

Babak Vahdat was actively involved with Apache Camel for about ten month contributing code and helping other users. In the past two months his activity reached a new level. Babak proactively improved our code base, provided patches for broken builds and tested our new releases. In recognition of his work, the PMC only had to take care of the simple task of making that official. Stay tuned for his first official commit.

- -

On behalf of the Camel PMC, Babak, welcome aboard!
-Christian

-
- - - -
-

RSS Feed

Modified: websites/production/camel/content/jcr.html ============================================================================== --- websites/production/camel/content/jcr.html (original) +++ websites/production/camel/content/jcr.html Wed May 2 03:35:18 2012 @@ -111,11 +111,7 @@ jcr://user:pa

Example

The snippet below creates a node named node under the /home/test node in the content repository. One additional attribute is added to the node as well: my.contents.property which will contain the body of the message being sent.

-
-
from("direct:a").setProperty(JcrConstants.JCR_NODE_NAME, constant("node"))
-    .setProperty("my.contents.property", body()).to("jcr://user:pass@repository/home/test");
-
-
+
Error formatting macro: snippet: java.lang.IndexOutOfBoundsException: Index: 20, Size: 20

See Also

Modified: websites/production/camel/content/message-filter.html ============================================================================== --- websites/production/camel/content/message-filter.html (original) +++ websites/production/camel/content/message-filter.html Wed May 2 03:35:18 2012 @@ -89,9 +89,9 @@ public void configure() { errorHandler(deadLetterChannel("mock:error")); - from("seda:a") + from("direct:a") .filter(header("foo").isEqualTo("bar")) - .to("seda:b"); + .to("direct:b"); } }; @@ -126,10 +126,10 @@ from("direct:st
<camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring">
     <route>
-        <from uri="seda:a"/>
+        <from uri="direct:a"/>
         <filter>
             <xpath>$foo = 'bar'</xpath>
-            <to uri="seda:b"/>
+            <to uri="direct:b"/>
         </filter>
     </route>
 </camelContext>

Modified: websites/production/camel/content/message-router.html
==============================================================================
--- websites/production/camel/content/message-router.html (original)
+++ websites/production/camel/content/message-router.html Wed May  2 03:35:18 2012
@@ -89,14 +89,14 @@
     public void configure() {
         errorHandler(deadLetterChannel("mock:error"));
 
-        from("seda:a")
+        from("direct:a")
             .choice()
                 .when(header("foo").isEqualTo("bar"))
-                    .to("seda:b")
+                    .to("direct:b")
                 .when(header("foo").isEqualTo("cheese"))
-                    .to("seda:c")
+                    .to("direct:c")
                 .otherwise()
-                    .to("seda:d");
+                    .to("direct:d");
     }
 };
 
@@ -106,18 +106,18 @@
<camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring">
     <route>
-        <from uri="seda:a"/>
+        <from uri="direct:a"/>
         <choice>
             <when>
                 <xpath>$foo = 'bar'</xpath>
-                <to uri="seda:b"/>
+                <to uri="direct:b"/>
             </when>
             <when>
                 <xpath>$foo = 'cheese'</xpath>
-                <to uri="seda:c"/>
+                <to uri="direct:c"/>
             </when>
             <otherwise>
-                <to uri="seda:d"/>
+                <to uri="direct:d"/>
             </otherwise>
         </choice>
     </route>

Modified: websites/production/camel/content/news.html
==============================================================================
--- websites/production/camel/content/news.html (original)
+++ websites/production/camel/content/news.html Wed May  2 03:35:18 2012
@@ -85,7 +85,58 @@
             
- + + + + + Apache Camel 2.8.5 Released + +
+ +
+

We are a bit late with announcing the 2.8.5 release which was actually available in the public repos for a few days now. The 2.8.5 release comes with 46 issues fixed. While the 2.8.x and 2.9.x branches are still actively supported, we will now focus on getting 2.10.0 out the door.

+ +

The artifacts are published and ready for you to download either from the Apache mirrors or from the Central Maven repository. For more details please take a look at the release notes.

+ +

Thanks everybody for the continued support.
+Hadrian

+
+ + +
+ + +
+
+ + + + + + + Apache Camel 2.9.2 Released + +
+ +
+

The Camel community continues its efforts to issue patch releases on a predictable schedule. Today we are proud to announce a new patch release Apache Camel 2.9.2. This release comes with 58 issues fixed, about 6 weeks after the previous release - camel-2.9.1. Development continues as strong as ever, with a release to follow shortly for the still supported 2.8.x branch. The trunk already contains an impressive number of fixes, improvements and new features and it won't be long before camel-2.10.0 will be available as well.

+ +

The artifacts are now published and are ready for you to download either from the Apache mirrors or from the Central Maven repository.
+For more details please take a look at the release notes.

+ +

Many thanks to all contributors for making this release possible.

+ +
+ + +
+ + +
+
+ + + @@ -136,7 +187,7 @@ Christian

- + @@ -222,7 +273,7 @@ For the release notes we suggest to take
- + @@ -305,7 +356,7 @@ For the release notes we suggest to take
- + @@ -378,7 +429,7 @@ This release resolved over 100 JIRA issu
- + @@ -486,7 +537,7 @@ Claus Ibsen

- + @@ -518,7 +569,7 @@ Hadrian

- + @@ -543,7 +594,7 @@ Hadrian

- + @@ -568,7 +619,7 @@ Hadrian

- + @@ -588,63 +639,6 @@ VP, Apache Camel

- -
-
- - - - - - - Camel 2.7.1 Released - -
- -
-

The Camel PMC is glad to announce the availability of apache-camel version 2.7.1. This is a patch release binary compatible with apache-camel-2.7.0. This release targets better usability in OSGi environments and compatibility with a wider range of versions of dependent libraries.

- -

The 12 issues fixed in this release are also available on trunk. The development of the upcoming version 2.8.0 is going strong and we expect it to be released on the usual quarterly schedule.

- -

Download Camel now, check out the release notes and enjoy the ride!
-Hadrian

-
- - -
- - -
-
- - - - - - - Camel 2.7.0 Released - -
- -
-

The Apache Camel 2.7.0 release is finally out. It is a bit earlier than the usual quarterly schedule and it comes with about 169 issues resolved, many of them coming as contributions from our community. Thank you for your contributions and continued support.

- -

This release is a bit special as it drops support for older technologies, as announced last month. More specifically, Java 5 and Spring 2.5.6 are no longer supported starting with this version.

- -

Among the issues resolved in this release you can find (in no particular order):

- - - -

Download Camel now, check out the release notes and enjoy the ride!
-Hadrian

-
- - -
- - Labels: camel, release
-
-
Modified: websites/production/camel/content/publish-subscribe-channel.html ============================================================================== --- websites/production/camel/content/publish-subscribe-channel.html (original) +++ websites/production/camel/content/publish-subscribe-channel.html Wed May 2 03:35:18 2012 @@ -94,8 +94,8 @@ public void configure() { errorHandler(deadLetterChannel("mock:error")); - from("seda:a") - .multicast().to("seda:b", "seda:c", "seda:d"); + from("direct:a") + .multicast().to("direct:b", "direct:c", "direct:d"); } }; @@ -105,11 +105,11 @@
<camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring">
     <route>
-        <from uri="seda:a"/>
+        <from uri="direct:a"/>
         <multicast>
-            <to uri="seda:b"/>
-            <to uri="seda:c"/>
-            <to uri="seda:d"/>
+            <to uri="direct:b"/>
+            <to uri="direct:c"/>
+            <to uri="direct:d"/>
         </multicast>
     </route>
 </camelContext>