azureservicebus

NodeJs express app is not publishing on Azure

坚强是说给别人听的谎言 提交于 2019-12-08 12:03:34
问题 I am new to azure cloud service. I want to publish nodejs (express) api on as azure nodejs cloud service. I follow below link to create express app in nodejs. http://azure.microsoft.com/en-us/documentation/articles/cloud-services-nodejs-develop-deploy-express-app/ Above tutorial is very good. I am able to create express app and i run successfully on azure emulator. Problem :- But when i publish on cloud it also published successfully (hope so) but when i am trying to open web-service URL , it

Service MessagingCommunication Exception - The End point is only for web socket requests

爱⌒轻易说出口 提交于 2019-12-08 06:36:13
问题 Have a service bus queue where we are polling for the messages using the ServiceBus QueueClient/ReceiveMessage. The service bus version used is 3.1.4 and the connectivity mode is https. We are getting the following exception in one of the machines: Microsoft.ServiceBus.Messaging.MessagingCommunicationException: The server rejected the upgrade request. 400 This endpoint is only for web-socket requests ---> System.ServiceModel.CommunicationException: The server rejected the upgrade request. 400

Exceeds the limit (262144 bytes) currently allowed on the link Exception on SendBatch() method of Azure service bus SDK

浪子不回头ぞ 提交于 2019-12-08 06:09:21
问题 We are using SendBatch() method of Azure service bus SDK 3.1.7 to send data to Azure Event Hub. Following is the code snippet : foreach (var packet in transformedPackets) { EventData eventData = new EventData(Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(packet, settings)));; try { eventData.Properties.Add(AppConstants.TenantDeploymentUniqueIdKey, tenantDeploymentUniqueId); eventData.Properties.Add(AppConstants.DataTypeKey, DataTypeKey); byteCount += eventData.SerializedSizeInBytes; if

Azure worker role recycling with unhandled Service Bus fault message

十年热恋 提交于 2019-12-08 05:18:58
问题 I have been running an Azure worker role deployment that uses the Microsoft.ServiceBus 2.2 library to respond to jobs posted from other worker roles and web roles. Recently (suspiciously around the time of the OS update discussed here), the instances of the cluster started constantly recycling, rebooting, running for a short period of time, and then recycling again. I can confirm that the role instances make it all the way through the OnStart() method of my RoleEntryPoint from the trace

Send a message on Azure ServiceBus from .NET Core sender to a .NET 4.6 handler

て烟熏妆下的殇ゞ 提交于 2019-12-08 03:20:51
问题 I want to send a message over Azure Service Bus from a .NET Core console app and receive it with in a .NET 4.6 console app. In .NET Core I'm using Azure's new service bus client for the sender which is not yet intended for production (according to their readme). https://github.com/Azure/azure-service-bus-dotnet I can send from .NET Core and receive with .NET Core easily enough using the samples. However when the .NET 4.6 app subscribes to the Topic and receives the same message the .NET 4.6

How can I Send/Receive a message from Azure Service Bus from Qpid JMS (qpid-jms-client-0.11.1.jar)?

两盒软妹~` 提交于 2019-12-08 02:44:52
问题 I am currently researching how to connect to Azure Service Bus using Qpid JMS (qpid-jms-client-0.11.1.jar). I have created a Demo Java application SimpleSenderReceiver which connects to an already configured Azure Service Bus using the following guide (#link1). This code seems to work using a "very" old version om the Qpid JMS client (version 0.32). I am now trying to get it to work with the latest stable version of Qpid JMS (qpid-jms-client-0.11.1.jar), And so far I have not been successful.

Session based service bus with Azure Function

纵然是瞬间 提交于 2019-12-07 15:57:32
问题 I am using session queue on Azure and when I push some data on queue,I write one Azure function to trigger. Please note that I have created statefull/session based queue. The problem is when I push data to queue at that moment I got error like The listener for function 'xxx' was unable to start. Microsoft.ServiceBus: It is not possible for an entity that requires sessions to create a non-sessionful message receiver So my question is am I not able to use function with queue/topic with session?

Azure Service Bus keeps throwing MessageLockLostExceptions

流过昼夜 提交于 2019-12-07 14:15:18
问题 I keep getting MessageLockLostExceptions when processing messages. I am using Microsoft.Azure.ServiceBus 3.2.0 with .NET Core 2.1. I have a queue with LockDuration set to 30 seconds already containing a number of messages to be processed. I took the very basic message-receiving tutorial code from https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-dotnet-get-started-with-queues#receive-messages-from-the-queue, which works fine. Now I want to simulate a slightly longer

How to use client-side event batching functionality while Sending to Microsoft Azure EventHubs

不想你离开。 提交于 2019-12-07 11:36:33
问题 I'm dealing with a high throughput application of EventHub. According to the documentation, in order to achieve very high throughput from a single sender, then client-side batching is required (without exceeding the 256 KB limit per event). Best Practices for performance improvements using Service Bus brokered messaging suggests Client-side batching for achieving performance improvements. It describes client-side batching is available for queue or topic clients, which enables delaying the

Service Bus 1.1 creating Queue with WindowsAzure.ServiceBus dll

大城市里の小女人 提交于 2019-12-07 08:51:56
问题 I am preparing to develop application that connects to Azure Service Bus. For development I want use Service Bus 1.1. I have installed localy Service Bus 1.1 and it works fine when I am connecting with package Service Bus.v1_1 ver. 1.0.5 . But as I want eventually work with Azure I prefer to use package WindowsAzure Service Bus which as I know sholud work with Service Bus 1.1. But when I want to execute: namespaceManager.QueueExists(queueName) with WindowsAzure.ServiceBus ver 3.1.2 package I