Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Distributed MSMQ Messaging

Posted on 2009-05-14
11
Medium Priority
?
1,458 Views
Last Modified: 2013-12-17
I'm looking for a robust messaging solution for a small enterprise.

I've looked at MSMQ, Nservicebus, SimpleServiceBus, ActiveMQ

I've waded through all of the MS documentation on MSMQ and I'm still left with a question - what are my options if I want to exchange messages between two offices?  The two offices are connected, but I want each office to have an MSMQ "server" and to have the MSMQ server in one office forward messages to the other MSMQ server.  Does adding NServiceBus or SimpleServiceBus (both use MSMQ as a transport) change anything?

So in essence I want to link 2 MSMQ servers and I don't want to use ActiveDirectory.
0
Comment
Question by:sevzas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 24388895
do you only need a queue or do you need other things. from the sounds of it you can do what you want with only MSMQ

nservicebus and simpleservicebus build pub/subscribe architectures over MSMQ.

the answer to that question will take you most of the way in getting through this.

Cheers,

Greg
0
 

Author Comment

by:sevzas
ID: 24388961
actually I need the pub/sub - don't really need a queue
0
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 24389047
then look at nservicebus or look at rhino's service bus.

rhino is more out of the box, nservicebus is more of a framework to throw together your own bus. Another y'ungun you might want to check out is masstransit.

Cheers,

Greg
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:sevzas
ID: 24389122
Actually looked at Rhino - it's not really prod-ready.  I also looked at Masstransit and Spread Messaging toolkit also.

I like NServiceBus and SimpleSerivceBus (except for the fast that they require .net 3.5 / MSVS 2008 which we are not using yet)

With NServiceBus and SimpleSerivceBus I don't really understand how I can get the multi-office functionality since the underlying transport (MSMQ) does not really support forwarding.
0
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 24389280
I think it may be good for you to go through the exact scenario that you want ...

it sounds to me like you want nservicebus running on 2 sites is that correct?

Do the two sites share subscription information?

Greg
0
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 24389308
btw: with service buses and pub/sub you usually don't think about "queues"
0
 

Author Comment

by:sevzas
ID: 24389349
I have clients in two offices and I want one "bus" that connects all of the clients for pub/sub and possibly for async process-to-process send/receive.

Agree with your comment about queues, but since NServceBus is built on top of MSMQ, I believe I am subject to all of MSMQ's limitations and dependencies.  For example, without ActiveDirectory MSMQ can have only "Private" queues.
0
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 24389576
nservicebus is not only built on top of MSMQ msmq is just 1 transport.

As an example there is also TCP/UDP transports.



What i am not understanding is this fixation upon queues ... I say Bus.Dispatch() ... It looks up in the subscriber directory what that means and does it. That may be a queue at site 2 ... or it could be a HTTP put to a server on my network.

Cheers,

Greg
0
 

Author Comment

by:sevzas
ID: 24389976
So MSMQ is the transport for nservicebus - I think we agree on that.

nservicebus is not really "built on top" of msmq.

I believe that MSMQ is required to run nservicebus.  If I'm correct, nservicebus's limitations are driven by MSMQ's limitations.  If you're asserting that I can have nservicebus run in 2 offices and talk to each other without MSMQ talking to ActiveDirectory, then I'll be happy to invest some time in getting this to run.

I just don't fully understand the nature of nservicebus or how it can be configured to forward messages from one office to another.
0
 
LVL 37

Accepted Solution

by:
gregoryyoung earned 1500 total points
ID: 24390031
it writes directly to the other office.

Greg
0
 

Author Comment

by:sevzas
ID: 24445431
In the end I went with ActiveMQ + NMS.  Fairly easy to get it to work plus I like the power and flexibility of ActiveMQ plus it's basically an open system that will support any technology we might use down the line.

I was disappointed to find that NServiceBus had virtually no useful documentation.  I don't feel like going through code to figure out how to make something work.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question