tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Vysny <...@whitestein.com>
Subject Re: Specifying source queue for message driven bean (MDB)
Date Thu, 18 Oct 2007 07:09:24 GMT

On Wed, 2007-10-17 at 21:51 +0200, Jacek Laskowski wrote:
> On 10/17/07, Martin Vysny <mvy@whitestein.com> wrote:
> 
> > to the stateless bean definition, and
> >
> > <activation-config-property>
> > <activation-config-property-name>destination</activation-config-property-name>
> > <activation-config-property-value>queue/FE_QUEUE</activation-config-property-value>
> > </activation-config-property>
> >
> > to the message driven bean definition.
> 
> I believe you can do this using @MessageDriven annotation, e.g.
> 
> @MessageDriven(
>     activationConfig = {
>         @ActivationConfigProperty(propertyName="destinationType",
> propertyValue="javax.jms.Queue"),
>         @ActivationConfigProperty(propertyName="destination",
> propertyValue="queue/FE_QUEUE")
>     }
> )
> 
> Jacek
> 

Yeah, that may be so. However we have to use EJB2.1.

-- 
Mgr. Martin Vysny | mvy@whitestein.com
Software Engineer
Whitestein Technologies s.r.o | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0717


Mime
View raw message