servicebus

Azure Service Bus Subscriber Deadletter

纵然是瞬间 提交于 2019-12-23 12:19:54
问题 I've looked everywhere for information on this but can't seem to find what i'm looking for. I've got an azure topic, with one subscription. The handler for the subscription failed some messages, they've been put on the deadletter queue. I can access the messages but i'm at a loss for how to restore them. I don't want to create a copy of the message and send it to the topic. I specifically want to move it to the subscription queue it came from. Is there any way to do this? 回答1: I don't know if

Why does BrokeredMessage.RenewLock() only renew the lock for a few seconds?

情到浓时终转凉″ 提交于 2019-12-23 07:43:55
问题 I've got a BrokeredMessageContext class which uses a Timer to periodically check and renew the lock on a BrokeredMessage instance in case the process that handles this message runs for longer than expected. It renews the lock by calling the RenewLock() method on the BrokeredMessage instance. I expected this call to give me a new lock with the same timeout as the original lock (MSDN states that "You can renew locks for the same duration as the entity lock timeout, and there is no maximum

code generate Azure Servicebus Namespace

喜欢而已 提交于 2019-12-23 02:18:26
问题 I'm trying to figure out a way to create Azure Servicebus namespace using Azure manage API, cmdlets or REST API, so that I can create repeatable scripts for my deployment. Right now the only way I know how to create the Servicebus Namespace is through the Azure Portal. Is there a scriptable (c#, powershell) way to create a new azure servicebus w/o using the Azure portal ? here's a few links I've already read through: Azure Cmdlets: msdn.microsoft.com/en-us/library/jj152841.aspx API References

Sending 1000 brokered messages to the service bus using the SendBatchAsync method

核能气质少年 提交于 2019-12-22 22:42:28
问题 I have an application wherein data is fetched from the SQL DB and sent to the service bus as brokered message. These are the steps: Data fetched from the DB(in batches of 1000) Each row of data converted into Brokered Message and added into a list. The list of 1000 brokered messages is sent to the service bus using SendBatchAsync method. It is at the 3rd step that I am facing the issue. This is the code for that: public async Task SendMessagesAsync(List<BrokeredMessage> brokeredMessageList) {

Sending 1000 brokered messages to the service bus using the SendBatchAsync method

自作多情 提交于 2019-12-22 22:40:12
问题 I have an application wherein data is fetched from the SQL DB and sent to the service bus as brokered message. These are the steps: Data fetched from the DB(in batches of 1000) Each row of data converted into Brokered Message and added into a list. The list of 1000 brokered messages is sent to the service bus using SendBatchAsync method. It is at the 3rd step that I am facing the issue. This is the code for that: public async Task SendMessagesAsync(List<BrokeredMessage> brokeredMessageList) {

Microsoft Service Bus on a Windows Workgroup

萝らか妹 提交于 2019-12-22 05:41:21
问题 I just started playing with Microsoft Service Bus. Now my personal challenge is that I'm doing this after hours, on my own time, etc, which means I am using VMs and Non-Domain pcs. These guys are all workgroup. I've had pretty decent success, especially after I stumbled across this link: Microsoft Service Bus 1.0 unable to communicate with a server outside the client's domain This guy provided a much needed boost to get me past being able to use the namespace to create queues, etc. However,

Running ServiceBus in windows docker container

末鹿安然 提交于 2019-12-22 05:36:22
问题 The main goal is to run the ServiceBus in a docker container for windows. Output of docker version: Client: Version: 1.13.1 API version: 1.26 Go version: go1.7.5 Git commit: 092cba3 Built: Wed Feb 8 08:47:51 2017 OS/Arch: windows/amd64 Server: Version: 1.13.1 API version: 1.26 (minimum version 1.24) Go version: go1.7.5 Git commit: 092cba3 Built: Wed Feb 8 08:47:51 2017 OS/Arch: windows/amd64 Experimental: true Dockerfile content: # Is used as sql server local storage for servicebus FROM

BrokeredMessage Automatically Disposed after calling OnMessage()

回眸只為那壹抹淺笑 提交于 2019-12-21 19:51:32
问题 I am trying to queue up items from an Azure Service Bus so I can process them in bulk. I am aware that the Azure Service Bus has a ReceiveBatch() but it seems problematic for the following reasons: I can only get a max of 256 messages at a time and even this then can be random based on message size. Even if I peek to see how many messages are waiting I don't know how many RequestBatch calls to make because I don't know how many messages each call will give me back. Since messages will keep

Publish to Azure Service Bus over http behind proxy

被刻印的时光 ゝ 提交于 2019-12-20 02:09:20
问题 I used Azure ServiceBus API to publish onto Service Bus. The sb protocol does not work behind the firewall. Hence I set ServiceBusEnvironment.SystemConnectivity.Mode to ConnectivityMode.Http. This was working as long as I was directly connected to the internet. This wouldnt work in my office, even after configuring the http proxy. Is there an issue with the ServiceBus API? Appreciate your help on this. Below is the piece of code that I used.... public static void Initialize() { // Using Http

nServiceBus, Rhino Service Bus, MassTransit - Videos, Demos, Learning Resources

空扰寡人 提交于 2019-12-18 10:16:52
问题 Hey people would love to hear about any resources you have or know about for nServiceBus, Rhino Service Bus and MassTransit. Videos? Blog posts? Books? Demo Projects etc 回答1: The discussion group at Google Groups is a very good resource. So far I have written three articles about nServiceBus at ArtOfBabel.com: Open Source Integration with nServiceBus Up and Running with nServiceBus 1.9 nServiceBus: Building the Solution A few more articles should be available soon too. 回答2: If you are