Questions tagged [nservicebus5]

NServiceBus is a highly pluggable, reliable, open source Enterprise Service Bus built on .NET.

NServiceBus is a highly pluggable, reliable, open source Enterprise Service Bus built on .NET.

69 questions
0
votes
2 answers

Redirect NServiceBus message based on Endpoint availability

I'm new to NServiceBus, but currently using it with SQL Server Transport to send messages between three machines: one belongs to an endpoint called Server, and two belong to an endpoint called Agent. This is working as expected, with messages sent…
mdk
  • 117
  • 1
  • 11
0
votes
1 answer

How to get NServiceBus SLR working with MsmqPersistence

I have created a Windows Console app to test NServiceBus v5.2.16. I am using MsmqPersistence. FLR works when messages fail to be processed on the receiver. However, SLR does not kick in once FLRs have been tried. The FLR and SLR are defined…
seemorgh
  • 305
  • 2
  • 12
0
votes
1 answer

Nservicebus 6 - Disable persistence

Is there a way to disable persistence. I have a azure worker role endpoint that listens to events published on the azure service bus endpoint. So I do not want any persistence in my subscriber.
Hari Subramaniam
  • 1,814
  • 5
  • 26
  • 46
0
votes
1 answer

NServiceBus Timeoutsdispatcher queue is being flooded with messages during stress tests

I'm doing some stress tests on a saga that uses 2 timeouts. During the test about 21K saga's get created. So that would mean 42K timeouts, but I notice that the timeoutsdispatcher queue of the saga is getting flooded with 100's of thousands of…
Marc Selis
  • 833
  • 12
  • 17
0
votes
1 answer

NServiceBus - Saga Auditing - no handlers found exception

We are using NServiceBus 5.2.14 hosted inside .Net 4.6.1 windows services. We have added NServiceBus auditing to our services via the AuditConfig: When we turned on Auditing for the windows service…
jonho
  • 1,680
  • 2
  • 19
  • 29
0
votes
1 answer

Mixing autosubscribe and messagepoint mappings

We have just finished a set of services that use unobtrusive mode to find commands and events (possibly important not messages) conventions.DefiningCommandsAs(t => t.Namespace != null && t.Namespace.EndsWith("Commands")); …
onesixtyfourth
  • 744
  • 9
  • 30
0
votes
1 answer

Is it safe to host NServiceBus subscribers (message/event handlers) under IIS (including Azure Web Roles)

We are designing a system that is web based but also uses NServiceBus and Azure Service Bus to communicate. We have an on premiss server running IIS for the application and also several cloud services running web roles for communicating with…
naskew
  • 2,091
  • 1
  • 19
  • 20
0
votes
1 answer

NServicebus.host.exe not making my class library runnable in .Net Framework 4.5.1 Visual studio 2015

I am using Visual studio 2015 with framework 4.5.1 and NServicebus5. I am learning NServicebus from the Plural sight videos. It mentions that "To use the host just create a new C# class library and reference the NServiceBus.Host NuGet package. The…
Pratik Gajjar
  • 597
  • 5
  • 14
0
votes
2 answers

how to access endpoint configuration in a custom NServiceBus profile handler

I'm migrating code from NSBv4 to NSBv5 (5.2.12 to be exact) and I have a custom profile implementation: public class MyProfileHandler : IHandleProfile { public MyProfileHandler() { } public void…
Jakub Januszkiewicz
  • 4,380
  • 2
  • 37
  • 54
0
votes
1 answer

NServiceBus not publishing to MSMQ

I am doing a pilot to test Publisher/Subscriber pattern of NServiceBus using the following code. I wished to test the Publish function INDEPENDENTLY first. However my messages are logged into the error log every time I run the publisher…
0
votes
1 answer

NServiceBus RabbitMQ - DirectRoutingTopology vs Separate exchanges for each message type

We're using NServiceBus on top of MSMQ. Now we are making a move to use RabbitMQ - we would like a centralized queue, and found that RabbitMQ best answer our needs. Converting our project was easy, and in RabbitMQ we've noticed that it created an…
0
votes
1 answer

NServiceBus worker unregistration not working

I'm trying to unregister a worker node as described here, but the procedure doesn't seem to work correctly. If the distributor has any control messages related to the disconnecting worker when running the unregistration script, next time messages…
marius-O
  • 395
  • 3
  • 15
0
votes
1 answer

Particular ServiceInsight Handling Encrypted Messages via MessageMutator

So for various internal reasons, I wasn't able to use NService Bus' built in encryption for command properties and instead had to implement it as a MessageMutator. I have code that looks like this: public class TransportMessageEncryptionMutator :…
Corith Malin
  • 1,505
  • 10
  • 18
0
votes
1 answer

NServiceBus message timeout with timeToReachQueue

I'm trying to set a timeout for a message to arrive to a queue using MSMQTransportProtocol in NServiceBus. I've read this: http://docs.particular.net/nservicebus/msmq/connection-strings and trying to implement timeToReachQueue property (from my…
developer82
  • 13,237
  • 21
  • 88
  • 153
0
votes
1 answer

Is it possible to configure an NServiceBus endpoint (on Azure transport) to accept a simple string as input?

We have an NServiceBus endpoint that monitors an Azure Service Bus Queue (using Azure as a transport). But not all the clients that send messages to the queue are .NET-based. Can an NServiceBus endpoint be configured to accept a simple string as…
willem
  • 25,977
  • 22
  • 75
  • 115