10

Has anyone managed to get the NServiceBus Gateway component to work? The sample in v3.0 does not work out of the box like other samples.

A step by step guide or code sample will be helpful to get this component working.

Thanks

Michael
  • 101
  • 2

2 Answers2

2

I've fixed some issues and verified that the Gateway sample in 3.0 runs ok just by hitting F5. Please update to the latest version and give it a try.

Andreas Öhlund
  • 5,263
  • 20
  • 24
  • Hello, I just tried the gateway sample and it does not work with the main branch of the code. Could you provide me a hint? – John Hartsock Nov 30 '11 at 21:34
  • We haven't moved it to the master yet, please use the develop branch – Andreas Öhlund Dec 02 '11 at 07:43
  • @AndreasÖhlund it is running OK after pressing F5 but the messages sent from the headquarters are not received at the sites(I am running everything locally). Even the http://localhost/Headquarter/ requests results in a 404 error. Am I missing any configuration settings? – Rajeesh Feb 01 '12 at 07:14
  • Seems like we renamed the profile that starts the gateway and forgot to update the sample. Go into properties-> debug in the headquarter project and change the cmdline from RunGateway to MultiSite. Thanks! – Andreas Öhlund Feb 01 '12 at 08:55
  • You need to do this for SiteA as well. This has now been fixed on the dev branch. – Andreas Öhlund Feb 01 '12 at 08:58
1

Here's a sample of NServiceBus Gateway being used on version v3.0:

https://github.com/NServiceBus/NServiceBus/tree/master/Samples/Gateway

EdoDodo
  • 8,220
  • 3
  • 24
  • 30