Hi Howard,

seems that you forgot something like

     <message-driven>
       <ejb-name>MailQueue</ejb-name>
       <jndi-name>MailQueue</jndi-name>
       <configuration-name>Standard Message Driven Bean</configuration-name>
       <destination-jndi-name><queue/Vlib-MailQueue/destination-jndi-name>
     </message-driven>

in the jboss.xml.
This is the place to bind the MDB to a topic or queue

hth
tom

On Thu, 21 Jun 2001, you wrote:
> I'm just starting to experiment with message driven beans in jBoss.  I'm
> having a problem though.
> 
> One of my business processes uses a queue to send a message to MDB.  The
> session bean coordinates a database update, the MDB sends e-mail about it
> and I wanted them decoupled.
> 
> Excerpts from ejb-jar.xml:
> 
> <message-driven>
>   <ejb-name>MailQueue</ejb-name>
>   <ejb-class>com.primix.vlib.ejb.impl.MailQueueBean</ejb-class>
>   <message-selector/>
>   <transaction-type>Container</transaction-type>
>   <message-driven-destination>
>     <destination-type>javax.jms.Queue</destination-type>
>     <subscription-durability>NonDurable</subscription-durability>
>   </message-driven-destination>
> </message-driven>
> 
-- 
THETA - Consulting   
Kommuniktionsanalyse - Anwendungsentwicklung - LINUX-Systeme

Thomas Hagedorn                          Tel. 07231-472108
Rainstr. 12                              Tel. 0172-7642398
75217 Birkenfeld                         [EMAIL PROTECTED]

Jesus inside - where do you want to go forever ?

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to