Skip to content

NsqSharp 0.3.1

Compare
Choose a tag to compare
@judwhite judwhite released this 23 Mar 21:18
· 184 commits to master since this release

New features:

  • NsqdHttpApi.Stats returns deserialized object model instead of JSON string
  • Allow registering IHandleMessages<> interfaces as handlers to be resolved by DI container (support one concrete class handling multiple messages)
  • Improve exception messages for missing channel/topic registrations and handler configuration
  • Add BackoffTriggered (bool) and RequeuedUntil (DateTime?) properties to Message and IMessageInformation for auditing
  • Add convenience classes to the NsqSharp.Bus.BuiltIn namespace: HandlerTypeToChannelDictionary and MessageTypeToTopicDictionary
  • Add support for unit testing with BusService.Start
  • Add .NET 3.5 support
  • NuGet Packages for .NET 4.5.2, 4.5.1, 4.5, 4.0, and 3.5

Fixed issues:

  • Fixed issue with Producer locking when exception thrown during initial nsqd Connect

Signature changes:

  • IObjectBuilder: Add "where T : class" on Inject method
  • NsqdHttpApi.Stats returns NsqdStats instead of string
  • IFailedMessageInformation: FailedException property renamed to Exception
  • BusConfiguration: Constructor parameter 'defaultNsqlookupdHttpEndpoints' renamed to 'defaultNsqLookupdHttpEndpoints'