How to access worker queue producer bindings in local development?

At boot I see this message:
wrangler.toml changed...
Using vars defined in .dev.vars
Your worker has access to the following bindings:
- Queues:
- notificationChannelEmail: cp-development-notification-channel-email
- stripeUsageRecordsSync: cp-development-stripe-usage-records-sync
- tenantHold: cp-development-tenant-hold
- offerLimitEnforce: cp-development-offer-limit-enforce
- stripeSyncSubDel: cp-development-stripe-sync-sub-del
wrangler.toml changed...
Using vars defined in .dev.vars
Your worker has access to the following bindings:
- Queues:
- notificationChannelEmail: cp-development-notification-channel-email
- stripeUsageRecordsSync: cp-development-stripe-usage-records-sync
- tenantHold: cp-development-tenant-hold
- offerLimitEnforce: cp-development-offer-limit-enforce
- stripeSyncSubDel: cp-development-stripe-sync-sub-del
But, at runtime env.notificationChannelEmail etc. are undefined. I don't understand why.
1 Reply
jasonkuhrt
jasonkuhrt2mo ago
never mind, we found the problem, it was on our side.