Questions tagged [rebus-azureservicebus]

31 questions
1
vote
1 answer

Rebus 2nd Level Retry

Is it possible to define exponential backoff with randomisation for the retry below? public class SomeHandler : IHandleMessages, IHandleMessages> { readonly IBus _bus; public SomeHandle(IBus bus) { _bus…
Pingpong
  • 7,681
  • 21
  • 83
  • 209
1
vote
1 answer

Rebus backoff and Polly support

I have questions on Backoff policy below: 1 Can it be used for both Publiser (enqueue messages) and Subscriber (dequeue messages)? 2 Is Rebus Backoff policy same as Polly's Retry? But the description below mentions idle time, which I am a bit…
Pingpong
  • 7,681
  • 21
  • 83
  • 209
1
vote
1 answer

Workers and parallelism with Rebus

I have questions on threading below: 1 What are the default value for both methods below: 2 SetNumberOfWorkers: are the workers dedicated threads or via Thread pools? Configure.With(...) .(...) .Options(o => { …
Pingpong
  • 7,681
  • 21
  • 83
  • 209
1
vote
1 answer

Pub sub pattern created Queues and Topics on Azure Service Bus with Rebus

The app below is tweaked to work with Azure Service Bus. https://github.com/rebus-org/RebusSamples/tree/master/PubSub However, below are created. Queues error publisher subscriber Topics messages_datetimemessage__messages:…
Pingpong
  • 7,681
  • 21
  • 83
  • 209
1
vote
1 answer

Pub sub pattern with centralized subscription storage using Azure Service Bus

I am new to Rebus, and try to run the app below with Azure Service Bus, but I got the error below: https://github.com/rebus-org/RebusSamples/tree/master/PubSubCentralized System.InvalidOperationException HResult=0x80131509 Message=Attempted to…
Pingpong
  • 7,681
  • 21
  • 83
  • 209
0
votes
0 answers

Rebus, Azure Service Bus and Peek-Lock vs. Receive-and-Delete

I am using Azure Service Bus with Rebus. Most of my events should return very quickly. However, there are a few events which may take a long time, in which I'd need to do one of the following: Increment the peek-lock duration. The maximum is 5…
Eric
  • 1,945
  • 3
  • 23
  • 33
0
votes
0 answers

Rebus: How to cancel or clear defer message from schedule list with azure service bus?

Recently we have been moved to Azure Service Bus from RabitMQ, from there we were getting many complaints about duplicate reminders/reports from customer. Cause: As defer message is getting duplicated on restart app/component, due to that it is…
0
votes
0 answers

C# netcore app could not resolve Rebus.Bus.IBus in Docker Windows Container

I have a simple netcore 3.0 console app initializing a connection with Azure Service Bus using Rebus(v7.1.0). I built the app to be selfcontained, then I run it on my laptop and on another computer we have at the office. The problem : The app is…
jeremybl
  • 1
  • 1
0
votes
1 answer

Rebus, using Castle Windsor with Rebus

I'm trying to use Rebus with Azure Service Bus and Castle Windsor. When I use the version of my code without Castle Windsor, queues and topics are created correctly: public static void Main(string[] args) { using (var activator = new…
Alberto
  • 199
  • 2
  • 17
0
votes
0 answers

Rebus Azure topic names cleanup

Working with AzureServiceBus, and using the ITopicnameConvention and for some reason my topic names have some "cleanup" after the GetTopic() method. They all end up in lowercase and '.' are replaced with '_' Am I missing something? I'm using the…
dariogriffo
  • 4,148
  • 3
  • 17
  • 34
0
votes
1 answer

Rebus listening to pure azure servicebus

In my scenario, I've implemented Rebus (usings azure servicebus) in my application (going to make a PoC using sagas). Problem is, the topic I'm listening to is azure servicebus only, no fancy pancy. I'm subscribing to the topic, moving the message…
0
votes
1 answer

Running 1st and 2nd level retry forever not calling IErrorHandler

The code below enables 2nd level retry and IErrorHandler. The problem is that IErrorHandler is never invoked. var activator = new BuiltinHandlerActivator(); activator.Register((bus, mc) => new Handler(mc, bus)); …
Pingpong
  • 7,681
  • 21
  • 83
  • 209
0
votes
1 answer

How to use Rebus.Logging.ILog

Is it possible to use ILog below with Azure Function logging or Serilog etc? I cannot find code example on how to use it. Rebus.Logging.ILog .Options(o => { o.Decorate(c => new…
Pingpong
  • 7,681
  • 21
  • 83
  • 209
0
votes
0 answers

Correct code and settings with both Publisher and Subscriber with Rebus

Are the code and comments below from 1 - 7 all correct? //7 below is not needed for both publisher and subscriber // .Routing(r => r.TypeBased().MapAssemblyOf(Consts.Publisher)) Subscriber1 Configure.With(activator) …
Pingpong
  • 7,681
  • 21
  • 83
  • 209
0
votes
1 answer

Test both Handle and Handle methods with 1st level and 2nd Level Retry with Rebus

How to debug both Handle methods below? I set breakpoints on both Handle method within Visual Studio, and send message to Subscriber1 queue, but both methods are not called under VS. public class SomeHandler : IHandleMessages,…
Pingpong
  • 7,681
  • 21
  • 83
  • 209