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 ::
- the client will put request messages onto a "fromClientQueue"
- the server will pull request message off of the "fromClientQueue"
- the server will put response messages onto a "toClientQueue"
- 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 ::
- setup 2 additional queues in ActiveMQ ("fromClientQueue_proxy" and "toClientQueue_proxy")
- point my client at the "fromClientQueue_proxy"
- somehow config the "fromClientQueue_proxy" to point at the recorder
- config the recorder to point at the "fromClientQueue"
- the server will pull off the request and push out the response as normal
- somehow config the "toClientQueue" to point at the recorder
- config the recorder to point at the "toClientQueue_proxy"
- 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.