Not sure exactly your use case but having a look at JBM's bridge and mdb examples
might help a little.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4202031#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...