Giter Club home page Giter Club logo

king.service.servicebus's Introduction

Task scheduling for .NET: Service Bus.

  • Initialize: Queues, Topics
  • Enqueue and dequeue
  • Enqueue for dequeue at specific time
  • Dequeue batches
  • Recieve events
  • Time sensitive events
  • Plugs into King.Service

View the wiki to learn how to use this.]

PM> Install-Package King.Service.ServiceBus

Create Azure Service Bus

Pull

docker pull jefking/king.service.servicebus.demo

Run

docker run -it jefking/king.service.servicebus.demo <YOUR CONNECTION STRING>

CI

Build status

king.service.servicebus's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

king.service.servicebus's Issues

Server Wait Time

Server wait time should reflect frequency of dequeue process; to ensure that not too many calls get stacked up.

Topic Recievers

Topic sending is now in place; have to build out topic recievers.

Community Ask (documentation)

It would be great if you could add some more info on use cases in wiki and demo code when someone ought to use polling, scaling, event, buffered event, batch and dynamicqueue..

More Info

Log the name of the class, and the processor:

EventName="MessageEvent" Message="System.InvalidOperationException: Message not processed

Server stack trace:
at King.Service.ServiceBus.BusEvents1.MessageArrived(Object body) at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at King.Service.ServiceBus.BusEvents1.d__1.MoveNext()

Exception rethrown at [0]:
at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
at Microsoft.ServiceBus.Messaging.MessageReceivePump.EndTaskCallback(IAsyncResult asyncResult)
at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)" TraceSource="WaWorkerHost.exe"

Unable to recieve messages

King.Service.ServiceBus.Demo Error: 0 : Failed to start King.Service.ServiceBus.Demo.Tasks.CompanyDequeuer: System.InvalidOperationException: A message handler has already been registered.
   at Microsoft.Azure.ServiceBus.Core.MessageReceiver.OnMessageHandler(MessageHandlerOptions registerHandlerOptions, Func`3 callback) in C:\source\azure-service-bus-dotnet\src\Microsoft.Azure.ServiceBus\Core\MessageReceiver.cs:line 1273
   at King.Service.ServiceBus.Wrappers.BusQueueClient.OnMessage(Func`3 callback, MessageHandlerOptions options) in /home/jbdking/github/King.Service.ServiceBus/King.Service.ServiceBus/Wrappers/BusQueueClient.cs:line 95
   at King.Service.ServiceBus.BusEvents`1.Run() in /home/jbdking/github/King.Service.ServiceBus/King.Service.ServiceBus/BusEvents.cs:line 88
   at King.Service.InitializeTask.Start()
   at King.Service.RoleTaskManager`1.<>c__DisplayClass10_0.<Run>b__0(Object index)

JSON

Data should be persisted in json, so that debugging is 'simple'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.