
{"id":84,"date":"2023-06-13T04:52:09","date_gmt":"2023-06-13T03:52:09","guid":{"rendered":"https:\/\/ishooscode.com\/?p=84"},"modified":"2023-06-23T09:56:49","modified_gmt":"2023-06-23T08:56:49","slug":"send-data-to-queue-in-azure-service-bus","status":"publish","type":"post","link":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/","title":{"rendered":"How to send data to queue in azure service bus"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this article, we are going to user powershell script to How can we send data to queue in azure service bus which is an excellent way if you want to process some large existing data and does not want to overload the application instantly. So this mechanism provides a controlled way to perform such task with help of azure service bus queue.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/f4n3x6c5.stackpathcdn.com\/article\/pushing-messages-to-azure-servicebus-queue-from-azure-pipeline\/Images\/PowershellToServiceBus.PNG\" alt=\"How to send data to queue in azure service bus\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As the name suggests azure service bus queue is a&nbsp;queue. Our applications can send messages to this queue and also can listen from this queue one by one. Services provides a simple way to decouple components completely and efficiently. Service bus stores message durably<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In Services bus context there are two users<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Producers<\/li>\n\n\n\n<li>Consumers<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Producers&nbsp;<\/strong>push messages to queue without the expectation of any response.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Consumers&nbsp;<\/strong>read messages from queue and have no obligation for producers on how to process the message<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Therefore producers and consumers does not have to send or receive messages from queue at the same time respectively and both can process message at their own pace<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are two ways consumers can receive messages from service bus,<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Receive and Delete<\/li>\n\n\n\n<li>Peak and Lock<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Now let&#8217;s get started with&nbsp;powershell script to push messages to service bus queue.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;CmdletBinding()]\nparam(\n\t&#91;Parameter (Mandatory = $false)]\n\t&#91;string]\n\t$ResourceGroupName = \"\",\n\t&#91;Parameter (Mandatory = $false)]\n\t&#91;string]\n\t$NamespaceName = \"\",\n\t&#91;Parameter(Mandatory = $false)]\n\t&#91;string]\n\t$PolicyName = 'RootManageSharedAccessKey',\n\t&#91;Parameter(Mandatory = $true)]\n\t&#91;string]\n\t$ServiceBusName,\n\t&#91;Parameter(Mandatory = $true)]\n\t&#91;string]\n\t$$Namespace,\n\t&#91;Parameter(Mandatory = $true)]\n\t&#91;string]\n\t$lat,\n\t&#91;Parameter(Mandatory = $true)]\n\t&#91;string]\n\t$long,\n\t&#91;Parameter(Mandatory = $false)]\n\t&#91;string]\n\t$userId,\n)\n\nfunction Send-AzServiceBusMessage\n{\n\t$continuationToken = $null\n\n\t$module = Get-InstalledModule -Name Az.ServiceBus\n\n\tif($module -ne $null)\n\t{\n\t\twrite-host \"module avaiable\"\n\t}\n\telse\n\t{\n\t\twrite-host \"Az.ServiceBus module not avaiable download in progress\"\n\t\tInstall-Module -Name Az.ServiceBus -AllowClobber -force\n\t}\n\n\t$primaryKey = (Get-AzServiceBusKey -ResourceGroupName $ResourceGroupName -Namespace $namespacename -Name $PolicyName).Primarykey\n\n\t$message = &#91;pscustomobject] @{ \"Body\" = \"{`\"userId`\":`\"$userId`\",`\"lat`\":$lat, `\"long`\": $long}\"; }\n\twrite-host \"josn data $message\"\n\n\t$body = $message.Body\n\t$message.psobject.properties.Remove(\"Body\")\n\n\t#set up the url parameters for the Invoke-WebRequest\n\t$uri = \"https:\/\/$Namespace.servicebus.windows.net\/\"+$ServiceBusName+\"\/messages\"\n\n\t$origin = &#91;DateTime]\"1\/1\/1970 00:00\"\n\t$Expiry = (Get-Date).AddMinutes(1)\n\n\t#compute the token expiration time.\n\t$diff = New-TimeSpan -Start $origin -End $Expiry\n\t$tokenExpirationTime = &#91;Convert]::ToInt32($diff.TotalSeconds)\n\n\tAdd-Type -AssemblyName System.Web\n\n\t#create the string that will be hashed\n\t$stringToSign = &#91;Web.HttpUtility]::UrlEncode($Namespace) + \"`n\" + $tokenExpirationTime\n\n\t#new-up the HMACSHA256 class\n\t$hmacsha = New-Object -TypeName System.Security.Cryptography.HMACSHA256\n\t$hmacsha.Key = &#91;Text.Encoding]::UTF8.GetBytes($primaryKey)\n\n\t#hash is computed with the HMACSHA256 class instance. The hash is converted to a base 64 string\n\t$hash = $hmacsha.ComputeHash(&#91;Text.Encoding]::UTF8.GetBytes($stringToSign))\n\t$signature = &#91;Convert]::ToBase64String($hash)\n\n\t#creating token here\n\t$token = &#91;string]::Format(&#91;Globalization.CultureInfo]::InvariantCulture, \"SharedAccessSignature sr={0}&amp;sig={1}&amp;se={2}&amp;skn={3}\", &#91;Web.HttpUtility]::UrlEncode($Namespace), &#91;web.HttpUtility]::UrlEncode($signature),$tokenExpirationTime, $PolicyName)\n\n\twrite-host \"token : $token\"\n\n\t$headers = @{\"Authorization\" = \"$token\"; \"Content-Type\" = \"application\/atom+xl;type=entry;charset-utf-g\"}\n\t$headers.Add(\"BrokerProperties\", $(ConvertTo-Json -InputObject $Message -Compress))\n\n\t#Invoke-WebRequest call.\n\t#This invokes the resurce api to push payload to service bus queue\n\tInvoke-WebRequest -Uri $uri -Headers $headers -Method Post -Body $body &gt; $null\n}\n\nSend-AzServiceBusMessage<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And using this we can push our messages to service bus queues. Cheers !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We can push messages to any services bus from our pipelines which can help an enterprise application to be more streamlined and ready for users<\/p>\n","protected":false},"author":1,"featured_media":89,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"wpai_generated_summary":"","wpai_tts_display_audio":true,"footnotes":""},"categories":[21,33],"tags":[24,26,10,27,8,25],"class_list":["post-84","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-azure","category-powershell","tag-azure-service-bus-queue","tag-devops","tag-microsoft-azure","tag-pipelines","tag-powershell","tag-queue"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Efficiently push messages to Queue using a PowerShell | Azure service bus queue | Use powershell to communicate with azure resources | send data to queue\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"ishooagarwal@gmail.com\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ishoo&#039;s Code -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to send data to queue in azure service bus - Ishoo&#039;s Code\" \/>\n\t\t<meta property=\"og:description\" content=\"Efficiently push messages to Queue using a PowerShell | Azure service bus queue | Use powershell to communicate with azure resources | send data to queue\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-06-13T03:52:09+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-06-23T08:56:49+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to send data to queue in azure service bus - Ishoo&#039;s Code\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Efficiently push messages to Queue using a PowerShell | Azure service bus queue | Use powershell to communicate with azure resources | send data to queue\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#blogposting\",\"name\":\"How to send data to queue in azure service bus - Ishoo's Code\",\"headline\":\"How to send data to queue in azure service bus\",\"author\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/author\\\/ishooagarwalgmail-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/ishooscode.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ServiceBus.png\",\"width\":327,\"height\":315,\"caption\":\"How to send data to queue in azure service bus\"},\"datePublished\":\"2023-06-13T04:52:09+01:00\",\"dateModified\":\"2023-06-23T09:56:49+01:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#webpage\"},\"articleSection\":\"Microsoft Azure, Powershell, Azure Service bus queue, Devops, Microsoft Azure, Pipelines, Powershell, Queue\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ishooscode.com\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/category\\\/microsoft-azure\\\/#listItem\",\"name\":\"Microsoft Azure\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/category\\\/microsoft-azure\\\/#listItem\",\"position\":2,\"name\":\"Microsoft Azure\",\"item\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/category\\\/microsoft-azure\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#listItem\",\"name\":\"How to send data to queue in azure service bus\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#listItem\",\"position\":3,\"name\":\"How to send data to queue in azure service bus\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/category\\\/microsoft-azure\\\/#listItem\",\"name\":\"Microsoft Azure\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/#person\",\"name\":\"ishooagarwal@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0ea4396d285fbb3d9c79bf9c2073c85d136b778750ab18d6edb4f53eb3ee18a9?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"ishooagarwal@gmail.com\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/author\\\/ishooagarwalgmail-com\\\/#author\",\"url\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/author\\\/ishooagarwalgmail-com\\\/\",\"name\":\"ishooagarwal@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0ea4396d285fbb3d9c79bf9c2073c85d136b778750ab18d6edb4f53eb3ee18a9?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"ishooagarwal@gmail.com\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#webpage\",\"url\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/\",\"name\":\"How to send data to queue in azure service bus - Ishoo's Code\",\"description\":\"Efficiently push messages to Queue using a PowerShell | Azure service bus queue | Use powershell to communicate with azure resources | send data to queue\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/author\\\/ishooagarwalgmail-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/author\\\/ishooagarwalgmail-com\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/ishooscode.com\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/ServiceBus.png\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#mainImage\",\"width\":327,\"height\":315,\"caption\":\"How to send data to queue in azure service bus\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/index.php\\\/2023\\\/06\\\/13\\\/send-data-to-queue-in-azure-service-bus\\\/#mainImage\"},\"datePublished\":\"2023-06-13T04:52:09+01:00\",\"dateModified\":\"2023-06-23T09:56:49+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ishooscode.com\\\/#website\",\"url\":\"https:\\\/\\\/ishooscode.com\\\/\",\"name\":\"ishooscode.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/ishooscode.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to send data to queue in azure service bus - Ishoo's Code","description":"Efficiently push messages to Queue using a PowerShell | Azure service bus queue | Use powershell to communicate with azure resources | send data to queue","canonical_url":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#blogposting","name":"How to send data to queue in azure service bus - Ishoo's Code","headline":"How to send data to queue in azure service bus","author":{"@id":"https:\/\/ishooscode.com\/index.php\/author\/ishooagarwalgmail-com\/#author"},"publisher":{"@id":"https:\/\/ishooscode.com\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/ishooscode.com\/wp-content\/uploads\/2023\/06\/ServiceBus.png","width":327,"height":315,"caption":"How to send data to queue in azure service bus"},"datePublished":"2023-06-13T04:52:09+01:00","dateModified":"2023-06-23T09:56:49+01:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#webpage"},"isPartOf":{"@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#webpage"},"articleSection":"Microsoft Azure, Powershell, Azure Service bus queue, Devops, Microsoft Azure, Pipelines, Powershell, Queue"},{"@type":"BreadcrumbList","@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/ishooscode.com\/#listItem","position":1,"name":"Home","item":"https:\/\/ishooscode.com\/","nextItem":{"@type":"ListItem","@id":"https:\/\/ishooscode.com\/index.php\/category\/microsoft-azure\/#listItem","name":"Microsoft Azure"}},{"@type":"ListItem","@id":"https:\/\/ishooscode.com\/index.php\/category\/microsoft-azure\/#listItem","position":2,"name":"Microsoft Azure","item":"https:\/\/ishooscode.com\/index.php\/category\/microsoft-azure\/","nextItem":{"@type":"ListItem","@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#listItem","name":"How to send data to queue in azure service bus"},"previousItem":{"@type":"ListItem","@id":"https:\/\/ishooscode.com\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#listItem","position":3,"name":"How to send data to queue in azure service bus","previousItem":{"@type":"ListItem","@id":"https:\/\/ishooscode.com\/index.php\/category\/microsoft-azure\/#listItem","name":"Microsoft Azure"}}]},{"@type":"Person","@id":"https:\/\/ishooscode.com\/#person","name":"ishooagarwal@gmail.com","image":{"@type":"ImageObject","@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/0ea4396d285fbb3d9c79bf9c2073c85d136b778750ab18d6edb4f53eb3ee18a9?s=96&d=mm&r=g","width":96,"height":96,"caption":"ishooagarwal@gmail.com"}},{"@type":"Person","@id":"https:\/\/ishooscode.com\/index.php\/author\/ishooagarwalgmail-com\/#author","url":"https:\/\/ishooscode.com\/index.php\/author\/ishooagarwalgmail-com\/","name":"ishooagarwal@gmail.com","image":{"@type":"ImageObject","@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0ea4396d285fbb3d9c79bf9c2073c85d136b778750ab18d6edb4f53eb3ee18a9?s=96&d=mm&r=g","width":96,"height":96,"caption":"ishooagarwal@gmail.com"}},{"@type":"WebPage","@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#webpage","url":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/","name":"How to send data to queue in azure service bus - Ishoo's Code","description":"Efficiently push messages to Queue using a PowerShell | Azure service bus queue | Use powershell to communicate with azure resources | send data to queue","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/ishooscode.com\/#website"},"breadcrumb":{"@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#breadcrumblist"},"author":{"@id":"https:\/\/ishooscode.com\/index.php\/author\/ishooagarwalgmail-com\/#author"},"creator":{"@id":"https:\/\/ishooscode.com\/index.php\/author\/ishooagarwalgmail-com\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/ishooscode.com\/wp-content\/uploads\/2023\/06\/ServiceBus.png","@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#mainImage","width":327,"height":315,"caption":"How to send data to queue in azure service bus"},"primaryImageOfPage":{"@id":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/#mainImage"},"datePublished":"2023-06-13T04:52:09+01:00","dateModified":"2023-06-23T09:56:49+01:00"},{"@type":"WebSite","@id":"https:\/\/ishooscode.com\/#website","url":"https:\/\/ishooscode.com\/","name":"ishooscode.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/ishooscode.com\/#person"}}]},"og:locale":"en_US","og:site_name":"Ishoo's Code -","og:type":"article","og:title":"How to send data to queue in azure service bus - Ishoo's Code","og:description":"Efficiently push messages to Queue using a PowerShell | Azure service bus queue | Use powershell to communicate with azure resources | send data to queue","og:url":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/","article:published_time":"2023-06-13T03:52:09+00:00","article:modified_time":"2023-06-23T08:56:49+00:00","twitter:card":"summary_large_image","twitter:title":"How to send data to queue in azure service bus - Ishoo's Code","twitter:description":"Efficiently push messages to Queue using a PowerShell | Azure service bus queue | Use powershell to communicate with azure resources | send data to queue"},"aioseo_meta_data":{"post_id":"84","title":null,"description":"Efficiently push messages to Queue using a PowerShell | Azure service bus queue | Use powershell to communicate with azure resources | send data to queue","keywords":[],"keyphrases":{"focus":{"keyphrase":"send data to queue","score":100,"analysis":{"keyphraseInTitle":{"score":9,"maxScore":9,"error":0},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":4},"keyphraseInURL":{"score":5,"maxScore":5,"error":0},"keyphraseInIntroduction":{"score":9,"maxScore":9,"error":0},"keyphraseInSubHeadings":[],"keyphraseInImageAlt":{"score":9,"maxScore":9,"error":0}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":0,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2023-06-13 03:52:10","updated":"2026-11-03 09:44:09","focus_keyword":"send data to queue","additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ishooscode.com\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ishooscode.com\/index.php\/category\/microsoft-azure\/\" title=\"Microsoft Azure\">Microsoft Azure<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to send data to queue in azure service bus\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/ishooscode.com\/"},{"label":"Microsoft Azure","link":"https:\/\/ishooscode.com\/index.php\/category\/microsoft-azure\/"},{"label":"How to send data to queue in azure service bus","link":"https:\/\/ishooscode.com\/index.php\/2023\/06\/13\/send-data-to-queue-in-azure-service-bus\/"}],"_links":{"self":[{"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":4,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":128,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/posts\/84\/revisions\/128"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/media\/89"}],"wp:attachment":[{"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}