poundifdef-smoothmq
- Description:
Introducing SmoothMQ, the ultimate drop-in replacement for SQS! Enhance your developer experience with a functional UI, observability, tracing, scheduling, and rate-limiting. Run your own private SQS on any cloud effortlessly.
- Copyright:
- 2025 Eyevinn Technology AB
- See:
-
- Online docs for further information
Methods
(async, static) createPoundifdefSmoothmqInstance(context, body) → {PoundifdefSmoothmq}
- Description:
Create a new SmoothMQ instance
Example
import { Context } from '@osaas/client-core';
import { createPoundifdefSmoothmqInstance } from '@osaas/client-services';
const ctx = new Context();
const body: PoundifdefSmoothmqConfig = { name: 'myinstance', ... };
const instance = await createPoundifdefSmoothmqInstance(ctx, body);
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
PoundifdefSmoothmqConfig | Service instance configuration |
Returns:
- Service instance
- Type
- PoundifdefSmoothmq
(async, static) getPoundifdefSmoothmqInstance(context, name) → {PoundifdefSmoothmq}
- Description:
Get a SmoothMQ instance
Example
import { Context } from '@osaas/client-core';
import { getPoundifdefSmoothmqInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getPoundifdefSmoothmqInstance(ctx, 'myinstance');
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the message-queue to be retrieved |
Returns:
- Service instance
- Type
- PoundifdefSmoothmq
(async, static) removePoundifdefSmoothmqInstance(context, name)
- Description:
Remove a SmoothMQ instance
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the message-queue to be removed |