Giter Site home page Giter Site logo

pat.sender's People

Contributors

bigtalljosh avatar carl-hartshorn avatar curlypaul avatar damianun avatar daveaurionix avatar ilivewithian avatar johnleyva avatar manzanotti avatar pbabe avatar pbdave avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pat.sender's Issues

Schedule commands - should use alternative method?

We are currently scheduling commands by setting Message.ScheduledEnqueueTimeUtc.
https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.brokeredmessage.scheduledenqueuetimeutc?view=azure-dotnet#Microsoft_ServiceBus_Messaging_BrokeredMessage_ScheduledEnqueueTimeUtc

I think we should be scheduling messages using the QueueClient.ScheduleMessageAsync(โ€ฆ)
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.servicebus.queueclient.schedulemessageasync?view=azure-dotnet

This means that we would be able to cancel the scheduled message:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.servicebus.queueclient.cancelscheduledmessageasync?view=azure-dotnet

Why is this helpful?

  • I suspect there are multiple scenarios where we might wish to cancel something. E.g. a user schedules something and then changes their mind.
  • Able to cancel a command, make some change, and re-schedule

Should Pat.Sender log when it publishes/sends a message

I don't think we are currently logging when messages are published.

Should we be? If so, Info or Debug?

I was just running through the example projects in the pat repo, and noticed a lack of output on Publisher project compared to Subscriber. This might be helpful when debugging a problem.
e.g. if my subscriber didn't receive a message can I be sure that publisher published anything?

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.