<?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>SSIS Azure Queue Storage Destination Archives | ZappySys Blog</title>
	<atom:link href="https://zappysys.com/blog/category/ssis/components/ssis-azure-queue-storage-destination/feed/" rel="self" type="application/rss+xml" />
	<link>https://zappysys.com/blog/category/ssis/components/ssis-azure-queue-storage-destination/</link>
	<description>SSIS / ODBC Drivers / API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more</description>
	<lastBuildDate>Tue, 01 Oct 2019 11:37:27 +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>SSIS Azure Queue Storage Destination Archives | ZappySys Blog</title>
	<link>https://zappysys.com/blog/category/ssis/components/ssis-azure-queue-storage-destination/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Read/Write Azure Queue Storage data in SSIS</title>
		<link>https://zappysys.com/blog/read-write-azure-queue-storage-data-ssis/</link>
		
		<dc:creator><![CDATA[ZappySys]]></dc:creator>
		<pubDate>Tue, 06 Aug 2019 12:47:38 +0000</pubDate>
				<category><![CDATA[SSIS Azure Queue Storage Destination]]></category>
		<category><![CDATA[SSIS Azure Queue Storage Source]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[Destination]]></category>
		<category><![CDATA[Dummy]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[queue]]></category>
		<category><![CDATA[read]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[ssis]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[Trash]]></category>
		<category><![CDATA[write]]></category>
		<category><![CDATA[ZappySys]]></category>
		<guid isPermaLink="false">https://zappysys.com/blog/?p=7604</guid>

					<description><![CDATA[<p>Introduction In our previous blog, we saw you how to read/write Azure Table Storage data. Now in this blog, we will see How to Read/Write Azure Queue Storage data 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, AWS, databases, [&#8230;]</p>
<p>The post <a href="https://zappysys.com/blog/read-write-azure-queue-storage-data-ssis/">How to Read/Write Azure Queue Storage data in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p><a href="https://zappysys.com/blog/wp-content/uploads/2019/08/azure-queues.png"><img decoding="async" class="wp-image-7631 size-thumbnail alignleft" src="https://zappysys.com/blog/wp-content/uploads/2019/08/azure-queues-150x150.png" alt="" width="150" height="150" srcset="https://zappysys.com/blog/wp-content/uploads/2019/08/azure-queues-150x150.png 150w, https://zappysys.com/blog/wp-content/uploads/2019/08/azure-queues.png 250w" sizes="(max-width: 150px) 100vw, 150px" /></a>In our previous blog, we saw you how to <a href="https://zappysys.com/blog/read-write-azure-table-storage-data-ssis/" target="_blank" rel="noopener">read/write Azure Table Storage</a> data. Now in this blog, we will see How to Read/Write Azure Queue Storage data in SSIS. 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 nutshell, this post will focus on How to Read/Write Azure Queue Storage data in SSIS using the following Source/Destination.</p>
<p>&nbsp;</p>
<h2>Component Mentioned in this article</h2>
<div class="su-table su-table-alternate">
<table style="height: 44px;width: 307px">
<tbody>
<tr style="height: 22px">
<td style="height: 22px;width: 1px"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-source/ssis-azure-queue-source.png"><img decoding="async" class="alignnone wp-image-3074" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-source/ssis-azure-queue-source.png" alt="" width="40" height="40" /></a></td>
<td style="height: 22px;width: 247px"><a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-source-connector/" target="_blank" rel="noopener">Azure Queue Storage Source</a></td>
</tr>
<tr style="height: 22px">
<td style="height: 22px;width: 1px"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination.png"><img loading="lazy" decoding="async" class="alignnone wp-image-3074" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination.png" alt="" width="40" height="40" /></a></td>
<td style="height: 22px;width: 247px"><a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-destination-connector/" target="_blank" rel="noopener">Azure Queue Storage Destination</a></td>
</tr>
</tbody>
</table>
</div>
<h2><span id="Prerequisite"><span id="Requirements">Prerequisite</span></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 Storage) then you can skip Step #3</p>
<h2 id="what-are-azure-queues">What are Azure Queues?</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>
<div id="attachment_7610" style="width: 291px" class="wp-caption alignright"><a href="https://zappysys.com/blog/wp-content/uploads/2019/08/azure-queue-storage-service-concept.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7610" class="wp-image-7610 size-full" src="https://zappysys.com/blog/wp-content/uploads/2019/08/azure-queue-storage-service-concept.png" alt="Microsoft Azure Queue Concept" width="281" height="144" /></a><p id="caption-attachment-7610" class="wp-caption-text">Microsoft Azure Queue Concept</p></div>
<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>
<li>The Queue service contains the following components:</li>
</ul>
<p>&nbsp;</p>
<h2><span id="Getting_Started">Getting Started</span></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 data of Queue 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 to write data in Queue. Here we are showing you is, how to Read/Write Azure Queue Storage data in SSIS.</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 the local Azure Storage Emulator.</p>
<h2><span id="Setup_Azure_Storage_client_tools">Setup Azure Storage client tools and Create Queue</span></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="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">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-e1552723801433.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 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 Location.</p></div></li>
<li>If you don’t have Azure Storage account then it’s easy to <a href="http://azure.microsoft.com/en-us/pricing/free-trial/" target="_blank" rel="noopener">get FREE Trial Azure Storage account</a> or use your MSDN to get credit each month which will be more than enough for real testing. If you prefer to avoid all this hassle then Microsoft provides another great way to test Azure Storage functionality is totally offline mode on your local machine. You can just <a href="http://www.microsoft.com/en-us/download/details.aspx?id=42317" target="_blank" rel="noopener">download Azure Storage Emulator</a> and start testing.</li>
<li><a href="http://msdn.microsoft.com/en-us/library/azure/hh403989.aspx" target="_blank" rel="noopener">Click here</a> to learn more about how to configure Azure Storage Emulator for Testing and Development purposes. In order to connect to Azure Storage Service from SSIS, you will need Storage AccountName and an AccessKey. Ask your SysAdmin or responsible person to provide that information to you. Here are sample Account Name and Access Key(<b>this is just example key which may differ in your case</b>)<br />
<pre class="crayon-plain-tag">Account Name: mystorageaccount 
Access Key: Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==</pre>
</li>
<li>For Creating a Queue, First of all, you need to go to Microsoft Storage Explorer Window. Then you can go through like this way (Storage Accounts –&gt; (Development) –&gt; Queues. Right-click on Queues and Select Create Queue and give a name you want.
<div style="width: 379px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-storage-destination-create-new-queue-using-microsoft-storage-explorer.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-storage-destination-create-new-queue-using-microsoft-storage-explorer.png" alt="Microsoft Azure Storage Explorer - Create Queue " width="369" height="352" /></a><p class="wp-caption-text">Microsoft Azure Storage Explorer &#8211; Create Queue</p></div></li>
</ol>
<h2>Write data using ZS Azure Queue Storage Destination</h2>
<p>In this tutorial, you will learn how to write data into Azure Queue Storage. We will use <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/dummydata-source.htm" target="_blank" rel="noopener">ZS DummyData Source</a> for practice it but you can use a suitable <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/ssis-source-adapters.htm" target="_blank" rel="noopener">Source Adapter</a>. So, Let’s start, In this SSIS we will write data into Azure Queue Storage using ZS Azure Queue Storage Destination.</p>
<ol>
<li>Once you have created Azure Storage Queue and you got valid Account Name and AccessKey (for the local emulator you don’t need this) you may proceed to create new SSIS package. In BIDS/SSDT create a new SSIS package.</li>
<li>From the SSIS toolbox drag and drop <i>Data Flow Task</i> on the control flow designer surface and double click on it too.
<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" target="_blank" rel="noopener"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7934" class="wp-image-7934 size-full" 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>Click <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/azure-storage-connection-manager.htm" target="_blank" rel="noopener">here</a> to create Azure Storage Connection.</li>
<li>From the SSIS toolbox drag and drop <i>Dummy Data Source</i> on the dataflow designer surface.
<div style="width: 492px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/dummy-data-Source/ssis-dummy-data-source-adapter-drag.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/dummy-data-Source/ssis-dummy-data-source-adapter-drag.png" alt="DummyData Source - Drag and Drop" width="482" height="120" /></a><p class="wp-caption-text">DummyData Source &#8211; Drag and Drop</p></div></li>
<li>Double click Dummy Data Source to configure it. From Template pick JsonDocuments and enter row count=100 to generate 100 JSON documents and click OK to save.
<div style="width: 500px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/amazon-sqs-destination/ssis-dummy-data-source-generate-fake-json-documents.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/amazon-sqs-destination/ssis-dummy-data-source-generate-fake-json-documents.png" alt="DummyData Source - Configure" width="490" height="537" /></a><p class="wp-caption-text">DummyData Source &#8211; Configure</p></div></li>
<li>Let&#8217;s drag and drop <i>Azure Queue Storage Destination</i> on the dataflow designer surface from the SSIS toolbox.</li>
<li>Now single click on the Dummy Data Source, once you see the blue arrow from the source connect it to Azure Queue Destination.</li>
<li>Double click Azure Queue Destination to configure it. Select the connection we have created before.
<div style="width: 705px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination-select-adapter-connection.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination-select-adapter-connection.png" alt="Configure Connection Manager" width="695" height="311" /></a><p class="wp-caption-text">Configure Connection Manager</p></div></li>
<li>Click on [Component Properties] tab and select the Target Queue from the dropdown list.
<div style="width: 781px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination-select-queue.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination-select-queue.png" alt="Configure Component Properties" width="771" height="605" /></a><p class="wp-caption-text">Configure Component Properties</p></div></li>
<li>Click on [Mappings] tab and verify mapping. Map Document column from upstream to the MessageText target column.
<div style="width: 682px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination-select-mappings.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination-select-mappings.png" alt="Configure Column Mappings" width="672" height="488" /></a><p class="wp-caption-text">Configure Column Mappings</p></div></li>
<li>Click OK to save settings.</li>
<li>Execute the package and verify target data by going to your Azure Queue. We use <a href="https://azure.microsoft.com/en-us/features/storage-explorer/" target="_blank" rel="noopener">Azure Storage Explorer.</a>
<div style="width: 383px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination-insert-messages.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/ssis-azure-queue-destination-insert-messages.png" alt="SSIS Execute Package" width="373" height="342" /></a><p class="wp-caption-text">SSIS Execute Package</p></div>
<div style="width: 810px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/check-azure-queue-message-verify-count-console.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-destination/check-azure-queue-message-verify-count-console.png" alt="Microsoft Azure Explorer - Verify Queue Data" width="800" height="478" /></a><p class="wp-caption-text">Microsoft Azure Explorer &#8211; Verify Queue Data</p></div></li>
</ol>
<h2>Read data using ZS Azure Queue Storage Source</h2>
<ol>
<li>Here you may proceed In BIDS/SSDT to create a new SSIS package.</li>
<li>Now, Drag and Drop SSIS Data Flow Task from SSIS Toolbox.
<div style="width: 470px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/drag-and-drop-data-flow-task.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/drag-and-drop-data-flow-task.png" alt="SSIS Data Flow Task - Drag and Drop" width="460" height="155" /></a><p class="wp-caption-text">SSIS Data Flow Task &#8211; Drag and Drop</p></div></li>
<li>Double click on the Data Flow task to see the Data Flow designer surface.</li>
<li>From the SSIS toolbox drag and drop ZS Azure Queue Storage Source on the dataflow designer surface.
<div style="width: 485px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-source/ssis-azure-queue-source-drag.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-source/ssis-azure-queue-source-drag.png" alt="SSIS ZS Azure Queue Source - Drag and Drop" width="475" height="103" /></a><p class="wp-caption-text">SSIS ZS Azure Queue Source &#8211; Drag and Drop</p></div></li>
<li>Double click Azure Queue Storage Source to configure it.</li>
<li>Select Azure Storage Connection we have created before and select queue from the dropdown and click on preview.
<div style="width: 949px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-source/ssis-azure-queue-source-preview-messages.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-source/ssis-azure-queue-source-preview-messages.png" alt="Configure Azure Queue Source" width="939" height="688" /></a><p class="wp-caption-text">Configure Azure Queue Source</p></div></li>
<li>Click on OK button to save configure.</li>
<li>Now, you can use a suitable Destination Adapter from <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/ssis-destination-adapters.htm" target="_blank" rel="noopener">here.</a> In this case, we used Trash Destination.</li>
<li>From the SSIS toolbox drag and drop Trash Destination on the data flow designer surface.
<div style="width: 529px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/trash-destination/ssis-trash-destination-adapter-drag.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/trash-destination/ssis-trash-destination-adapter-drag.png" alt="SSIS ZS Trash Destination - Drag and Drop" width="519" height="121" /></a><p class="wp-caption-text">SSIS ZS Trash Destination &#8211; Drag and Drop</p></div></li>
<li>Now single click on the Azure Queue Storage Source once you see the blue arrow from the source &#8230; connect it to Trash Destination.</li>
<li>Double click on ZS Trash Destination to Configure it.
<div style="width: 622px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/trash-destination/ui-trash-destination-settings.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/trash-destination/ui-trash-destination-settings.png" alt="SSIS ZS Trash Destination - Configure" width="612" height="523" /></a><p class="wp-caption-text">SSIS ZS Trash Destination &#8211; Configure</p></div></li>
<li>Click on OK button to save Trash Destination configure setting UI.</li>
<li>Execute the package and verify source data in the data viewer.
<div style="width: 350px" class="wp-caption aligncenter"><a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-source/ssis-read-messages-from-azure-queue.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" src="https://zappysys.com/onlinehelp/ssis-powerpack/scr/images/azure-queue-storage-source/ssis-read-messages-from-azure-queue.png" alt="SSIS ZS Azure Queue Source - Execute the Package" width="340" height="307" /></a><p class="wp-caption-text">SSIS ZS Azure Queue Source &#8211; Execute the Package</p></div></li>
<li>After messages read from Azure Queue, the same message cannot be read again until VisibilityTimeout. By default Queue, visibility timeout is used (-1 means use default) but you can override it on the source UI.</li>
</ol>
<h2>Conclusion</h2>
<p>In this blog, we learn How to Read/Write Azure Queue Storage data in SSIS. We used the Azure Queue Destination for write data and Azure Queue Source to read data. 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>References</h2>
<p>Finally, you can use the following links for more information:</p>
<ul>
<li><a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-source-connector/" target="_blank" rel="noopener">Azure Queue Source</a></li>
<li><a href="https://zappysys.com/products/ssis-powerpack/ssis-azure-queue-storage-destination-connector/" target="_blank" rel="noopener">Azure Queue Destination</a></li>
<li><a href="https://docs.microsoft.com/en-us/azure/storage/queues/storage-dotnet-how-to-use-queues" target="_blank" rel="noopener">Microsoft Azure Queues</a></li>
<li><strong>Help File:</strong> <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/ssis-azure-queue-storage-source.htm" target="_blank" rel="noopener">Azure Queue Source,</a> <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/ssis-azure-queue-storage-destination.htm" target="_blank" rel="noopener">Azure Queue Destination,</a> <a href="https://zappysys.com/onlinehelp/ssis-powerpack/scr/trash-destination.htm" target="_blank" rel="noopener">Trash Destination</a></li>
</ul>
<p>&nbsp;</p>
<p>The post <a href="https://zappysys.com/blog/read-write-azure-queue-storage-data-ssis/">How to Read/Write Azure Queue Storage data in SSIS</a> appeared first on <a href="https://zappysys.com/blog">ZappySys Blog</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<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 loading="lazy" 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>
