I think you need to add a reference in the Message Driven Beans descriptor
so that it can find the JMS topic/queue by JNDI.

I'm not sure which tags exactly to use.

Matt

> -----Original Message-----
> From: Balazs Lichtl [mailto:[EMAIL PROTECTED]]
> Sent: 17 May 2001 11:26
> To: jboss-user
> Subject: [JBoss-user] Deployment descriptor for Sending with JMS
> 
> 
> Hi,
> 
> i have a problem with JMS.
> 
> the receiving of messages in message driven beans works, but 
> not the sendig
> of them.
> 
> can somebody tell me please, which tags i need in the 
> deployment descriptor
> for a (message driven) bean, so that this can access the right
> TopicConnectionFactory and the right topic object for posting 
> something to
> that topic?
> 
> now i have:
> 
>       <message-driven>
> 
>         <ejb-name>MessageBean1</ejb-name>
>         
> <ejb-class>com.cocosoftware.rsms.benchmark.MessageBean1</ejb-class>
>           <message-selector></message-selector>
>           <transaction-type>Container</transaction-type>
> 
>           <message-driven-destination>
>                <destination-type>javax.jms.Topic</destination-type>
>                
> <subscription-durability>NonDurable</subscription-durability>
>           </message-driven-destination>
> 
>         ****
>       </message-driven>
> 
>       <message-driven>
> 
> 
> at the **** there must be something, that gives the access for the jms
> resource on my bean.
> what is this thing ???
> 
> 
> thanx in advance,
> balazs lichtl
> 
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


***********************************************************************

Check us out at http://www.syntegra.com

***********************************************************************

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

Reply via email to