Particular / ServiceMatrix

Visual Studio integrated modeling tools for NServiceBus [State: Deprecated]
8 stars 9 forks source link

Add Azure transport to ServiceMatrix supported transports #79

Closed dannycohen closed 10 years ago

dannycohen commented 10 years ago
dannycohen commented 10 years ago

// FYI @yvesgoeleven

ezesculli commented 10 years ago

https://github.com/Particular/docs.particular.net/blob/master/Content/NServiceBus/windows-azure-transport.md

ezesculli commented 10 years ago

@yvesgoeleven can you tell me if I the previous link is up-to-date? I'm planning to start implementing this on ServiceMatrix soon.

dannycohen commented 10 years ago

@esculli / @yvesgoeleven - note that the links to downloads are not up-to-date. They should be replaced with Nuget. All other content should also be reviewed.

ezesculli commented 10 years ago

When I started to work on this, the following questions raise:

dannycohen commented 10 years ago

@yvesgoeleven - please advise / chime in.

@esculli -

We'll need to check that Windows Azure SDK is installed. Right?

Yes. A baseline Windows Azure SDK will be required, so you will need to check the SDK's version and make sure it aligns with the minimum supported version.

When Azure transport is selected, should it be configured to use Azure Queues or Azure Service Bus?

These will appear as two separate transports (although adjacent. in the dropdown list).

Should we create the Cloud project where Azure Queues/ServiceBus are configured?

No. We will start with a hybrid scenario (i.e. standard hosts that are already supported). The only change will be in the transport type + connection string. This also supports the Cloud VM scenario (IaaS) which is quite common.

Later on - we will add support for PaaS ("Cloud Service" or WebRole / WorkerRole etc.), but that is a lower prio (although it will be really cool!)

ezesculli commented 10 years ago

@yvesgoeleven on the latest NServiceBus.Azure NuGet packages, the libraries don't contain the classes: AzureStorageQueue and AzureServiceBus are not available.

Which are the new class to configure Azure transport using Configure.Instance.UseTransport< XXXXXX>();? I tried to find it using reflector but I couldn't.

yvesgoeleven commented 10 years ago

They have been separated from the persisters since 5.0 to make them easier to use when not in a cloud service. You need the transport packages:

http://www.nuget.org/packages/nservicebus.azure.transports.windowsazurestoragequeues/ http://www.nuget.org/packages/nservicebus.azure.transports.windowsazureservicebus/

ezesculli commented 10 years ago

Thanks @yvesgoeleven!

I detected is not required Windows Azure SDK since this can be tested against Queues and ServiceBus configured on the cloud.

It's completely implemented on the develop-2.0.0RC branch, I'll do a full test on #88.

Marking it as Done.

dannycohen commented 10 years ago

:-)

On Fri, Jan 31, 2014 at 10:59 PM, esculli notifications@github.com wrote:

Closed #79 https://github.com/Particular/ServiceMatrix/issues/79.

Reply to this email directly or view it on GitHubhttps://github.com/Particular/ServiceMatrix/issues/79 .

Danny Cohen Director of Product Development Particular Software (NServiceBus Ltd.)

yvesgoeleven commented 10 years ago

Glad to hear it just worked :)

And you're correct, you don't need the SDK for using it as a transport., you would only need the sdk if you would also generate the hosting part (that requires cloudservices model in VS).