Hi, I currently implemented NService 1.9 in one of my project. I want to update the project from NServicebus 1.9 to NServiceBus 2.0. Will there be any major changes that I need to do.. or Only configuration changes are fine?
Can anybody help on this, provide me any links containing about this information?
ThanksnRk
...
Hi there,
I have recently tried to migrate the NServiceBus libraries to the GAC as they are pretty big and are required in nearly all of my software. I am using the newest .NET 4.0 Build (2.0.0.1219) and have used GACUTIL to copy NServiceBus & NServiceBus.Core into the new GAC and log4net into the old 2.0 GAC. I have managed to get log4...
Is it possible to create a profile that contains a connection string or points to a connection string in the app.config? I'd like to have a single project that can create multiple services based on which profile is passed when I execute NServicebus.Host.exe.
So something like this:
public class Warehouse1 : IProfile
{
// Code goes...
I am currently researching the best practises (at a reasonably high level) for application design for highly maintainable systems which result in minimal friction to change. By "Communications Tier" I mean web services, service buses and general network transmission technologies.
From your experiences, what have you found to be the comm...
Hi, I am using nservicebus 1.9 version in my project. My project we are using publisher- subscriber model. Like publisher will send messages to Distributor and Distributor will forward the same message to one of the subscribed Subscribers. but in my project subscriber will do some operation and inserts the data into database,
My requ...
HiI am using NServiceBus 1.9 RTM in my project.
I am using Publisher - Distributor - Subscriber model.
In subscriber I subscribed using the follwoing code
var bus = NServiceBus.Configure.With()
.SpringBuilder()
.XmlSerializer()
.MsmqTransport()
...
Hi. I am trying to de-couple two applications using EDA and NServiceBus. Currently, I have a Sales MT and an Inventory MT. Whenever a sale is requested through the Sales MT, before it is approved the Sales MT will call the Inventory MT to make sure there is available stock. I want to change the way this works, so that the Sales MT ju...
This may be something terribly obvious, I am just getting started with nSB. I will try to be as detailed as I can be. Lets start with the code:
Here is the endpoint configuration code:
http://www.pastebin.ca/1896246
And the app.config:
http://www.pastebin.ca/1896249
Finally here is the output being logged when I run NServiceBus.Host...
Hello,
I am using NServicebus with a pubsub configuration. So far it has been really awesome and quite straightforward. However, I've noticed that one of my subscriber endpoints does not pickup messages that contain HTML/XML strings. For instance I am adding a POCO object that implements IMessage and one of the string fields contains som...
I'm working with NSB (latest version), got to the stage where I configure it correctly and manage to publish messages onto the bus. Only problem is - I'm not getting any of them in my message queues. The event log is clean - nothing to help me diagnose the error.
Help greatly appreciated!
...
I'm building an NServiceBus service, and when I start it (either in debug through Visual Studio, or from the command line) NServiceBus.Host.exe appears to be relocating the DLLs that it's running to my AppData folder.
The application depends on resources that exist in the bin\debug folder (e.g. a plugins folder containing DLLs), but the...
Andreas Ohlund has an excellent article here on how to use Structuremap to wire the NHibernate session so that it enlists in the NSB transaction automatically.
Does anyone know if it is possible to achieve the same with Autofac?
...
Hi,
How can I get the current inputqueue programatically in nServiceBus?
You can set it like this :
Configure.Instance.Configurer.ConfigureProperty(t => t.InputQueue, yourDynamicQueue);
But how can i Get it ? (without programatically going through the app.config)
Please dont answer "why do you need that? etc..." -i got a scenario wher...
What do people do with security issues when using nServiceBus/msmq? Thinking about for example message encryption, message signing (validation?) etc
How do you know that the message is not sent to the queue from someone else. or that someone has tampered a message.
...
I have an application using NServiceBus to process messages, and while debugging I'm finding that exceptions may be thrown, and the message is lost. I've checked both the main and error queues, and the message was only attempted once.
Are there any common pitfalls that could cause this to happen?
...
Cross-posting from Nservicebus discussion group here.
The 2 min. story is that I am trying to get a response from a Saga back to my asp.net mvc front end. For some reason, the ReplyToOrginiator() method returns to message but the AsyncCallback in asp.net mvc is not able to pick up the message. However, if I try to use the Reply method...
I've tried adding the appSetting "NameSpace" to my publisher and subscriber but the messages still contain the namespace http://tempuri.org/...
[Edit]
In the publisher EndpointConfig I have added:
public class ServerInit : IWantCustomInitialization
{
public void Init()
{
Configure.With().XmlSerializer("http://foo.com")...
Hi,
I am having a slight issue with NServiceBus distributor and this probably my own ignorance but this is what's happening -
I have -
a. 2 Workers (Server) processes running on 2 machines
b. 1 Distributor process posting messages to the workers
c. 1 Client process posting messages to the distributor
Now it all works OK, when all s...
Can someone point me to some good resources about setting up MSMQ for queue clustering? I'm interested in help with:
Actually setting up the clustered MSMQ nodes, and making it function
Setting up an application to send messages to a clustered queue.
Setting up applications (at least 2) to read from the same clustered queue.
...
I'm have some mysterious problems with handlers being called more than once per event which appears to be correlated with events built up via interface inheritance.
We are using only interfaces for our messages and usingNServiceBus.MessageInterfaces.MessageMapper.Reflection.MessageMapper().CreateInstance() to create instances to put on ...