azure-servicebus-queues

Azure service bus ACS issuer and key is missing

别等时光非礼了梦想. 提交于 2019-12-12 23:23:32
问题 I created some Service Buses today and besides having a specific type ("Messaging", my older buses are "Mixed") they don't give me any ACS information that I need. My old Service Buses do have this information. What I understand from this: Azure: How to createa a Access Control Service namespace for a Service Bus namespace? is that I might need to use Powershell Cmdlet which I have no knowledge of. Is there a way to add ACS to the Service Bus? And how? 回答1: Yes, you will need to use

Azure Functions and DocumentDB triggers

安稳与你 提交于 2019-12-12 18:17:56
问题 Is it possible to specify the DocumentDB is to fire triggers when writing to DocumentDB? I have an Azure function that pulls JSON messages off a Service Bus Queue and puts them into DocumentDB like so: using System; using System.Threading.Tasks; public static string Run(string myQueueItem, TraceWriter log) { log.Info($"C# ServiceBus queue trigger function processed message: {myQueueItem}"); return myQueueItem; } This inserts new documents into the database as they are added to the service bus

Listen to Queue (Event Driven no polling) Service-Bus / Storage Queue

允我心安 提交于 2019-12-12 11:23:12
问题 I'm trying to figure out how can I listen to an events on a queue (especially an enqueue event). Say I have a Console Application and a Service Bus Queue/Topic, how can I connect to the Queue and wait for a new message ? I'm trying to achieve this without While(true) and constant polling, I'm trying to do it more in a quite listener way something like a socket that stay connected to the queue. The reason I don't want to use polling is that I understand that its floods the server with requests

Azure Service Bus Queue sending a message in NodeJs to .NET client

大兔子大兔子 提交于 2019-12-12 03:25:48
问题 I am sending a message from a C# worker to the Queue, then I am getting it on another C# worker and call string body = message.GetBody<string>(); This works and I later de-serialize the string/JSON message. Now I am trying to send the same message from NodeJS in form of a JSON message. When I try to receive it and string body = message.GetBody<string>(); call this I get an exception saying the input is in incorrect format. My message object on NodeJS looks like this { body: JSON.stringify

how to peek and delete a message from deadletter in azureservicebus

左心房为你撑大大i 提交于 2019-12-12 02:56:33
问题 I have created an azure service bus topic application which peek all messages in deadletter . Some specific messages(with particular messageid) which i peeked need to be removed from the deadletter queue. Please provide help for implementing this. 回答1: By calling complete on the reference to the brokered message you receive from the dead letter queue you can remove it from the dead letter queue. https://msdn.microsoft.com/library/azure/microsoft.servicebus.messaging.brokeredmessage.complete

Azure Service Bus Queue gives control characters in fetched message

自古美人都是妖i 提交于 2019-12-12 01:16:35
问题 I am using BizTalk Server SB-Messaging adapter to retreive messages from Azure Service Bus Queue. I have successfully managed to send message to queue myself (using same adapter), and retreive message from queue and do further processing. Problem arises when a 3rd party software supplier is sending messages to the queue, and for BizTalk Server to retreive and process message. I then receive the following additional "header"-information and control characters in the beginning of the message:

New-AzureSBAuthorizationRule error when creating authorization for a Service Bus Queue

孤人 提交于 2019-12-11 16:17:40
问题 I use New-AzureSBAuthorizationRule to create a new Shared Access Policy for an Azure Service Bus Queue. See command below... New-AzureSBAuthorizationRule -EntityName abcdef -EntityType Queue -Permission Listen -Name "abcdef_reader" -Namespace abcdefnamespace But every time I run this I get the error below: New-AzureSBAuthorizationRule : Object reference not set to an instance of an object. At line:1 char:1 + New-AzureSBAuthorizationRule -EntityName abcdef -EntityType Queue -Permission ... + ~

How to set the connection string for a Service Bus Logic App action in an ARM template?

拟墨画扇 提交于 2019-12-11 10:46:51
问题 I'm attempting to deploy an Azure Logic App that includes an action to Send a message on a Service Bus using an ARM template. In addition to deploying the Logic App, the ARM template deploys a Service Bus Namespace, a Queue and two AuthorizationRule (one for sending and one for listening). I want to dynamically set the connection information for the Send Service Bus Message action to use the Connection string generated for the AuthorizationRule that supports sending. When I create this in the

Fake delivery and receipt of a BrokeredMessage Azure ServiceBus

不羁的心 提交于 2019-12-11 07:57:51
问题 I have created an instance of a BrokeredMessage and want to test my code around it's deliverycount versus a queue's max delivery count. I don't want to standup a real queue to send and receive the message on, but the deliverycount property is not initialized until the message is delivered. How can I fake this? 回答1: the deliverycount property is not initialized until the message is delivered. How can I fake this? BrokeredMessage.DeliveryCount property is read-only, and the value of

AMQP Message Null when using Azure IoTHub Routing

怎甘沉沦 提交于 2019-12-11 05:35:16
问题 I have a custom Endpoint + Route setup based on TwinChangeEvent in Azure IoT Hub. I'm routing the events to a Service Bus Queue (tried topic also). I'm using Java Service Bus SDK (azure-servicebus-1.1.0.jar) to pull messages off of the queue. However, I keep getting a NullPointerException in com.microsoft.azure.servicebusMessageConverter on line 124 "brokeredMessage.setMessageId(amqpMessage.getMessageId().toString());" The messageId property seems to be getting lost during the routing. Any