Hi!

I have a session bean which is sending JMS messages 
to a Message Driven Bean.
In ejb-jar.xml I'm using message-destination-link and
message-destination in assembly-descriptor (conformity with ejb 2.1 specification). 

How can I specify the real message-destination (for DestinationA)
in jboss.xml? (in jboss 4.0)
I haven't found the answer in dtd-s.


<enterprise-beans>
...

<ejb-name>SendingEJB</ejb-name>
...
<resource-ref>
<res-ref-name>jms/TopicFactory</res-ref-name>
<res-type>javax.jms.TopicConnectionFactory</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<message-destination-ref>
<message-destination-ref-name>
jms/Topic
</message-destination-ref-name>
<message-destination-type>javax.jms.Topic</message-destination-type>
<message-destination-usage>Produces</message-destination-usage>
<message-destination-link>
DestinationA
</message-destination-link>
</message-destination-ref>
...

...
</enterprise-beans>


<message-driven>
<ejb-name>Receiving MDB</ejb-name>
...
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Container</transaction-type>
<message-destination-type>
javax.jms.Topic
</message-destination-type>
<message-destination-link>
DestinationA
</message-destination-link>
...
</message-driven>
...
</enterprise-beans>


<assembly-descriptor>
...
<message-destination>
<message-destination-name>DestinationA</message-destination-name>
</message-destination>
...
</assembly-descriptor>
</ejb-jar>

(the example is from theserverside.com)

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to