AnsweredAssumed Answered

Help Understanding JMS Proxy Recording Process

Question asked by jeff.wallace on Apr 8, 2016
Latest reply on Apr 8, 2016 by Kevin.Bowman

I'm trying to setup a simple example of how to do a proxy recording of a JMS application.

I'm using Apache ActiveMQ as my messaging platform.

 


I've already setup a simple scenario where ::

  1. the client will put request messages onto a "fromClientQueue"
  2. the server will pull request message off of the "fromClientQueue"
  3. the server will put response messages onto a "toClientQueue"
  4. the client will pull response messages off of the "toClientQueue"

 


 

So now I'm trying to understand what I have to do in order to record this traffic.

 


 

According to this doc, it seems that I need to ::

  1. setup 2 additional queues in ActiveMQ ("fromClientQueue_proxy" and "toClientQueue_proxy")
  2. point my client at the "fromClientQueue_proxy"
  3. somehow config the "fromClientQueue_proxy" to point at the recorder
  4. config the recorder to point at the "fromClientQueue"
  5. the server will pull off the request and push out the response as normal
  6. somehow config the "toClientQueue" to point at the recorder
  7. config the recorder to point at the "toClientQueue_proxy"
  8. point my client at the "toClientQueue_proxy"

 


 

Do I understand this concept correctly? 

If so, then I'll have to figure out how to setup Proxy queues in ActiveMQ and redirect their output, but I want to make sure that my basic understanding of the recording process is correct before I even start messing with the proxy setup/config.

 

Thanks,

Jeff

Outcomes