I think you are confusing some concepts. As genman pointed out you do not have to create
the consumer for this.
I am assuming that you have host A and host B. You want to deploy an MDB on host A but
have it listen to a destination on host B.
The following page on the JBoss Wiki explains how to do this:
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARem...
Typically this involves creating a JNDIProvider to point to the remote host. Setting on
the invoker-proxy binding and applying the appropriate settings to your jboss.xml
descriptor.
Note, you also have the option of using the ExternalContextMean to have the remote
administered objects be viewable on your local machine.
You can find this here:
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch3.chapter.html#d0e8472
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979755#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...