Skip to content

Enable SessionId support for ordered message processing in Service Bus  #471

@qodo-free-for-open-source-projects

Description

Description

  • Service Bus sessions enable guaranteed message ordering within a session identifier
  • Current implementation lacks support for specifying SessionId on producers and consuming with session processors
  • Need to support both standard and session-based message processing modes
  • Session-based processing requires separate processor type and message handling logic

Deliverables

  • Producer SessionId: Add SessionId and ReplyToSessionId properties to produce options and apply them to outgoing messages
  • Session Processor: Implement ServiceBusSessionProcessor support in subscription with conditional activation based on configuration
  • Message Handler: Create session-aware message handler that processes session messages with proper context and error handling
  • Configuration: Add SessionProcessorOptions to subscription options with priority over standard processor options

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions