0

When I re-run my psake-based deploy process, my NServiceBus (3.3.0) endpoint does not resume processing messages. Under services.msc, the Status is blank.

Here's my psake script (with irrelevant stuff removed):

function global:deploy_endpoint($name) {

    $project = "$BaseDir\src\$name\$name.csproj"
    $buildPath = "$DeployBaseDir\$name"
    $deployPath = "c:\ReloDotNet2_ServiceEndpoints\$name"

    exec { msbuild $project "/p:Configuration=Debug;OutputPath=$buildPath" "/t:Build" }
    exec { & "$deployPath\NServiceBus.Host.exe" /uninstall }
    exec { msdeploy "-verb:sync" "-source:contentPath=$buildPath" "-dest:contentPath=$deployPath" }
    exec { & "$deployPath\NServiceBus.Host.exe" /install }
}
Josh Kodroff
  • 27,301
  • 27
  • 95
  • 148

1 Answers1

1

The /install does not automatically start the service for you.

You need to start the service after running /install

John Simons
  • 4,288
  • 23
  • 41