smrchy-rest-rsmq
- Description:
Boost Your Productivity with REST rsmq
Easily integrate with rsmq for efficient message queuing. No security worries, just seamless communication across platforms like php, .net, and more. Maximize performance now!
- Copyright:
- 2025 Eyevinn Technology AB
Methods
(async, static) createSmrchyRestRsmqInstance(context, body) → {SmrchyRestRsmq}
- Description:
Create a new Really Simple Message Queue instance
Example
import { Context } from '@osaas/client-core';
import { createSmrchyRestRsmqInstance } from '@osaas/client-services';
const ctx = new Context();
const body: SmrchyRestRsmqConfig = { name: 'myinstance', ... };
const instance = await createSmrchyRestRsmqInstance(ctx, body);
console.log(instance.url);
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
body |
SmrchyRestRsmqConfig | Service instance configuration |
Returns:
- Service instance
- Type
- SmrchyRestRsmq
(async, static) getSmrchyRestRsmqInstance(context, name) → {SmrchyRestRsmq}
- Description:
Get a Really Simple Message Queue instance
Example
import { Context } from '@osaas/client-core';
import { getSmrchyRestRsmqInstance } from '@osaas/client-services';
const ctx = new Context();
const instance = await getSmrchyRestRsmqInstance(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
- SmrchyRestRsmq
(async, static) removeSmrchyRestRsmqInstance(context, name)
- Description:
Remove a Really Simple Message Queue instance
Parameters:
Name | Type | Description |
---|---|---|
context |
Context | Open Source Cloud configuration context |
name |
string | Name of the message-queue to be removed |