Skip to content

Commit

Permalink
Added ability to set the receiver timeout. Removed wrapping region fo…
Browse files Browse the repository at this point in the history
…r single interface class impl.
  • Loading branch information
bytenik committed Apr 17, 2012
1 parent 54eb703 commit bbadf06
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 4 additions & 0 deletions src/MassTransit.Async.Tests/MassTransit.Async.Tests.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
<HintPath>..\packages\NLog.2.0.0.2000\lib\net20\NLog.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="nunit.framework">
<HintPath>..\packages\NUnit.2.6.0.12054\lib\nunit.framework.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Numerics" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,9 @@
<Reference Include="NLog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
<HintPath>..\packages\NLog.2.0.0.2000\lib\net20\NLog.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version=2.5.10.11092, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<HintPath>..\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="nunit.mocks, Version=2.5.10.11092, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<HintPath>..\packages\NUnit.2.5.10.11092\lib\nunit.mocks.dll</HintPath>
</Reference>
<Reference Include="pnunit.framework, Version=1.0.4109.34242, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\NUnit.2.5.10.11092\lib\pnunit.framework.dll</HintPath>
<Reference Include="nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\NUnit.2.6.0.12054\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="Rhino.Mocks, Version=3.6.0.0, Culture=neutral, PublicKeyToken=0b3305902db7183f, processorArchitecture=MSIL">
<HintPath>..\packages\RhinoMocks.3.6.1\lib\net\Rhino.Mocks.dll</HintPath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ public void SetBatchedOperations(bool enabled)
{
}

public void SetReceiveTimeout(TimeSpan timeout)
{
_settings.ReceiveTimeout = timeout;
}

public void SetReceiverName(string name)
{
_settings.ReceiverName = name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,10 @@ public ReceiverSettingsImpl()
ReceiverName = NameHelper.GenerateRandomName();
}

#region Implementation of ReceiverSettings

public uint Concurrency { get; set; }
public uint BufferSize { get; set; }
public uint NThAsync { get; set; }
public TimeSpan ReceiveTimeout { get; set; }
public string ReceiverName { get; set; }

#endregion
}
}

0 comments on commit bbadf06

Please sign in to comment.