Skip to content

Commit

Permalink
Fix wrong connector name used in replace (#6700)
Browse files Browse the repository at this point in the history
* Fix wrong connector name used in replace

* EOF

* Likely also for v8 and v7
  • Loading branch information
ramonsmits authored Aug 26, 2024
1 parent ec0cd82 commit 5e07286
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Snippets/Core/Core_7/Pipeline/CustomStageConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ internal FeatureReplacingExistingStage()
protected override void Setup(FeatureConfigurationContext context)
{
var pipeline = context.Pipeline;
pipeline.Replace("NServiceBus.SerializeMessageConnector", new CustomStageConnector());
pipeline.Replace("SerializeMessageConnector", new CustomStageConnector());
}
}
#endregion
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Core/Core_8/Pipeline/CustomStageConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ internal FeatureReplacingExistingStage()
protected override void Setup(FeatureConfigurationContext context)
{
var pipeline = context.Pipeline;
pipeline.Replace("NServiceBus.SerializeMessageConnector", new CustomStageConnector());
pipeline.Replace("SerializeMessageConnector", new CustomStageConnector());
}
}
#endregion
Expand Down
2 changes: 1 addition & 1 deletion Snippets/Core/Core_9/Pipeline/CustomStageConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ internal FeatureReplacingExistingStage()
protected override void Setup(FeatureConfigurationContext context)
{
var pipeline = context.Pipeline;
pipeline.Replace("NServiceBus.SerializeMessageConnector", new CustomStageConnector());
pipeline.Replace("SerializeMessageConnector", new CustomStageConnector());
}
}
#endregion
Expand Down

0 comments on commit 5e07286

Please sign in to comment.