<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>azure queue Archives | ZappySys Blog</title>
	<atom:link href="https://zappysys.com/blog/tag/azure-queue/feed/" rel="self" type="application/rss+xml" />
	<link>https://zappysys.com/blog/tag/azure-queue/</link>
	<description>SSIS / ODBC Drivers / API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more</description>
	<lastBuildDate>Fri, 13 Sep 2019 11:22:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.4</generator>

<image>
	<url>https://zappysys.com/blog/wp-content/uploads/2023/01/cropped-zappysys-symbol-large-32x32.png</url>
	<title>azure queue Archives | ZappySys Blog</title>
	<link>https://zappysys.com/blog/tag/azure-queue/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Read and Write in Azure Queue Storage in SSIS</title>
		<link>https://zappysys.com/blog/read-write-azure-queue-storage-ssis/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Sat, 13 Jul 2019 08:01:01 +0000</pubDate>
				<category><![CDATA[SSIS Azure Blob Connection]]></category>
		<category><![CDATA[SSIS Azure Queue Storage Destination]]></category>
		<category><![CDATA[SSIS Azure Queue Storage Source]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure queue]]></category>
		<category><![CDATA[nagle]]></category>
		<category><![CDATA[queue]]></category>
		<category><![CDATA[ssis]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=7456</guid>

					<description><![CDATA[<p>Introduction In our previous blog we saw How to load data into Azure Blob Storage. Now in this blog, we will How to Read and Write in Azure Queue Storage in SSIS. To illustrate, we will use ZappySys SSIS PowerPack, Which includes several tasks to import/export data from multiples sources to multiple destinations like flat files, Azure, [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/read-write-azure-queue-storage-ssis/">Read and Write in Azure Queue Storage in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2><span id="Introduction">Introduction</span></h2>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2019/03/AzureStorageLogo.png" target="_blank" rel="noopener"><img decoding="async" class="aligncenter wp-image-6532 size-thumbnail" style="border: 0px;float: left;margin: 0px 1.5em 1.5em 0px;max-width: 100%;height: auto" src="https://zappysys.com/blog/wp-content/uploads/2019/03/AzureStorageLogo-150x150.png" alt="Azure BLOB Storage" width="150" height="150" srcset="https://zappysys.com/blog/wp-content/uploads/2019/03/AzureStorageLogo-150x150.png 150w, https://zappysys.com/blog/wp-content/uploads/2019/03/AzureStorageLogo.png 225w" sizes="(max-width: 150px) 100vw, 150px" /></a></p>
<p>In our previous blog we saw <a href="https://zappysys.com/blog/ssis-data-load-sql-server-azure-blob-split-files-gzip/" target="_blank" rel="noopener">How to load data into Azure Blob Storage</a>. Now in this blog, we will <strong>How to Read and Write in Azure Queue Storage in SSIS</strong>. To illustrate, we will use <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">ZappySys SSIS PowerPack</a>, Which includes several tasks to import/export data from multiples sources to multiple destinations like flat files, Azure, AWS, databases, Office files and more. They are Coding free, drag and drop high-performance suite of <em>Custom SSIS Components</em> and <em>SSIS Tasks.</em> If you like perform other operations on Azure Blob Storage Files (e.g. Download, Upload, Create, Delete) then <a href="https://zappysys.com/blog/category/ssis/tasks/ssis-azure-blob-storage-task/" target="_blank" rel="noopener">check these articles</a>.</p>
<p>In a nutshell, In this post will focus on how to Read and Write in Azure Storage Queue in SSIS using following tasks/sources.</p>
<p>&nbsp;</p>
<p><strong>Components Mentioned in this article</strong><br />
<div class="su-table su-table-alternate">
<table style="width: 407px">
<tbody>
<tr>
<td style="width: 35px"><img loading="lazy" decoding="async" src="https://i1.wp.com/zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-source/ssis-azure-queue-source.png?w=100&amp;ssl=1" alt="SSIS Azure Blob CSV File Source" width="32" height="32" /></td>
<td style="width: 356px"><a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-source-connector/" target="_blank" rel="noopener">SSIS Azure Queue Storage Source</a></td>
</tr>
<tr>
<td style="width: 35px"><img loading="lazy" decoding="async" src="https://i0.wp.com/zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination.png?w=100&amp;ssl=1" alt="SSIS Azure Blob CSV File Destination" width="32" height="32" /></td>
<td style="width: 356px"><a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-destination-connector/" target="_blank" rel="noopener">SSIS Azure Queue Storage Destination</a></td>
</tr>
</tbody>
</table>
</div>
<h2><span id="Requirements">Prerequisite<br />
</span></h2>
<ol>
<li>First, you will need to have SSIS installed</li>
<li>Secondly, make sure to have SSDT</li>
<li>Download and install <a href="https://go.microsoft.com/fwlink/?LinkId=717179&amp;clcid=0x4009" target="_blank" rel="noopener">Microsoft Azure Storage Emulator</a></li>
<li>Download and install <a href="https://azure.microsoft.com/en-us/features/storage-explorer/" target="_blank" rel="noopener">Microsoft Azure Storage Explorer</a></li>
<li>Finally, do not forget to install ZappySys <a href="https://zappysys.com/products/ssis-powerpack/" target="_blank" rel="noopener">SSIS PowerPack</a></li>
</ol>
<p><strong>NOTE:</strong> If you want to use Live account (Azure Blob Storage) then you can skip Step #3</p>
<h2>What is Azure Blob Storage</h2>
<p>Azure Blob storage is Microsoft&#8217;s object storage solution for the cloud. you can store large amounts of unstructured data, such as text or binary data. Blob storage discloses three resources:</p>
<ul>
<li>Storage account (You can access data objects in Azure Storage through a storage account. For more information, <a href="https://docs.microsoft.com/en-us/azure/storage/common/storage-create-storage-account" target="_blank" rel="noopener">click here</a>.)</li>
<li>The containers in the account(constructs a set of blobs, it is similar to a folder in a file system.<br />
All blobs lie within a container, <strong>Note:</strong> Container name must be lowercase)</li>
<li>The blobs in a container. (Azure Storage offers three types of blobs: block blobs, append blobs, and <a href="https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-pageblob-overview" target="_blank" rel="noopener">page blobs</a>)<br />
See the below-attached diagram. It shows the relationship between these resources.<br />
<a href="https://zappysys.com/blog/wp-content/uploads/2018/04/blob1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="alignleft wp-image-3569" src="https://zappysys.com/blog/wp-content/uploads/2018/04/blob1-300x152.png" alt="" width="258" height="131" srcset="https://zappysys.com/blog/wp-content/uploads/2018/04/blob1-300x152.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/04/blob1.png 329w" sizes="(max-width: 258px) 100vw, 258px" /></a>You can also use Azure Storage Explorer on your Local machine. Azure Storage Explorer is a standalone app that enables you to easily work with Azure Storage data on Windows, macOS, and Linux. You can use Blob storage to expose data publicly to the world or to store application data privately. <a href="https://docs.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storage-explorer#connect-to-a-storage-account-or-service" target="_blank" rel="noopener">Connect to an Azure storage account or service</a></li>
</ul>
<h2></h2>
<p>&nbsp;</p>
<h2>What is Azure Queue Storage?</h2>
<p>Azure Queue storage is a service for storing large numbers of messages. You access messages from anywhere in the world via authenticated calls using HTTP or HTTPS. A queue message can be up to 64 KB in size. A queue may contain millions of messages, up to the total capacity limit of a storage account.</p>
<h3 id="common-uses">Common uses</h3>
<p>Common uses of Queue storage include:</p>
<ul>
<li>Creating a backlog of work to process asynchronously</li>
<li>Passing messages from an Azure web role to an Azure worker role</li>
</ul>
<h2>Getting Started</h2>
<p>In order to start, we will show several examples. ZappySys includes an <a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-source-connector/" target="_blank" rel="noopener">SSIS Azure Queue Storage Source</a> that will help you in reading messages from Azure Queue Storage. And <a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-destination-connector/" target="_blank" rel="noopener">SSIS Azure Queue Storage Destination</a> that will help you in insert and delete messages from Azure Queue Storage. Here we are showing you is, How to Read and Write in Azure Storage Queue.</p>
<p>You can connect to your Azure Storage Account by entering your storage account credentials. Here I am showing an example of the use of local Azure Storage Emulator.</p>
<h2>Setup Azure Storage client tools</h2>
<ol>
<li>Once you have <a href="https://go.microsoft.com/fwlink/?LinkId=717179&amp;clcid=0x4009" target="_blank" rel="noopener">downloaded and installed storage emulator</a> You can launch Microsoft Azure Storage Emulator from its Physical location or from the desktop or start menu shortcut.
<div id="attachment_3631" style="width: 869px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-emulator-location.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-3631" class="wp-image-3631 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-emulator-location.png" alt="Microsoft Azure Storage Emulator Physical Location" width="859" height="94" srcset="https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-emulator-location.png 859w, https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-emulator-location-300x33.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-emulator-location-768x84.png 768w" sizes="(max-width: 859px) 100vw, 859px" /></a><p id="caption-attachment-3631" class="wp-caption-text">Microsoft Azure Storage Emulator Physical Location</p></div></li>
<li>If You can see the below-attached Command Prompt screen after Emulator started. Then you can proceed to start Microsoft Azure Storage Explorer as the Azure Storage Emulator is started successfully.
<div id="attachment_3633" style="width: 710px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-emulator-screen-after-started.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-3633" class="wp-image-3633 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-emulator-screen-after-started-e1552723801433.png" alt="Command Prompt Screen after Microsoft Azure Storage Emulator Started" width="700" height="237" /></a><p id="caption-attachment-3633" class="wp-caption-text">Command Prompt Screen after Microsoft Azure Storage Emulator Started</p></div></li>
<li>Now, You have to <a href="https://azure.microsoft.com/en-us/features/storage-explorer/" target="_blank" rel="noopener">download and install Microsoft Azure Storage Explorer</a> and then You can launch Microsoft Azure Storage Explorer from its Physical location or from the desktop or start menu shortcut.
<div id="attachment_3635" style="width: 837px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-explorer-location.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-3635" class="wp-image-3635 size-full" src="https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-explorer-location.png" alt="Microsoft Azure Storage Explorer Physical Location" width="827" height="97" srcset="https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-explorer-location.png 827w, https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-explorer-location-300x35.png 300w, https://zappysys.com/blog/wp-content/uploads/2018/04/microsoft-azure-storage-explorer-location-768x90.png 768w" sizes="(max-width: 827px) 100vw, 827px" /></a><p id="caption-attachment-3635" class="wp-caption-text">Microsoft Azure Storage Explorer Physical Location</p></div></li>
</ol>
<h2>Create an Azure Blob Storage Queue</h2>
<p>For Creating a Blob Queue, First of all, you need to go to Microsoft Storage Explorer Window. Then you can go through like this way (Storage Accounts &#8211;&gt; (Development) &#8211;&gt; Queues).</p>
<div id="attachment_7459" style="width: 413px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-create-blob-queue.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7459" class="wp-image-7459 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-create-blob-queue.png" alt="Microsoft Azure Storage Explorer : Create Blob Queue" width="403" height="583" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-create-blob-queue.png 403w, https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-create-blob-queue-207x300.png 207w" sizes="(max-width: 403px) 100vw, 403px" /></a><p id="caption-attachment-7459" class="wp-caption-text">Microsoft Azure Storage Explorer : Create Blob Queue</p></div>
<p>And enter the appropriate name to that queue as Queue names can contain only lowercase letters, numbers, and hyphens, and must begin and end with a letter or a number. The name can&#8217;t contain two consecutive hyphens..</p>
<div id="attachment_7460" style="width: 506px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-create-blob-queue-name.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7460" class="wp-image-7460 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-create-blob-queue-name.png" alt="Microsoft Azure Storage Explorer : Create Blob Queue" width="496" height="722" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-create-blob-queue-name.png 496w, https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-create-blob-queue-name-206x300.png 206w" sizes="(max-width: 496px) 100vw, 496px" /></a><p id="caption-attachment-7460" class="wp-caption-text">Microsoft Azure Storage Explorer : Create Blob Queue</p></div>
<h2>Video Tutorial – SSIS Azure Queue Storage &#8211; Bulk Read, Write, Update, Delete Queue Messages</h2>
[youtube https://www.youtube.com/watch?v=3ZQcNiG_jeI]
<h2>Read Azure Queue Messages in SSIS</h2>
<p>Let’s start with an example. We use SSIS Azure Queue Storage Source to read Azure Queue Messages.</p>
<ol>
<li>First of all, Drag and drop Data Flow Task from SSIS Toolbox and double click it to edit.
<div id="attachment_7934" style="width: 470px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7934" class="size-full wp-image-7934" src="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task.png" alt="Drag and Drop SSIS Data Flow Task from SSIS Toolbox" width="460" height="155" srcset="https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task.png 460w, https://zappysys.com/blog/wp-content/uploads/2019/09/ssis-drag-drop-data-flow-task-300x101.png 300w" sizes="(max-width: 460px) 100vw, 460px" /></a><p id="caption-attachment-7934" class="wp-caption-text">Drag and Drop SSIS Data Flow Task from SSIS Toolbox</p></div></li>
<li>Furthermore, Drag and Drop ZS Azure Queue Source from the SSIS Toolbox.
<div id="attachment_7465" style="width: 673px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-drag-drop-azure-queue-source.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7465" class="wp-image-7465 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-drag-drop-azure-queue-source.png" alt="Drag and Drop ZS Azure Queue Source" width="663" height="629" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-drag-drop-azure-queue-source.png 663w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-drag-drop-azure-queue-source-300x285.png 300w" sizes="(max-width: 663px) 100vw, 663px" /></a><p id="caption-attachment-7465" class="wp-caption-text">Drag and Drop ZS Azure Queue Source</p></div></li>
<li>Now, double click on that Component to Edit the Configurations. Create New Connection and test it.
<div id="attachment_7466" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-source-connection.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7466" class="wp-image-7466 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-source-connection-768x536.png" alt="Azure Queue Source Connection" width="720" height="503" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-source-connection-768x536.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-source-connection-300x209.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-source-connection.png 969w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7466" class="wp-caption-text">Azure Queue Source Connection using Microsoft Azure Storage emulator</p></div></li>
<li>Now select the desire Queue from where you wants to read the messages and click on preview.
<div id="attachment_7467" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-preview.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7467" class="wp-image-7467 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-preview-768x603.png" alt="Preview Azure Queue Source Messages" width="720" height="565" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-preview-768x603.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-preview-300x235.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-preview.png 794w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7467" class="wp-caption-text">Preview Azure Queue Source Messages</p></div></li>
<li>That&#8217;s it now we are ready to load this queue messages to another Azure Storage Queue</li>
</ol>
<h2>Write Azure Queue Messages in SSIS</h2>
<p>Let’s start with an example. We use SSIS Azure Queue Storage Destination to insert Azure Queue Messages.</p>
<ol>
<li>First, Drag and Drop ZS Azure Queue Destination from the SSIS Toolbox.
<div id="attachment_7468" style="width: 667px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-drag-drop-azure-queue-destination.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7468" class="wp-image-7468 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-drag-drop-azure-queue-destination.png" alt="Drag and Drop ZS Azure Queue Destination" width="657" height="612" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-drag-drop-azure-queue-destination.png 657w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-drag-drop-azure-queue-destination-300x279.png 300w" sizes="(max-width: 657px) 100vw, 657px" /></a><p id="caption-attachment-7468" class="wp-caption-text">Drag and Drop ZS Azure Queue Destination</p></div></li>
<li>Double click on it to Edit the Configurations. And select the desire Azure Storage Connection.
<div id="attachment_7470" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-connection.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7470" class="wp-image-7470 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-connection-768x699.png" alt="Azure Queue Destination : Select Connection" width="720" height="655" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-connection-768x699.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-connection-300x273.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-connection.png 785w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7470" class="wp-caption-text">Azure Queue Destination : Select Connection</p></div></li>
<li>Go to Component Properties and select the operation as insert and desire queue from the drop down where you wants to insert messages.
<div id="attachment_7472" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-select-queue.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7472" class="wp-image-7472 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-select-queue-768x699.png" alt="Azure Queue Destination : Select Queue to Insert Messages" width="720" height="655" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-select-queue-768x699.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-select-queue-300x273.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-select-queue.png 785w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7472" class="wp-caption-text">Azure Queue Destination : Select Queue to Insert Messages</p></div></li>
<li>Now on Column Mapping tab map the desire columns and click on OK button.
<div id="attachment_7473" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-column-mappings.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7473" class="wp-image-7473 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-column-mappings-768x699.png" alt="Azure Queue Destination : Column Mapping" width="720" height="655" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-column-mappings-768x699.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-column-mappings-300x273.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-destination-column-mappings.png 785w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7473" class="wp-caption-text">Azure Queue Destination : Column Mapping</p></div></li>
<li>That&#8217;s it now execute the package and it will read the Azure Queue messages and insert the messages to that selected queue.
<div id="attachment_7474" style="width: 366px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-source-destination-execution.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7474" class="wp-image-7474 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-source-destination-execution.png" alt="Azure Queue Source and Destination Execution" width="356" height="313" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-source-destination-execution.png 356w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-queue-source-destination-execution-300x264.png 300w" sizes="(max-width: 356px) 100vw, 356px" /></a><p id="caption-attachment-7474" class="wp-caption-text">Azure Queue Source and Destination Execution</p></div></li>
<li>Furthermore, go to MS Azure Storage Exporter and open/refresh that queue and you will find that 15 messages there.
<div id="attachment_7475" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-open-queue.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7475" class="wp-image-7475 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-open-queue-768x599.png" alt="Microsoft Azure Storage : Queues" width="720" height="562" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-open-queue-768x599.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-open-queue-300x234.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/07/microsoft-azure-storage-explorer-open-queue.png 979w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7475" class="wp-caption-text">Microsoft Azure Storage : Queues</p></div></li>
</ol>
<h2>Performance Tips</h2>
<h3>Disable Nagle in SSIS</h3>
<p>Nagle&#8217;s algorithm is widely implemented across TCP/IP networks as a means to improve network performance. However, it is not optimal in all circumstances (such as highly interactive environments). For Azure Storage, Nagle&#8217;s algorithm has a negative impact on the performance of requests to the table and queue services, and you should disable it if possible.</p>
<p>Please refer to this link for more information: <a href="https://blogs.msdn.microsoft.com/windowsazurestorage/2010/06/25/nagles-algorithm-is-not-friendly-towards-small-requests/" target="_blank" rel="noopener">Click Here</a></p>
<p>To disable Nagle algorithm in SSIS we need to use Script Task at very First step of the Package.</p>
<ol>
<li>In the Package File at the very first step add the Scrip Task and click on Edit Script.
<div id="attachment_7483" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-add-edit-script-task.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7483" class="wp-image-7483 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-add-edit-script-task-768x504.png" alt="Edit Script Task" width="720" height="473" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-add-edit-script-task-768x504.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-add-edit-script-task-300x197.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-add-edit-script-task-1024x672.png 1024w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-add-edit-script-task.png 1196w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7483" class="wp-caption-text">Edit Script Task</p></div></li>
<li>So that it opens ScriptMain.cs Script class in another visual studio instance. Now add below Line in the Main() function and save it.<br />
<pre class="crayon-plain-tag">System.Net.ServicePointManager.UseNagleAlgorithm = false;</pre>
<div id="attachment_7484" style="width: 711px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-script-task-disable-nagle.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7484" class="wp-image-7484 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-script-task-disable-nagle.png" alt="Script Task : Disable Nagle" width="701" height="924" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-script-task-disable-nagle.png 701w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-script-task-disable-nagle-228x300.png 228w" sizes="(max-width: 701px) 100vw, 701px" /></a><p id="caption-attachment-7484" class="wp-caption-text">Script Task : Disable Nagle Algorithm</p></div></li>
<li>Now go to Script Task and click on OK , so that it&#8217;s save the script and close the class window.
<div id="attachment_7485" style="width: 730px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-save-close-script-task.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7485" class="wp-image-7485 size-medium_large" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-save-close-script-task-768x573.png" alt="Save and close Script Task" width="720" height="537" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-save-close-script-task-768x573.png 768w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-save-close-script-task-300x224.png 300w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-save-close-script-task.png 915w" sizes="(max-width: 720px) 100vw, 720px" /></a><p id="caption-attachment-7485" class="wp-caption-text">Save and close Script Task</p></div></li>
<li>That&#8217;s it we have disabled the Nagle Algorithm now you can go to next steps. In upper case we need to add data flow task and follow the steps from the 2# step.
<div id="attachment_7486" style="width: 301px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-script-task-with-data-flow-task.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7486" class="wp-image-7486 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-script-task-with-data-flow-task.png" alt="Add Data Flow Task" width="291" height="234" /></a><p id="caption-attachment-7486" class="wp-caption-text">Add Data Flow Task</p></div></li>
</ol>
<h3>Increase Max Parallel Threads size</h3>
<p>We can increase the thread size to improve performance further more, in the azure connection manager we can increase Max Parallel Threads size like 20 or more.</p>
<div id="attachment_7487" style="width: 557px" class="wp-caption aligncenter"><a href="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-storage-connection-max-thread.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7487" class="wp-image-7487 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-storage-connection-max-thread.png" alt="Azure Storage Connection : Max Parallel Threads" width="547" height="479" srcset="https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-storage-connection-max-thread.png 547w, https://zappysys.com/blog/wp-content/uploads/2019/07/ssis-azure-storage-connection-max-thread-300x263.png 300w" sizes="(max-width: 547px) 100vw, 547px" /></a><p id="caption-attachment-7487" class="wp-caption-text">Azure Storage Connection : Max Parallel Threads</p></div>
<h2><span id="Conclusion">Conclusion</span></h2>
<p>Above all, in this blog, we learned how to Read and Write in Azure Storage Queues. We used <a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-source-connector/" target="_blank" rel="noopener">Azure Queue Storage </a>to read messages from Azure Queue Storage. And <a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-destination-connector/" target="_blank" rel="noopener">Azure Queue Storage Destination</a> to insert messages from Azure Queue Storage. You can <a href="https://zappysys.com/products/ssis-powerpack/">download SSIS PowerPack here</a> to try many other scenarios not discussed in this blog along with 70+ other components.</p>
<h2><span id="References">References</span></h2>
<p>Finally, you can use the following links for more information:</p>
<ul>
<li><a href="https://zappysys.com/onlinehelp/ssis-powerpack/index.htm#page=ssis-azure-queue-storage-source.htm" target="_blank" rel="noopener">Help file : Azure Queue Source</a></li>
<li><a href="https://zappysys.com/onlinehelp/ssis-powerpack/index.htm#page=ssis-azure-queue-storage-destination.htm" target="_blank" rel="noopener">Help file : Azure Queue Destination</a></li>
</ul>
<p>The post <a href="https://zappysys.com/blog/read-write-azure-queue-storage-ssis/">Read and Write in Azure Queue Storage in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
