Athomas
Athomas

Reputation: 573

How to push messages to AMQP consumer Artemis

Is it possible for Artemis to push messages to a REST API/consumer, rather the consumer pulling from it. I can implement a Listener on the consumer side, but I am trying to see if Artemis can push messages to consumers.

Any help is much appreciated.

Upvotes: 0

Views: 559

Answers (1)

fvaleri
fvaleri

Reputation: 767

Don't think it's possible, the JMS provider is a server and always waits for consumer connections. Then, it pushes messages to consumer's buffer as soon as it is ready and there are available messages. Anyway, depending on your application's technology, you may want to leverage the Artemis REST interface to implement your consumer.

Upvotes: 1

Related Questions