Class MockUri

Assembly: redb.Route.TestKit.dll

Maps an endpoint URI to the mock:// URI that stands in for it under
, the same way Apache Camel names its mocks
(mock:kafka:orders): the query string is dropped and scheme://path collapses to
scheme:path, so kafka://orders-vip?acks=all becomes mock://kafka:orders-vip.

public static class MockUri

Inheritance

Object→MockUri

Methods

For(string)

Returns the mock:// URI standing in for endpointUri; a mock:// URI is returned unchanged.

public static string For(string endpointUri)