Hi Guys,

First of all thanks for your great work.
We are having a great time with camel and are looking forward to contribute 
when we are more experienced with the framework!

It would be cool if someone can help us with our current issue:
We are currently trying to integrate azure cloud by using the 
camel-azure-storage-blob component

<dependency>
    <groupId>org.apache.camel.springboot</groupId>
    <artifactId>camel-azure-storage-blob-starter</artifactId>
    <version>3.7.0</version>
</dependency>

1.) Everything works fine until we activate stream caching and camel starts to 
spool the payload. In this case we get the following error:

Caused by: java.lang.IllegalArgumentException: InputStream of body exchange 
does not support mark/rest operations.
            at 
org.apache.camel.component.azure.storage.blob.BlobStreamAndLength.createBlobStreamAndLengthFromExchangeBody(BlobStreamAndLength.java:52)
            at 
org.apache.camel.component.azure.storage.blob.operations.BlobOperations.uploadBlockBlob(BlobOperations.java:181)

I have looked into the source and think that the component does not load the 
stream properly from the FileInputStreamCache object. Am I missing something or 
is this actually a bug (missing feature) in the component?

2.) Additionally I would like to force the component to communicate over a 
proxy with the azure cloud. However I did not find anything regarding setting a 
proxy in camel-azure-storage-blob component?
Not possible? Does there exist a workaround.

Regards Christian




[cid:image001.png@01D7094E.5B0321F0]<https://www.spar-ics.com/>


Dipl. Ing. Christian Müller
Software Engineer
Business Automation & Integration

<http://>


Mobile:

+43 664 88748100

E-Mail:

christian.muel...@spar-ics.com<mailto:christian.muel...@spar-ics.com>


SPAR Business Services GmbH
Information & Communication Services
Europastrasse 3, 5015 Salzburg, Austria


<http://>



[cid:image007.png@01D7094E.5B0321F0]



Sollten Sie diese E-Mail unbeabsichtigt bzw. irrtümlich erhalten haben, so 
weisen wir Sie darauf hin, dass gemäß § 93 Abs 4 TKG der Inhalt sowie die 
Tatsache des Empfangs dieser E-Mail weder aufgezeichnet noch verwertet oder 
Unbefugten mitgeteilt werden dürfen. Wir ersuchen Sie, die Nachricht von Ihrem 
System zu löschen und sich mit uns in Verbindung zu setzen.

If you have received this email accidentally or in error, we point out that, in 
accordance with § 93 para. 4 TKG (Telecommunications Act), the contents of this 
email and the fact of its receipt must not be recorded, exploited or 
communicated to unauthorized persons. We ask you to delete the message from 
your system and to contact us.


Reply via email to