I think you may want to have a look at the trailblazer. This example may get your questions a little more focused. The trailblazer has the same components as you are talking about, however in a different order. So please take a look and let us know if that helps (or not :)).
The "helloworld_action" quickstart is a good starting point. It takes a message in through a JMS queue, modifies the message and sends it back out through another response queue.