npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@cdmx/wappler_sc_rabbitmq

v0.0.1

Published

Allows for the creation of RabbitMQ queues to offload the execution of Wappler tasks using amqplib

Readme

Wappler RabbitMQ Queues

Overview

Wappler RabbitMQ Queues enables the creation and management of message queues to offload and control the execution of tasks using RabbitMQ and the amqplib library.


Requirements

  • A working RabbitMQ server connection.
  • RabbitMQ server accessible from your Wappler application.

Connection Configuration

RabbitMQ connection settings are configured directly in each action:

| Setting | Description | |---------------------------|---------------------------------------------------------------------------------------------| | hostname | The RabbitMQ server hostname/IP (default: 'rabbit') | | username | The RabbitMQ username (optional) | | password | The RabbitMQ password (optional) |


Actions

Add Job

  • Adds a message job to a RabbitMQ queue.
  • Executes by sending job data as a JSON message to the specified queue.
  • Supports job delay, retry attempts with exponential backoff.
  • Queue is created automatically if it doesn't exist.

Job Parameters:

  • Queue name: Name of the RabbitMQ queue to send the job to.
  • Job data: Key-value pairs of parameters to send with the job.
  • Minimum delay: Delay in milliseconds before the job can be processed (default: 0).
  • Max retries: Maximum number of retry attempts if sending fails (default: 0).
  • Initial delay: Initial delay before the first retry in milliseconds (default: 1000).

Get Jobs

  • Retrieves messages from a specified RabbitMQ queue.
  • Returns the current messages in the queue without consuming them.
  • Shows the number of messages available in the queue.

Parameters:

  • Queue name: Name of the RabbitMQ queue to check.

RabbitMQ Health Check

  • Checks the health and connectivity of RabbitMQ server.
  • Validates queue existence and returns message counts.
  • Useful for monitoring and ensuring RabbitMQ availability.

Parameters:

  • Timeout: Connection timeout in milliseconds (default: 5000).
  • Queues to Check: Comma-separated list of queue names to validate.

Returns:

  • status: Boolean indicating if RabbitMQ is healthy and all queues exist.
  • message_count: Total number of messages across all checked queues.

Installation

  1. Install the extension in your Wappler project.
  2. Ensure you have a RabbitMQ server running and accessible.
  3. The required amqplib dependency will be automatically installed.

Usage Examples

Basic Job Addition

Use the "Add Job" action to send a message to a RabbitMQ queue:

  • Set Queue name to your desired queue (e.g., "email_processing")
  • Add Job data with key-value pairs of parameters
  • Optionally set a Minimum delay for delayed processing

Health Monitoring

Use the "RabbitMQ Health Check" action to monitor your RabbitMQ server:

  • Specify Queues to Check as comma-separated values
  • Set appropriate Timeout for connection attempts
  • Monitor the returned status and message counts

Retrieving Messages

Use the "Get Jobs" action to inspect messages in a queue:

  • Specify the Queue name to inspect
  • Returns current messages without consuming them

Error Handling

  • Connection Errors: Authentication failures return HTTP 403 status
  • Timeout Handling: Configurable timeout for connection attempts
  • Retry Logic: Built-in exponential backoff for failed message sends
  • Queue Validation: Automatic queue creation if queue doesn't exist

Dependencies

This extension requires:

  • amqplib: ^0.10.3 (automatically installed)
  • RabbitMQ Server: Running and accessible from your application