Skip to content

Conversation

@sjvans
Copy link
Contributor

@sjvans sjvans commented Nov 13, 2025

No description provided.

@sjvans sjvans requested review from David-Kunz and PDT42 November 13, 2025 14:39
const tenant = cds.context?.tenant

const queuedServiceName = req.data.target
const queuedServiceName = req.data.msg.service ?? req.data.target

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

msg needs to be parsed:

  const taskMsg = {
    ID: cds.utils.uuid(),
    target: _targetName(name, taskOpts),
    timestamp: _get100NanosecondTimestampISOString(msg.queue?.after), // needs to be different for each emit
    msg: JSON.stringify(_msg)
  }

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.

3 participants