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 172C712FC4 for ; Sun, 11 May 2014 02:01:28 +0000 (UTC) Received: (qmail 81846 invoked by uid 500); 10 May 2014 23:17:46 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 43747 invoked by uid 500); 10 May 2014 23:06: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 10710 invoked by uid 99); 10 May 2014 22:57:05 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 May 2014 22:57:05 +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, 08 May 2014 15:18:18 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9E8982388A36 for ; Thu, 8 May 2014 15:17:58 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r908385 - in /websites/production/camel/content: base64.html cache/main.pageCache Date: Thu, 08 May 2014 15:17:58 -0000 To: commits@camel.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140508151758.9E8982388A36@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Thu May 8 15:17:58 2014 New Revision: 908385 Log: Production update by buildbot for camel Modified: websites/production/camel/content/base64.html websites/production/camel/content/cache/main.pageCache Modified: websites/production/camel/content/base64.html ============================================================================== --- websites/production/camel/content/base64.html (original) +++ websites/production/camel/content/base64.html Thu May 8 15:17:58 2014 @@ -85,45 +85,17 @@ -

Base64 Data Format

-

Available as of Camel 2.11
-The Base64 Data Format is a data format for base64 encoding and decoding.

- -

Options

-

Option

Default

Description

lineLength

76

To specific a maximum line length for the encoded data.

lineSeparator

\r\n

The line separators to use.

urlSafe

false

Instead of emitting '+' and '/' we emit '-' and '_' respectively. urlSafe is only applied to encode operations. Decoding seamlessly handles both modes.

- - - -

Marshal

-

In this example we marshal the file content to base64 object.

- -
- -
- -

Unmarshal

-

In this example we unmarshal the payload from the JMS queue to a byte[] object, before its processed by the newOrder processor.

- -
- -
- -

Dependencies

- -

To use Base64 in your Camel routes you need to add a dependency on camel-base64 which implements this data format.

- -

If you use Maven you can just add the following to your pom.xml, substituting the version number for the latest & greatest release (see the download page for the latest versions).

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