NserviceBus Gateway Sample
Asked Answered
T

2

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

Toneless answered 29/6, 2011 at 9:38 Comment(2)
I would try 2.5 for now, 3.0 is currently under work and may not be completely stable.Mulch
@Adam 2.5 Does not have a code sample for Gateway.Geist
O
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.

Official answered 31/8, 2011 at 8:8 Comment(5)
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?Assured
We haven't moved it to the master yet, please use the develop branchHindorff
@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 localhost/Headquarter requests results in a 404 error. Am I missing any configuration settings?Stoplight
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!Hindorff
You need to do this for SiteA as well. This has now been fixed on the dev branch.Hindorff
W
1

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

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

Wattmeter answered 23/8, 2011 at 13:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.