I'm using:
JVM - 1.4.2_08
JBoss -  4.0.2 on Linux

I'm having a problem trying to make a Session Bean send a JMS message to a 
queue deployed in another host with another instance of JBoss with the same 
versions.

How can a declare de queue remote?

I'm declaring the queue on ejb-jar.xml as fowlling:


 <ejb-name>NCRequestCommandSender</ejb-name>
 
<local-home>br.com.dm.nossacaixa.business.facade.sender.CommandSenderLocalHome</local-home>
br.com.dm.nossacaixa.business.facade.sender.CommandSenderLocal
<ejb-class>br.com.dm.nossacaixa.business.facade.sender.CommandSenderBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>

<resource-env-ref>
   <resource-env-ref-name>jms/ncrequest</resource-env-ref-name>
   <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
   </resource-env-ref>


I've already done a MDB consume messages from a remote queue, but I could find 
documentation about Sessions Beans.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3927956#3927956

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3927956


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to