Request/Response Option for AJAX interface
------------------------------------------

                 Key: AMQ-1085
                 URL: https://issues.apache.org/activemq/browse/AMQ-1085
             Project: ActiveMQ
          Issue Type: Wish
    Affects Versions: 4.1.0
            Reporter: Jim Cook


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to