Hello,

I have created an MDB ( message driven bean), which is associated with a topic. 
 I have create the following  .XML files.

ejb-jar.xml

<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
<ejb-jar>
 <enterprise-beans>
    <message-driven>
      <ejb-name>mdb</ejb-name>
      <ejb-class>st.mdb.MessageBean</ejb-class>
      <transaction-type>Container</transaction-type>
      <message-driven-destination>
        <destination-type>javax.jms.Topic</destination-type>
      </message-driven-destination>
    </message-driven>
 </enterprise-beans>
</ejb-jar>
 

jboss.xml

<?xml version="1.0"?>

<!DOCTYPE jboss PUBLIC 
'-//JBoss//DTD JBOSS 3.2//EN' 
'http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd'>


  <enterprise-beans>
        <message-driven-descriptor>
             <ejb-name>mdb</ejb-name>
             <destination-jndi-name>topic/testTopic</destination-jndi-name>
        </message-driven-descriptor>
  </enterprise-beans>



But the probolem is; while i am deploying this EJB,  JBoss is biniding this EJB 
with a topic   topic/mdb.   But i am clearly specifying i want  topic/testTopic 
 topic to be associated with EJB.

Where did i go wrong? Please help!

Thank you,
Srikanth.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to