Hi Uday,
Section "Creating Deployment Descriptors for Message-Driven Beans" in
http://docs.sun.com/app/docs/doc/819-3669/6n5sg7c2a?a=view#bnbpk
shows how this can be accomplished.
Thanks
-Ramesh
Uday Subbarayan wrote:
> Hi All,
> I have a MDB, which currently listens to a queue in GF and it
> works. Now i want this MDB to listen to a queue in a remote SunMQ4.1
> running on a different machine.
>
> Here is the annotation in the MDB:
>
> @MessageDriven(mappedName = "jms/InboundQueue", activationConfig = {
> @ActivationConfigProperty(propertyName = "acknowledgeMode",
> propertyValue = "Auto-acknowledge"),
> @ActivationConfigProperty(propertyName = "destinationType",
> propertyValue = "javax.jms.Queue")
> })
>
> Is there a property that i can specify to connect to remote queue? How
> do i change the JNDI context for the remote queue?
> Can some one shed some light here?
>
> Thanks,
> -Uday.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>