Skip to content

Commit

Permalink
Remove the transport test
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonPobiega committed Oct 25, 2024
1 parent f7add03 commit 6b71003
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,7 @@ public TransportDefinition CreateTransportDefinition()
{
var connectionString = Environment.GetEnvironmentVariable("RabbitMQTransport_ConnectionString") ?? "host=localhost";

var transport = new RabbitMQTransport(RoutingTopology.Conventional(QueueType.Classic), connectionString, false)
{
//Used by When_customizing_outgoing_messages test
OutgoingNativeMessageCustomization = (operation, properties) =>
{
if (operation.Properties.TryGetValue("ContentType", out var overrideContentType))
{
properties.ContentType = overrideContentType;
}
}
};
var transport = new RabbitMQTransport(RoutingTopology.Conventional(QueueType.Classic), connectionString, false);

return transport;
}
Expand Down

This file was deleted.

0 comments on commit 6b71003

Please sign in to comment.