-
Notifications
You must be signed in to change notification settings - Fork 2
DbServicePg
do- edited this page Jul 22, 2024
·
9 revisions
DbServicePg
is a JobSource that creates and launches jobs based on incoming notifications provided by a DbListenerPg. For each Job produced, and toComplete () is immediately launched.
So it's like a WebService, but bound to PostgreSQL protocol instead of HTTP.
The signature here is just like the parent class. Only the test
option is added.
Name | Type | Default | Description |
---|---|---|---|
test |
DbNotificationPg => Boolean | n => n.isJSON | Message selector, see Router for details |
Creates a new Job instance with .rq
parsed from notification.payload
as JSON object.