-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f97a5ee
commit 119881f
Showing
10 changed files
with
91 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/Quidjibo.Azure.ServiceBus/Configurations/ServiceBusQuidjiboConfiguration.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Collections.Generic; | ||
using Quidjibo.Configurations; | ||
|
||
namespace Quidjibo.Azure.ServiceBus.Configurations | ||
{ | ||
public class ServiceBusQuidjiboConfiguration: IQuidjiboConfiguration { | ||
public List<string> Queues { get; } | ||
public bool SingleLoop { get; } | ||
public int PollingInterval { get; } | ||
public int MaxAttempts { get; } | ||
public int LockInterval { get; } | ||
public int Throttle { get; } | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
src/Quidjibo.Azure.ServiceBus/Factories/ServiceBusWorkProviderFactory.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using System; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using Quidjibo.Factories; | ||
using Quidjibo.Providers; | ||
|
||
namespace Quidjibo.Azure.ServiceBus.Factories | ||
{ | ||
public class ServiceBusWorkProviderFactory : IWorkProviderFactory | ||
{ | ||
public Task<IWorkProvider> CreateAsync(string queue, CancellationToken cancellationToken = new CancellationToken()) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
src/Quidjibo.Azure.ServiceBus/Providers/ServiceBusWorkProvider.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Threading; | ||
using System.Threading.Tasks; | ||
using Quidjibo.Models; | ||
using Quidjibo.Providers; | ||
|
||
namespace Quidjibo.Azure.ServiceBus.Providers | ||
{ | ||
public class ServiceBusWorkProvider : IWorkProvider | ||
{ | ||
public Task SendAsync(WorkItem item, int delay, CancellationToken cancellationToken) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public Task<List<WorkItem>> ReceiveAsync(string worker, CancellationToken cancellationToken) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public Task<DateTime> RenewAsync(WorkItem workItem, CancellationToken cancellationToken) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public Task CompleteAsync(WorkItem workItem, CancellationToken cancellationToken) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public Task FaultAsync(WorkItem workItem, CancellationToken cancellationToken) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
src/Quidjibo.DataProtection/Extensions/QuidjiboBuilderExtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters