We've been trying to do the same thing. We also want the local queue to guarantee delivery, persisting the event until it's delivered (maybe you require the same feature).
As far as we've been able to determine, in order to get the persistence, it seems that you have to set up a free-standing local queue and run a local consumer to spool off the local queue and send to the remote queue.
If you don't want the persistence you can look up the remote queue by JNDI and create a session (?) to it and send that way.
I feared your propostioin would be the answer. What are your experiences with that solution? It sounds not very portable...
Do you know wheather there is a "clean" solution planned?
> What are your experiences with that solution?
Ha! I'll let you know when we've had some! ;-)