Documentation.

May 7, 2012 at 12:28 PM

Hi, i am trying to run the samples and all fail which means some config or setup is missing.

what am i doing rong ?

example: the invoincing sample fail on looking for router address. what needs to be done ?

it appears also that it is looking for ZeroMQ ... I would like to set-it up with MSMQ, is there a config sample to follow ? any full documentation we can use to know how to configure a working sample with all the transport methods and scenarios ?

thank you

Coordinator
May 7, 2012 at 12:51 PM
Edited May 7, 2012 at 1:09 PM

In order to get the sample running, you will need to first install the esb server. You can download it from this link: http://pservicebus.codeplex.com/releases/view/74448#DownloadId=365889.

You don't have to worry about setting up zeromq. ZeroMQ is automatically setup when you install the server. ZeroMQ is used a way to communicate between the esb component not for listening for new message. 

 

If you want to use MSMQ to receive your message after subscribing to a topic, you can follow this quick guide example on setting up a subscriber that receives message with a transport. Refer to this link for direction: http://pservicebus.codeplex.com/wikipage?title=How%20to%20subscribe%20to%20a%20topic&referringTitle=Documentation

The link above shows how to subscribe to a topic using a Tcp Transport, but you can follow the same logic to configure it to use MSMQ for receiving messages too. I will try to post more examples on using other transports.

For a quick reference on how things work, you can refer to this link: http://pservicebus.codeplex.com/documentation

Have fun and let me know if you still have any questions.

Coordinator
May 7, 2012 at 1:11 PM

Sorry again for the other quick response. I have edited it. :)

May 7, 2012 at 3:12 PM

thank you for your quick reply. i will jump into it right away. but this leads to one more question.

do i have to setup the server on each machine that will serve eather as gateway or router ? ..... is this the way to go when trying to connect 2 or more different sites across the internet ? please advice if any special config is required for this scenario. thank you.

Coordinator
May 7, 2012 at 3:26 PM
Edited May 7, 2012 at 3:27 PM

You don't need to install the server on each machine. The installation will install all the components for the ESB Server on your machine.  You can have a single ESB server and connect to it from different machines. If you are installing on a server, you can follow this guide to setup it up to allow connections from different machines or across the internet: http://pservicebus.codeplex.com/wikipage?title=Configurating%20Service%20Bus%20to%20run%20on%20Windows%20Server%202008%20RC2&referringTitle=Documentation

Have fun.

Coordinator
May 7, 2012 at 3:28 PM
Edited May 7, 2012 at 3:29 PM

I did the same setup on my own server. You can run the chat app that is connecting to my server from this link: http://iomegatrix.com/ChatApp/chat.html for a demo to show that it can work from outside

May 7, 2012 at 3:36 PM

nice. thank you very much ... damn , this opens a lot of thoughts ... at what point or where would you suggest adding audit and persistence when using the system in a one server scenario and multiple servers scenario ?

May 7, 2012 at 3:37 PM

and is there any particular technical reason for merging the assemblies ?  

Coordinator
May 7, 2012 at 3:45 PM

I merged to reduce the footprint of dll packaged with application using psb. I also merge the dll because they all belong to the same api and wanted to remove the problem with managing which dll to include in project. 

To conclude, it was done for ease of use and distribution. :)