Home Applications rabbit-iris-sample

rabbit-iris-sample

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
5
1 reviews
0
Awards
132
Views
0
IPM installs
0
0
Details
Releases (1)
Reviews (1)
Issues
Sample of using RabbitMQ and InterSystems IRIS

What's new in this version

Initial Release

Gitter

rabbit-iris-sample

This is a sample about using IRIS Interoperability and RabbitMQ to produce and consume messages in real-time.
It contains a simple interoperablity production which reads the current temperature from lat/long coordinates and publish to a RabbitMQ topic. The production consume the topic and save the current temperature into the IRIS database.

Installation: ZPM

Open IRIS Namespace with Interoperability Enabled.
Open Terminal and call:
USER>zpm “rabbit-iris-sample”

Installation: Docker

Clone/git pull the repo into any local directory

$ git clone https://github.com/yurimarx/rabbit-iris-sample.git

Open the terminal in this directory and run:

$ docker-compose build
  1. Run the IRIS container with your project:
$ docker-compose up -d

Configure the RabbitMQ

  1. Go to RabbitMQ console and login with Username guest and Password guest to see the initial page:
2. Go to tab Exchange > Section Add a new exchange > set temperature value for Name field and select the option Topic on the field Type and click Add exchange: 3. Go to tab Queues and Streams > Section Add a new queue > set temperature value for Name field and click Add queue: 4. In the tab Queues and Streams > click on the temperature queue: 5. Go to the section Add binding to this queue > set temperature value for From exchange field, set temperature.current to Routing key field and click the button Bind: 6. Now que queue and the exchange are connected and ready to manage messages with the routing key temperature.current:

Start the production and see the results

  1. Go to the sample production and click the button Start:
2. The production starts with success: 3. Now go to the [SQL](http://localhost:52795/csp/sys/exp/%25CSP.UI.Portal.SQL.Home.zen?$NAMESPACE=USER&$NAMESPACE=USER) to query the temperature table to see the results: 4. Check the production business services, business operations and the messages produced to see how the samples works. Enjoy!
Made with
Install
zpm install rabbit-iris-sample download archive
Version
1.0.027 Feb, 2025
Ideas portal
Category
Technology Example
Works with
InterSystems IRISInterSystems IRIS for HealthHealthShare
First published
27 Feb, 2025
Last edited
27 Feb, 2025
Last checked by moderator
11 Oct, 2025Works