Skip to content

Enabling the JMS client to read from and write to predefined RabbitMQ queues with type "stream" #679

@kenliao94

Description

@kenliao94

Is your feature request related to a problem? Please describe.

RabbitMQ stream is supposed to work with AMQP 0-9-1 and AMQP 1.0. The current JMS 2.0 and JMS 3.1 clients under the hood uses AMQP 0-9-1 client to interact with RabbitMQ. It should be possible to use JMS client to read from and write to stream queue with RMQDestination.

Using the existing JMS client to read/write to a stream queue with RMQDestination always fail unlike other predefined AMQP destination. The core issue is that JMS client makes certain assumption and uses the AMQP client in a way not compatible with stream queue (basic.get is not supported and always try to declare the destination using default queue type in the vhost).

It will be great to use JMS client to interact with stream, bring more useful features to JMS users on RabbitMQ.

Describe the solution you'd like

Users should be able to use the JMS client to read and write from a stream queue in RabbitMQ with the same APIs as other predefined AMQP queues outlined here

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions