Questions tagged [rhea]

an open source library for the AMQP protocol

rhea is an open source library for the AMQP protocol, for easy development of both clients and servers.

Some code examples are here: https://github.com/amqp/rhea/tree/master/examples

Related tags

11 questions
2
votes
1 answer

Delay message delivery for ActiveMQ AMQP 1.0, _without_ JMS

To clarify the title: I am using ActiveMQ 5.15.15 (NOT the Artemis engine), and I am using AMQP 1.0 without official JMS libraries. And to be more specific, I am using the AmazonMQ version of this, which will soon upgrade to 5.16.2. I could force…
ps2goat
  • 8,067
  • 1
  • 35
  • 68
2
votes
0 answers

How do we listen on multiple queues using a single container in node-rhea?

I have a node.js application in which I'm using amqplib which implements AMQP 0.9.1 I have a multiple number of queues on which data is received. Each of these queues has a handler function which addresses the message on its respective queue. I'm…
SagarM
  • 311
  • 4
  • 14
1
vote
1 answer

can't open a receiver bound to application header x-match expression

I'm using rhea (https://github.com/amqp/rhea), a node.js library to develop AMQP 1.0 clients. I'm trying to adapt https://github.com/amqp/rhea/tree/master/examples/selector example using an x-match expression instead of a JMS expression. The purpose…
beaver
  • 17,333
  • 2
  • 40
  • 66
1
vote
1 answer

OpenWhisk and binary data from Google Flatbuffers

We have data being created by a simulated device being put on the network with NanoMSG with a payload of Google FlatBuffers (binary). We would like to trigger on patterns of this data with OpenWhisk, and respond with Flatbuffer encoded…
Dr.YSG
  • 7,171
  • 22
  • 81
  • 139
0
votes
1 answer

amqp rhea connect to virtual host node

I'm using rhea to connect a NestJS application to a AMQP 1.0 server using the following code. const host = ; // I from some external source const port = ; // I get from external source const target = ; //…
Mattias
  • 740
  • 10
  • 19
0
votes
0 answers

Does rhea lib in javascript for amqp supports oauth2 authentication?

I am using rhea lib to connect to solace broker and publish/subscribe on broker topic/queues using Basic auth, however instead of basic auth I want to use OAuth2 for authentication purpose. I tried same but it didn't work. I get the Authentication…
anikpra
  • 1
  • 1
0
votes
1 answer

How to view priority of Consumer using ActiveMQ dashboard?

From the ActiveMQ documentation (https://activemq.apache.org/consumer-priority), it seems that broker does support Consumer prioritization. I'm trying to use this feature using nodejs and rhea library. The problem is, that there is no clear…
Janis
  • 3
  • 2
0
votes
1 answer

How to make sure AMQP message is not lost in case of error in subscriber with rhea?

So I have designed a basic Publisher-Subscriber model using rhea in JS that takes an API request for saving data in DB and then publishes it to a queue. From there a subscriber(code added below) picks it up and tries to save it in a DB. Now my issue…
0
votes
1 answer

Failover for NodeJS rhea AMQP client

I have multiple instances of ActiveMQ running on my machine. They are configured as shared file system master slave. If one ActiveMQ server is down then the other should be picked up automatically. This is working as expected. Relevant configuration…
Sri
  • 63
  • 2
  • 10
0
votes
1 answer

nodejs rhea npm for amqp couldn't create subscription queue on address in activemq artemis

I have an address "pubsub.foo" already configured as multicast in broker.xml.
As per the Artemis documentation: When clients connect to an address with the multicast element, a subscription…
javapedia.net
  • 2,531
  • 4
  • 25
  • 50
0
votes
1 answer

How do I achieve a redelivery delay in azure service bus with amqp using rhea

I'm using rhea in a nodejs application to send messages around over Azure Service Bus using AMQP. My problem is as follows: Sometimes a message processing attempt can fail because of something that is out of our hands. For instance, a call to some…
YoursTruly
  • 11
  • 3