My Env:
* Win 2000 pro
* JBoss 3.2.2
* Sun's Java 1.4.2 SE

Problem:
I want my MDB (named DocumentVerifierBean) to listen on a queue called 
'Apex/DocVerifierInbox' but instead it is responding to messages on 
'DocumentVerifierBean'. Looks like JBoss is automatically creating this second queue 
and linking the MDB to it, despite my wishes otherwise. I have confirmed that both 
queues work, as I can send messages to both of them and watch both of their message 
counts increase (in the JMX console). I have included snippets of my config files 
below.

Any ideas? Should I just upgrade or downgrade JBoss versions?

ejb-jar.xml:
      <message-driven>
  |          <description><![CDATA[DocumentVerifierBean EJB]]></description>         
  |          <display-name>DocumentVerifierBean</display-name>         
  |          <ejb-name>DocumentVerifierBean</ejb-name>         
  |          
<ejb-class>net.transolutions.apex.doc.verifier.DocumentVerifierBean</ejb-class>
  |          <transaction-type>Container</transaction-type>
  |          <message-selector></message-selector>                  
  |          <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>         
  |          <message-driven-destination>
  |              <destination-type>javax.jms.Queue</destination-type>
  |              <subscription-durability>NonDurable</subscription-durability>
  |          </message-driven-destination>         
  |       </message-driven>

jboss.xml:
      <message-driven>
  |          <ejb-name>DocumentVerifierBean</ejb-name>
  |          <destination-jndi-name>queue/Apex/DocVerifierInbox</destination-jndi-name>
  |          <configuration-name>Standard Message Driven Bean</configuration-name>
  |       </message-driven>

Thank you.

-Matthew S. Ring

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827468#3827468";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827468>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to