You should be able to use a camel route to do it .. i.e. a single camel route for each direction:
Where you define two spring jms providers and uri's might look like this ..
activemq_uri - activemq:queue:test
wmq_uri - wmq:queue:test
See http://activemq.apache.org/camel/jms.html (Configuring different JMS providers) for more info
You can embed/config the camel route in the ActiveMQ broker itself (via activemq.xml) or use a standalone router instance.
Thanks for help