Questions tagged [nservicebus6]

19 questions
2
votes
1 answer

Why can NServicebus not send messages to a queue with a different RabbitMQ virtual host?

I have 2 deployed services that use NServicebus messaging to communicate via RabbitMQ. However the micro-services use different virualhosts on RabbitMq and the messages sent across are not being picked up. If I locally run both services and use the…
LoftyTowers
  • 563
  • 5
  • 24
2
votes
2 answers

NserviceBus 6 use RabbitMQTransport not working

We are using NSB v6.4.3, NServiceBus.RabbitMQ v4.4.1, RabbitMQ.Client v5.0.1. My Queues are created automatically, but I received this error and soon as I send a message to my queue. "title": "Channel has been closed: AMQP close-reason, initiated by…
2
votes
1 answer

NserviceBus 6 use MsmqTransport not working

We are using NSB 6.0. I have set up RabbitMQTransport and MsmqTransport on my configuration with following code if (this.UseRabbitMQ) { …
Fereshteh Rabet
  • 191
  • 2
  • 18
2
votes
0 answers

Is there some way to keep domain events context unaware with NServiceBus 6 and the removal of IBus?

I'm wrestling with a situation where we currently use the IBus interface (NServiceBus v5) in domain event handlers to send commands to a backend service for processing. With the IBus, these commands could be sent regardless of what triggered the…
carmbrester
  • 910
  • 1
  • 8
  • 21
1
vote
0 answers

Getting error in handler using Nservicebus version 6.2.0 with rabitMQ transport

I'm using Nservicebus version 6.2.0 with rabitMQ transport (NServiceBus.RabbitMQ version 5.0.0). I received an error on in the service bus in my handler ERROR NServiceBus.RecoverabilityExecutor Moving message '34894416-ea8a-4d5a-ae41-a95e00f51a35'…
Fereshteh Rabet
  • 191
  • 2
  • 18
1
vote
1 answer

NServiceBus 6 callback client never gets a callback when the request handler fails

Using NServiceBus 6's Callback feature I have found no way to alert the client that the request handler failed. The request handler will go through all the recoverability steps, and eventually put the message into the error queue. Meanwhile, the…
mikesigs
  • 10,491
  • 3
  • 33
  • 40
1
vote
1 answer

NServiceBus Removing IBus - Utilising IPipelineContext and IMessageSession

I am in the process of migrating NServiceBus up to v6 and am at a roadblock in the process of removing reference to IBus. We build upon a common library for many of our applications (Website, Micro Services etc) and this library has the concept of…
Morgan
  • 76
  • 8
1
vote
2 answers

Timeout manager retuning timout immediately

I have a very simple scheduler saga, that is supposed to send a specific message every day. It is implemented as a saga that requests a timeout. when the timeout is handled an action is executed (a message is sent) and a new timeout is requested the…
sp1nakr
  • 378
  • 2
  • 12
1
vote
1 answer

How can I see the destination of an nserviceBus message?

In version 5 of nServiceBus I have a Behavior that keeps track of messages in flight. In the Behavior I was able to access DeliveryOptions(SendOptions) and see the Destination Queue, in NSB 6 with the change to the Behavior I can't seem to access…
shenku
  • 11,969
  • 12
  • 64
  • 118
1
vote
0 answers

NServiceBus Expired Message Purge Fails, Unable to Remove Messages, Logs WARN

We have some NServiceBus Handlers (6.4.0) using SQL Server Transport (3.1.2) that run fine, but their expired message purge cycle always fails to remove any rows, and a WARN is always logged about this. Contrary to the message, I don't see any…
1
vote
2 answers

How to defer an event in NServiceBus 6.0?

We're using NserviceBus as our messaging infrastructure with RabbitMQ as the transport. I'm trying to upgrade to NServiceBus 6.0 from 5.* version. In 5.0, we could defer events using "Bus.Defer()". But it seems like in 6.0 we can defer only…
Naren
  • 298
  • 2
  • 10
1
vote
1 answer

How do you register a behavior to execute after the "Handle" method in NServiceBus 6?

I have an Endpoint with a Handle method. I would like to do something immediately before and immediately following Handle. I was able to get the step working before by imolementing LogCommandEntryBehavior : Behavior.…
Adam Modlin
  • 2,994
  • 2
  • 22
  • 39
0
votes
1 answer

NServiceBus 5 and 6 compatibility

Can an NserviceBus 6 endpoint send a message to an NServiceBus bus 5 endpoint? I have two .Net projects, one defines an endpoint in version 6 and sends a message to an endpoint defined in version 5. The handler in version 5 isn't picking up the…
S Al
  • 3
  • 1
0
votes
1 answer

NServiceBus6 delayed recovery not delaying

Without getting to terribly detailed about the problem we are trying to solve I have the need to make NServiceBus do 1 of 5 things, but I'm currently just trying to get the first one to work. That is that given a reply back from a web API call we…
Robert Snyder
  • 2,399
  • 4
  • 33
  • 65
0
votes
1 answer

NServiceBus Send-Only endpoints not generating heartbeats

I'm using NServiceBus.Core v6.4.3 and NServiceBus.Heartbeat v2.0.0 I have a console application running as a Scheduled Task, it extracts data and send commands to an endpoint for processing. The console application is configured as a SendOnly…
Morphed
  • 3,527
  • 2
  • 29
  • 55
1
2