Skip to content

Create NATS Message

This processor will create a NATS message from the provided parameters. This processor will return an error if any of the required parameters are missing or if the parameters are of the wrong type.

  • type: nats.message.create
  • params:
    • subject: the subject to publish the message to.
    • payload: the payload of the message.
- type: nats.message.create
params:
subject: "events"
payload: "Hello, World!"