This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 117304d  Camel-Azure-Blob: Wrong example fixed
117304d is described below

commit 117304d95bedaeff0e6d9b133458919df14c2bec
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue May 21 11:52:26 2019 +0200

    Camel-Azure-Blob: Wrong example fixed
---
 components/camel-azure/src/main/docs/azure-blob-component.adoc | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/components/camel-azure/src/main/docs/azure-blob-component.adoc 
b/components/camel-azure/src/main/docs/azure-blob-component.adoc
index c1aad7e..d646a9c 100644
--- a/components/camel-azure/src/main/docs/azure-blob-component.adoc
+++ b/components/camel-azure/src/main/docs/azure-blob-component.adoc
@@ -179,9 +179,7 @@ You have to provide the containerOrBlob name and the 
credentials if the private
 [width="100%",cols="10%,10%,80%",options="header",]
 |=======================================================================
 |Header |Type |Description
-
 |`CamelFileName` |`String` |The file name for the downloaded blob content.
-
 |=======================================================================
 
 
@@ -249,10 +247,8 @@ create your own instance:
 
 [source,java]
 
--------------------------------------------------------------------------------------
-StorageCredentials credentials = new 
StorageCredentialsAccountAndKey("camelazure", "thekey");
-
-CloudBlob client = new CloudBlob("camelazure", credentials);
-
+StorageCredentials credentials = new 
StorageCredentialsAccountAndKey("camelazure", 
Base64.encode("thekey".getBytes()));
+CloudBlob client = new CloudBlockBlob("camelazure", credentials);
 registry.bind("azureBlobClient", client);
 
--------------------------------------------------------------------------------------
 

Reply via email to