jwwallin commented on code in PR #8881:
URL: https://github.com/apache/camel/pull/8881#discussion_r1045971951
##########
components/camel-azure/camel-azure-storage-blob/src/main/java/org/apache/camel/component/azure/storage/blob/BlobStreamAndLength.java:
##########
@@ -40,14 +40,16 @@ private BlobStreamAndLength(InputStream inputStream, long
streamLength) {
@SuppressWarnings("rawtypes")
public static BlobStreamAndLength
createBlobStreamAndLengthFromExchangeBody(final Exchange exchange) throws
IOException {
Object body = exchange.getIn().getBody();
+ Long blobSize =
exchange.getIn().getHeader(BlobConstants.BLOB_UPLOAD_SIZE, () -> null,
Long.class);
Review Comment:
I was wondering about that as-well. It's at least better than the current
spot, since it's in context. :+1:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]