Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
4.1.0
-
None
-
None
Description
In addition to the standard publish/subscribe message handling used by the AJAX client to communicate to ActiveMQ, it would be helpful in some situations to be able to simulate a more typical request/response scenario.
Is it performant to do this using the existing API or is there a need to develop new Javascript classes to support it?
For example, one approach may be to create a new topic and message consumer in the JS client. Attach the consumer and send the message. When the response is received, the callback is notified and the consumer is discarded.
It seems that this approach may work, but it appears very inefficient due to the number of objects created/disposed.