Skip to content

Central Package Management + Npgmq.Hosting project#33

Open
nixonjoshua98 wants to merge 6 commits into
brianpursley:mainfrom
nixonjoshua98:main
Open

Central Package Management + Npgmq.Hosting project#33
nixonjoshua98 wants to merge 6 commits into
brianpursley:mainfrom
nixonjoshua98:main

Conversation

@nixonjoshua98
Copy link
Copy Markdown

@nixonjoshua98 nixonjoshua98 commented Jun 1, 2026

Hi, in evaluating alternatives to running MassTransit with the PG transport I discovered PGMQ. I wanted a way to declare my setup during startup and run a handler for each message received (like MassTransit and Mediatr packages)

The main issue I haven't solved is the queue/message handler situation where you could have N number of queues, which each have N number of handlers. With the way the polling happens it is per-message within the queue instead of per-queue. I think a wrapped-message type makes sense here, ReceivedMessage { Type = 'SampleEvent', Json = '{...} } , so listeners can be per-queue rather than per-message.

I have added a sample project highlighting the simple setup, but as I have only newly discovered PGMQ let me know if changes are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant