Permalink
Browse files

Merge pull request #3 from fivepmtechnology/master

A whole bunch of cleanup to make stuff not die until restart
  • Loading branch information...
2 parents daf5f25 + 4bfffba commit e9895a87ddfb857f5015c730fff7189234b4c1f2 @ptomasroos ptomasroos committed Aug 28, 2012
Showing with 1,522 additions and 1,226 deletions.
  1. +2 −2 rakefile.rb
  2. +4 −4 src/MassTransit.Async/AsyncRetry.fs
  3. +2 −1 src/MassTransit.Async/FaultPolicies.fs
  4. +5 −1 src/MassTransit.Async/MassTransit.Async.fsproj
  5. +19 −15 src/MassTransit.Async/app.config
  6. +2 −1 src/MassTransit.Async/packages.config
  7. +5 −1 ...ports.AzureServiceBus.Receiver.Tests/MassTransit.Transports.AzureServiceBus.Receiver.Tests.fsproj
  8. +19 −15 src/MassTransit.Transports.AzureServiceBus.Receiver.Tests/app.config
  9. +2 −1 src/MassTransit.Transports.AzureServiceBus.Receiver.Tests/packages.config
  10. +104 −104 src/MassTransit.Transports.AzureServiceBus.Receiver/Interfaces.fs
  11. +6 −2 ...ransit.Transports.AzureServiceBus.Receiver/MassTransit.Transports.AzureServiceBus.Receiver.fsproj
  12. +394 −394 src/MassTransit.Transports.AzureServiceBus.Receiver/Receiver.fs
  13. +19 −15 src/MassTransit.Transports.AzureServiceBus.Receiver/app.config
  14. +3 −2 src/MassTransit.Transports.AzureServiceBus.Receiver/packages.config
  15. +50 −13 src/MassTransit.Transports.AzureServiceBus.Tests/MassTransit.Transports.AzureServiceBus.Tests.csproj
  16. +38 −26 src/MassTransit.Transports.AzureServiceBus.Tests/app.config
  17. +4 −2 src/MassTransit.Transports.AzureServiceBus.Tests/packages.config
  18. +153 −137 src/MassTransit.Transports.AzureServiceBus/Configuration/AzureServiceBusFactoryConfiguratorImpl.cs
  19. +58 −58 src/MassTransit.Transports.AzureServiceBus/Configuration/ReceiverSettingsImpl.cs
  20. +1 −1 src/MassTransit.Transports.AzureServiceBus/Configuration/SenderSettingsImpl.cs
  21. +226 −226 src/MassTransit.Transports.AzureServiceBus/InboundTransportImpl.cs
  22. +2 −2 src/MassTransit.Transports.AzureServiceBus/Internal/EndpointAsyncLoggerExtensions.cs
  23. +45 −3 src/MassTransit.Transports.AzureServiceBus/MassTransit.Transports.AzureServiceBus.csproj
  24. +1 −2 src/MassTransit.Transports.AzureServiceBus/OutboundTransportImpl.cs
  25. +96 −86 src/MassTransit.Transports.AzureServiceBus/TopicSubscriptionObserver.cs
  26. +19 −15 src/MassTransit.Transports.AzureServiceBus/app.config
  27. +2 −0 src/MassTransit.Transports.AzureServiceBus/packages.config
  28. +39 −0 ...ormanceTesting/MassTransit.AzurePerformance.Messages/MassTransit.AzurePerformance.Messages.csproj
  29. +50 −5 ...ormanceTesting/MassTransit.AzurePerformance.Receiver/MassTransit.AzurePerformance.Receiver.csproj
  30. +20 −16 src/PerformanceTesting/MassTransit.AzurePerformance.Receiver/app.config
  31. +3 −0 src/PerformanceTesting/MassTransit.AzurePerformance.Receiver/packages.config
  32. +50 −5 ...PerformanceTesting/MassTransit.AzurePerformance.Sender/MassTransit.AzurePerformance.Sender.csproj
  33. +39 −35 src/PerformanceTesting/MassTransit.AzurePerformance.Sender/app.config
  34. +3 −0 src/PerformanceTesting/MassTransit.AzurePerformance.Sender/packages.config
  35. +3 −2 src/PerformanceTesting/MassTransit.AzurePerformance/MassTransit.AzurePerformance.ccproj
  36. +17 −17 src/PerformanceTesting/MassTransit.AzurePerformance/ServiceConfiguration.Local.cscfg
  37. +1 −1 src/PerformanceTesting/MassTransit.AzurePerformance/ServiceDefinition.build.csdef
  38. +16 −16 src/PerformanceTesting/MassTransit.AzurePerformance/ServiceDefinition.csdef
View
@@ -53,7 +53,7 @@ def conf_assert
conf_assert
asms = Dir.glob("#{File.dirname(__FILE__)}/src/MassTransit.*.Tests/bin/#{CONFIGURATION}/*.Tests.dll")
puts "Running nunit with assemblies: #{asms.inspect}"
- n.command = Dir.glob("#{File.dirname(__FILE__)}/src/packages/NUnit*/Tools/nunit-console.exe").first
+ n.command = Dir.glob("#{File.dirname(__FILE__)}/src/packages/NUnit.Runners*/Tools/nunit-console.exe").first
n.assemblies = asms
n.options '/framework=net-4.0'
end
@@ -90,7 +90,7 @@ def conf_assert
nuspec.licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0"
nuspec.requireLicenseAcceptance = "true"
nuspec.dependency "MassTransit", "2.1.1"
- nuspec.dependency "WindowsAzure.ServiceBus", "1.6.0"
+ nuspec.dependency "WindowsAzure.ServiceBus", "1.7.0"
nuspec.output_file = 'build/nuspec/MassTransit.AzureServiceBus.nuspec'
end
@@ -126,12 +126,12 @@ module AsyncRetry =
member x.Using<'T, 'U when 'T :> IDisposable>(resource : 'T, work : ('T -> Async<'U>)) =
using resource work
- /// retry timeouts 9 times with a ts delay if fAcc returns true and the generic parameter matches the exception
+ /// retry timeouts with a ts delay if fAcc returns true and the generic parameter matches the exception
let exnRetryLong<'ex when 'ex :> exn> fAcc ts =
- RetryPolicy( ShouldRetry(fun (count, ex) -> count < 9 && (match box ex with | :? 'ex -> fAcc(ex :?> 'ex) | _ -> false), ts),
- sprintf "This policy catches %s exceptions 9 times if the passed f-n accepts the exception" <| typeof<'ex>.Name )
+ RetryPolicy( ShouldRetry(fun (count, ex) -> (match box ex with | :? 'ex -> fAcc(ex :?> 'ex) | _ -> false), ts),
+ sprintf "This policy catches %s exceptions if the passed f-n accepts the exception" <| typeof<'ex>.Name )
- /// retry timeouts 9 times with a ts delay if the generic parameter matches the exception
+ /// retry timeouts with a ts delay if the generic parameter matches the exception
let exnRetry<'ex when 'ex :> exn> = exnRetryLong<'ex> (fun _ -> true)
let exnRetryCust<'ex when 'ex :> exn> f =
@@ -42,7 +42,8 @@ module FaultPolicies =
seq {
yield exnRetry<CommunicationException> // communication exception?
yield exnRetryLong<SocketException> (fun ex -> ex.SocketErrorCode = SocketError.TimedOut)
- yield exnRetry<ProtocolException> }
+ yield exnRetry<ProtocolException>
+ yield exnRetryLong<UnauthorizedAccessException> (fun ex -> ex.Message.Contains("The remote name could not be resolved")) }
|> Seq.map (fun pBuild -> pBuild (fun ex -> async { do! Async.Sleep 5 }))
/// these should not ever be seen by a consumer of the client library and should count towards downtime of ASB.
@@ -50,7 +50,11 @@
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.ServiceBus">
- <HintPath>..\packages\WindowsAzure.ServiceBus.1.6.0.0\lib\net40-full\Microsoft.ServiceBus.dll</HintPath>
+ <HintPath>..\packages\WindowsAzure.ServiceBus.1.7.0.1\lib\net40-full\Microsoft.ServiceBus.dll</HintPath>
+ <Private>True</Private>
+ </Reference>
+ <Reference Include="Microsoft.WindowsAzure.Configuration">
+ <HintPath>..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.7.0.1\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="mscorlib" />
@@ -4,26 +4,30 @@
<extensions>
<!-- In this extension section we are introducing all known service bus extensions. User can remove the ones they don't need. -->
<behaviorExtensions>
- <add name="connectionStatusBehavior" type="Microsoft.ServiceBus.Configuration.ConnectionStatusElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="transportClientEndpointBehavior" type="Microsoft.ServiceBus.Configuration.TransportClientEndpointBehaviorElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="serviceRegistrySettings" type="Microsoft.ServiceBus.Configuration.ServiceRegistrySettingsElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="connectionStatusBehavior" type="Microsoft.ServiceBus.Configuration.ConnectionStatusElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="transportClientEndpointBehavior" type="Microsoft.ServiceBus.Configuration.TransportClientEndpointBehaviorElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="serviceRegistrySettings" type="Microsoft.ServiceBus.Configuration.ServiceRegistrySettingsElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</behaviorExtensions>
<bindingElementExtensions>
- <add name="netMessagingTransport" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingTransportExtensionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="tcpRelayTransport" type="Microsoft.ServiceBus.Configuration.TcpRelayTransportElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="httpRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpRelayTransportElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="httpsRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpsRelayTransportElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="onewayRelayTransport" type="Microsoft.ServiceBus.Configuration.RelayedOnewayTransportElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netMessagingTransport" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingTransportExtensionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="tcpRelayTransport" type="Microsoft.ServiceBus.Configuration.TcpRelayTransportElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="httpRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpRelayTransportElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="httpsRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpsRelayTransportElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="onewayRelayTransport" type="Microsoft.ServiceBus.Configuration.RelayedOnewayTransportElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</bindingElementExtensions>
<bindingExtensions>
- <add name="basicHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.BasicHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="webHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WebHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="ws2007HttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WS2007HttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="netTcpRelayBinding" type="Microsoft.ServiceBus.Configuration.NetTcpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="netOnewayRelayBinding" type="Microsoft.ServiceBus.Configuration.NetOnewayRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="netEventRelayBinding" type="Microsoft.ServiceBus.Configuration.NetEventRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="netMessagingBinding" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="basicHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.BasicHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="webHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WebHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="ws2007HttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WS2007HttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netTcpRelayBinding" type="Microsoft.ServiceBus.Configuration.NetTcpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netOnewayRelayBinding" type="Microsoft.ServiceBus.Configuration.NetOnewayRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netEventRelayBinding" type="Microsoft.ServiceBus.Configuration.NetEventRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netMessagingBinding" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</bindingExtensions>
</extensions>
</system.serviceModel>
+ <appSettings>
+ <!-- Service Bus specific app setings for messaging connections -->
+ <add key="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://[your namespace].servicebus.windows.net;SharedSecretIssuer=owner;SharedSecretValue=[your secret]" />
+ </appSettings>
</configuration>
@@ -2,5 +2,6 @@
<packages>
<package id="Magnum" version="2.0.0.4" />
<package id="MassTransit" version="2.1.1" />
- <package id="WindowsAzure.ServiceBus" version="1.6.0.0" />
+ <package id="Microsoft.WindowsAzure.ConfigurationManager" version="1.7.0.1" />
+ <package id="WindowsAzure.ServiceBus" version="1.7.0.1" />
</packages>
@@ -66,7 +66,11 @@
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.ServiceBus">
- <HintPath>..\packages\WindowsAzure.ServiceBus.1.6.0.0\lib\net40-full\Microsoft.ServiceBus.dll</HintPath>
+ <HintPath>..\packages\WindowsAzure.ServiceBus.1.7.0.1\lib\net40-full\Microsoft.ServiceBus.dll</HintPath>
+ <Private>True</Private>
+ </Reference>
+ <Reference Include="Microsoft.WindowsAzure.Configuration">
+ <HintPath>..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.7.0.1\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="mscorlib" />
@@ -4,26 +4,30 @@
<extensions>
<!-- In this extension section we are introducing all known service bus extensions. User can remove the ones they don't need. -->
<behaviorExtensions>
- <add name="connectionStatusBehavior" type="Microsoft.ServiceBus.Configuration.ConnectionStatusElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="transportClientEndpointBehavior" type="Microsoft.ServiceBus.Configuration.TransportClientEndpointBehaviorElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="serviceRegistrySettings" type="Microsoft.ServiceBus.Configuration.ServiceRegistrySettingsElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="connectionStatusBehavior" type="Microsoft.ServiceBus.Configuration.ConnectionStatusElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="transportClientEndpointBehavior" type="Microsoft.ServiceBus.Configuration.TransportClientEndpointBehaviorElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="serviceRegistrySettings" type="Microsoft.ServiceBus.Configuration.ServiceRegistrySettingsElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</behaviorExtensions>
<bindingElementExtensions>
- <add name="netMessagingTransport" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingTransportExtensionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="tcpRelayTransport" type="Microsoft.ServiceBus.Configuration.TcpRelayTransportElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="httpRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpRelayTransportElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="httpsRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpsRelayTransportElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="onewayRelayTransport" type="Microsoft.ServiceBus.Configuration.RelayedOnewayTransportElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netMessagingTransport" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingTransportExtensionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="tcpRelayTransport" type="Microsoft.ServiceBus.Configuration.TcpRelayTransportElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="httpRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpRelayTransportElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="httpsRelayTransport" type="Microsoft.ServiceBus.Configuration.HttpsRelayTransportElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="onewayRelayTransport" type="Microsoft.ServiceBus.Configuration.RelayedOnewayTransportElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</bindingElementExtensions>
<bindingExtensions>
- <add name="basicHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.BasicHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="webHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WebHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="ws2007HttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WS2007HttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="netTcpRelayBinding" type="Microsoft.ServiceBus.Configuration.NetTcpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="netOnewayRelayBinding" type="Microsoft.ServiceBus.Configuration.NetOnewayRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="netEventRelayBinding" type="Microsoft.ServiceBus.Configuration.NetEventRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
- <add name="netMessagingBinding" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingBindingCollectionElement, Microsoft.ServiceBus, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="basicHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.BasicHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="webHttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WebHttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="ws2007HttpRelayBinding" type="Microsoft.ServiceBus.Configuration.WS2007HttpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netTcpRelayBinding" type="Microsoft.ServiceBus.Configuration.NetTcpRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netOnewayRelayBinding" type="Microsoft.ServiceBus.Configuration.NetOnewayRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netEventRelayBinding" type="Microsoft.ServiceBus.Configuration.NetEventRelayBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <add name="netMessagingBinding" type="Microsoft.ServiceBus.Messaging.Configuration.NetMessagingBindingCollectionElement, Microsoft.ServiceBus, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</bindingExtensions>
</extensions>
</system.serviceModel>
+ <appSettings>
+ <!-- Service Bus specific app setings for messaging connections -->
+ <add key="Microsoft.ServiceBus.ConnectionString" value="Endpoint=sb://[your namespace].servicebus.windows.net;SharedSecretIssuer=owner;SharedSecretValue=[your secret]" />
+ </appSettings>
</configuration>
@@ -3,7 +3,8 @@
<package id="Magnum" version="2.0.0.4" />
<package id="MassTransit" version="2.1.1" />
<package id="MassTransit.NLog" version="2.1.1" />
+ <package id="Microsoft.WindowsAzure.ConfigurationManager" version="1.7.0.1" />
<package id="NLog" version="2.0.0.2000" />
<package id="NUnit" version="2.6.0.12054" />
- <package id="WindowsAzure.ServiceBus" version="1.6.0.0" />
+ <package id="WindowsAzure.ServiceBus" version="1.7.0.1" />
</packages>
Oops, something went wrong.

0 comments on commit e9895a8

Please sign in to comment.