Questions tagged [azure-servicebus-queues]

Windows Azure Service Bus Queue, questions regarding relay, topics and queues

Windows Azure Service Bus Queues are a set of cloud-based, message-oriented-middleware technologies. These “brokered” messaging capabilities can be thought of as asynchronous, or decoupled messaging features that support publish-subscribe, temporal decoupling, and load balancing scenarios using the Service Bus messaging fabric. Decoupled communication has many advantages; for example, clients and servers can connect as needed and perform their operations in an asynchronous fashion.

Service Bus Relay offers the ability to publish a WCF endpoint in the cloud, acting as a bridge to bypass firewalls, allowing duplex operations.

1015 questions
2
votes
0 answers

How to stop Azure Message Session Handler from timing out when listening for messages?

Below is my synchronous implementation of the IMessageSessionHandler interface. One problem I have is that when there are no messages in the queue the InitializeReceiverSync method will repeatedly run until the web job ungracefully times out in…
2
votes
2 answers

auto_increment in U-SQL

I am trying to form a new table that contains unique user_id's from existing one. Is it possible to add auto_increment primary key in U-SQL like we can add in MySQL?
rmarathe
  • 23
  • 3
2
votes
1 answer

subscribe to azure service bus topics with queues

Azure ServiceBus provides both queues and topics for the messaging. I want to know if instead of an application subscribing to a topic, can I queue do that? can we receive the topic messages into queue?
2
votes
2 answers

Azure Service Bus - Invalid authorization token signature error for queue creation

I have to send message to Queue. I have specified connection string in app.config. I already set SharedAccessKeyName and SharedAccessKey on azure and set in connection string. I am using below console code to send message. string connString = …
SSD
  • 1,041
  • 3
  • 19
  • 39
2
votes
1 answer

Defer or Abandon message servicebus queue from azure function

In my scenario, I'm sending messages to a ServiceBus Queue. I have an azure function that is being triggered on that Queue. The function receives the message, checks status using some other API endpoint, if it's processed I send out an email. But…
2
votes
0 answers

Azure Service Bus Queue improve read performance in .NET

I'm working on the solution using Azure Service Bus Queue (Pricing tier is "Standard"). Currently, I have next reading mechanism: static void Main(string[] args) { var client =…
2
votes
1 answer

Long Running Tasks in Service Fabric and Scaling Cluster In

We are using Azure Service Fabric (Stateless Service) which gets messages from the Azure Service Bus Message Queue and processes them. The tasks generally take between 5 mins and 5 hours. When its busy we want to scale out servers, and when it gets…
2
votes
2 answers

Service Bus Queue nightmare. Messages disappeared

We are running a cloud service on two different​ instances. This cloud service spins up a receiver on a service bus queue. This receiver is configured as: 1. Peek and lock mode 2. Auto complete = true 3. RenewLockTimeout = 10 mins 4.…
2
votes
1 answer

Create delay between two message reads of a Queue?

I am using Azure Queues to perform a bulk import. I am using WebJobs to perform the process in the background. The queue dequeues very frequently. How do I create a delay between 2 message reads? This is how I am adding a message to the Queue public…
2
votes
2 answers

Azure Function Binding Parameters for DocumentDb/CosmoDb

I have a service bus queue item BrokeredMessage with the following body: {"MemberId":711918,"CampaignId":"214ade86-9167-40ba-a63a-9eeb57f893fa"} The method looks like this: public static async Task Run(BrokeredMessage myQueueItem, CampaignResult…
lucuma
  • 18,247
  • 4
  • 66
  • 91
2
votes
1 answer

Recommended way for implementing request response using Azure Service Bus Queue

I wanted to get response from a worker role. To facilitate that I thought of using service bus where one worker role post message on a request queue read by other worker role which process it and post the message into the response queue read by the…
Nishant
  • 407
  • 2
  • 4
  • 12
2
votes
1 answer

Efficiently subscribe to service bus queue from Xamarin?

Is there any way (and if so, what is the best method) of subscribing to a service bus queue to receive notifications when a message appears from a Xamarin app? I've used this sample in a console app and it works well, but dont seem to be able to…
LDJ
  • 6,896
  • 9
  • 52
  • 87
2
votes
1 answer

Does QueueClient.CreateFromConnectionString cache internal connection?

I have an HTTP endpoint in an ASP.NET Core app that sends a couple of messages to Azure Service Bus. Right now, the controller action code does this: var client = QueueClient.CreateFromConnectionString(this.connectionString, entityPath); await…
2
votes
1 answer

Azure Functions and DocumentDB triggers

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…
2
votes
3 answers

Fake delivery and receipt of a BrokeredMessage Azure ServiceBus

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…
Teknos
  • 411
  • 1
  • 7
  • 20