Questions tagged [rebus]

Rebus is a lean service bus implementation for .NET, similar in nature to NServiceBus, MassTransit, only leaner.

Rebus is a lean service bus implementation for .NET, similar in nature to NServiceBus, MassTransit, etc.

Rebus is licensed under MIT, and the source code is available on GitHub, which is also the home of the official documentation wiki.

392 questions
3
votes
1 answer

Handle Publish/Subscribe in Rebus with Azure Service Bus

I am looking into Rebus and to use it with Azure Service Bus. Using it with regalure Queues was easy, but when I want to use Topic instead I can't get it to work. Is there any here that have a done a setup and use it with Topic/Subscription. This is…
Magnus Gladh
  • 1,817
  • 4
  • 20
  • 31
3
votes
1 answer

Rebus RabbitMQ unable to subscribe

I am trying to get rebus with RabbitMQ to retrieving the messages that I have successfully published to the message queue. What am I not doing that needs to be done. below is the example code? static async Task MainSubscribeAsync() { …
Andrew
  • 2,571
  • 2
  • 31
  • 56
3
votes
1 answer

Rebus: how to intercept when all correlated events are applied

I’m wondering if there is an easy way in ReBus to be notified when all “child” events (all events with a specific correlation id) have been executed.
ilcorvo
  • 446
  • 5
  • 18
3
votes
3 answers

Rebus multiple Queues based on content

Setup: Rebus in asp.net mvc project using SimpleInjector. I need to create two handlers which receive messages, each from a specific queue. By following what I have found on this SO answer I have created similar code. In a class library I have a…
Lorenzo
  • 29,081
  • 49
  • 125
  • 222
3
votes
1 answer

how to avoid compile time dependency to a rebus message?

I want to integrate two bounded contexts via events raised by Context A and consume the Events from Context B. How ever i want to avoid compile time dependency, so Context B does not have to include dll's/libraries of Context A. (At least i don't…
3
votes
4 answers

Rebus / Content based routing

As you see there are a Headquarter as root node and some branches as child nodes. There is a message of Data type, and I want to publish a message based on content of Data object, for example : if (data.value == xxxx) publish(data, Br1, Br2) else…
Saeed
  • 185
  • 2
  • 13
3
votes
1 answer

Use factory to resolve dependencies

We have a websolution with autofac. Now we want to reuse things in a windows service/console app where things are only available when a message comes in from an enterprise bus. I have the following service to reuse public SettingsService :…
dampee
  • 3,392
  • 1
  • 21
  • 37
3
votes
1 answer

Rebus and Remote queues

I'm using Rebus (https://github.com/rebus-org (v.0.83)) and until now it's been all local to a single machine. Now I need to use a remote queue from my website to an app server. It's not abundantly clear to me how to set this up with Rebus. A few…
Steven
  • 860
  • 6
  • 24
3
votes
1 answer

Rebus Send in transactionscope

It was possible in previous (<=0.84.0) versions of Rebus to Send message in TransactionScope and it was sent only if scope is completed using (var scope = new TransactionScope()) { var ctx = new AmbientTransactionContext(); …
3
votes
1 answer

How to handle state transition inside a rebus saga?

Let's assume I've got a saga data containing a state with one of the following values: JustWaiting, AwatingPrepareDrink, WaitingForPayment I also a have different messages to handle, but only want to handle them when the state has a particular…
Bredstik
  • 626
  • 5
  • 13
3
votes
1 answer

What's the best strategy for cancelling a pending job or executing job using rebus and MSMQ? (long running)

I have a web app sending messages through rebus to start long running jobs on a remote machine. I'm using the MSMQ transport. The remote worker can process 5 operations in parallel. Therefore, if the remote worker is busy, some messages could…
Bredstik
  • 626
  • 5
  • 13
3
votes
1 answer

How to specify remote MSMQ queue name when configuring rebus routing?

I've seen examples using "queueName@machineName" when specifying a destination address but I'm having problems with it. .Routing(r => r.TypeBased().Map(typeof(Job), "consumer.input@othermachine")) With this format, I get the following…
Bredstik
  • 626
  • 5
  • 13
3
votes
1 answer

Domain events with Rebus and eventlisteners in NHibernate

I have some RebusHandlers like: public class CastleRebusHandler : IHandleMessages { ... (ctor injections from windsor) public void Handle(CastleRebusMessage message) { var myPoco = _session.Get(1); …
Ken
  • 141
  • 11
3
votes
1 answer

Rebus message handling in WCF context with NHibernate & Castle WCF Facility

We host some WCF service and we use Castle Windsor as IOC and use the WCF Facility to host the service: Component.For() .ImplementedBy() .LifestylePerWcfOperation() .AsWcfService() All other dependencies are registered…
Ken
  • 141
  • 11
3
votes
1 answer

Deferring publish-messages in Rebus

I want to defer a message that is meant to be published, but Rebus returns the message to the sending queue. I was expecting it to send them to the actual recipients. Am I doing something wrong here or have I understood the defer-function wrong?
1 2
3
26 27