On 10/17/07, Martin Vysny <[EMAIL PROTECTED]> 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

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to