HUB
Sign inSign up

westwind027/azure-servicebus

By westwind027

•Updated about 4 years ago

Image
0

453

westwind027/azure-servicebus repository overview

⁠Azure Servicebus

Writes a message to Azure's Servicebus

⁠Direktiv

An example workflow of writing 'Hello World!' to the servicebus.

id: write-helloworld
functions:
- id: write
  image: direktiv/azure-servicebus:v1
description: "Writes 'Hello World!' to an Azure Servicebus."
states:
- id: write-message
  type: action
  action:
    function: write
    input: jq(.)

⁠Input

The input required to run the above workflow properly is the following:

input:
  policy: jq(.secrets.AZURE_POLICY)
  key: jq(.secrets.AZURE_POLICY_KEY)
  namespace: "direktiv"
  message: "Hello World!"
  queue: "listener"

⁠Output

If the action is successful, no output will be returned.

⁠Error

In the case that an error is encountered, it will present in the following format:

{
    "errorCode": "com.azure-servicebus.error",
    "errorMsg": "Something went wrong"
}

Tag summary

Content type

Image

Digest

sha256:3764ec92c…

Size

2.3 MB

Last updated

about 4 years ago

docker pull westwind027/azure-servicebus