ActiveMQ
  1. ActiveMQ
  2. AMQ-1085

Request/Response Option for AJAX interface

    Details

    • Type: Wish Wish
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.1.0
    • Fix Version/s: 5.x
    • Component/s: None
    • Labels:
      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.

        Activity

        Jim Cook created issue -
        Rob Davies made changes -
        Field Original Value New Value
        Fix Version/s 5.2.0 [ 11841 ]
        Gary Tully made changes -
        Fix Version/s 5.2.0 [ 11841 ]
        Fix Version/s 5.3.0 [ 11914 ]
        Gary Tully made changes -
        Fix Version/s 5.3.0 [ 11914 ]
        Fix Version/s 5.4.0 [ 12110 ]
        Bruce Snyder made changes -
        Fix Version/s 5.4.0 [ 12110 ]
        Fix Version/s AGING_TO_DIE [ 12187 ]
        Bruce Snyder made changes -
        Fix Version/s AGING_TO_DIE [ 12187 ]
        Rob Davies made changes -
        Fix Version/s 5.4.1 [ 12332 ]
        Bruce Snyder made changes -
        Fix Version/s 5.5.0 [ 12344 ]
        Fix Version/s 5.4.1 [ 12332 ]
        Jeff Turner made changes -
        Project Import Fri Nov 26 22:32:02 EST 2010 [ 1290828722158 ]
        Dejan Bosanac made changes -
        Fix Version/s 5.5.0 [ 12315626 ]
        Fix Version/s 5.4.2 [ 12315625 ]
        Gary Tully made changes -
        Fix Version/s 5.6.0 [ 12316331 ]
        Fix Version/s 5.5.0 [ 12315626 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Jim Cook
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development