Here are also my configuration files:
CLIENT:
jboss-client.xml:
<jboss-client>
| <jndi-name>SimpleMessageClient</jndi-name>
|
| <resource-ref>
| <res-ref-name>jms/QueueConnectionFactory</res-ref-name>
| <jndi-name>XAConnectionFactory</jndi-name>
| </resource-ref>
|
| <resource-env-ref>
| <resource-env-ref-name>jms/QueueName</resource-env-ref-name>
| <jndi-name>queue/avrisQueue</jndi-name>
| </resource-env-ref>
|
| </jboss-client>
application-client.xml:
<display-name>MyAppClient</display-name>
|
| <resource-ref>
| <res-ref-name>jms/QueueConnectionFactory</res-ref-name>
| <res-type>javax.jms.ConnectionFactory</res-type>
| <res-auth>Container</res-auth>
| <res-sharing-scope>Shareable</res-sharing-scope>
| </resource-ref>
|
| <resource-env-ref>
| <resource-env-ref-name>jms/QueueName</resource-env-ref-name>
| <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
| </resource-env-ref>
|
MDB:
jboss.xml:
<jboss>
| <enterprise-beans>
| <message-driven>
| <ejb-name>SimpleMessageEJB</ejb-name>
| <destination-jndi-name>queue/avrisQueue</destination-jndi-name>
| </message-driven>
| </enterprise-beans>
| </jboss>
|
ejb-jar.xml:
<ejb-jar>
| <display-name>SimpleMessageJAR</display-name>
|
| <enterprise-beans>
| <message-driven>
| <display-name>SimpleMessageEJB</display-name>
| <ejb-name>SimpleMessageEJB</ejb-name>
| <ejb-class>si.avris.centrala.MessageBean</ejb-class>
| <transaction-type>Container</transaction-type>
| <message-driven-destination>
| <destination-type>javax.jms.Queue</destination-type>
| </message-driven-destination>
| </message-driven>
| </enterprise-beans>
| </ejb-jar>
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861342#3861342
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861342
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user