users@glassfish.java.net

Re: Portable equivalent to 'mappedName' for an MDB?

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Fri, 04 May 2007 11:31:18 -0700

Sorry, I should have added more details:
@MessageDriven(activationConfig = {
         @ActivationConfigProperty(propertyName = "destinationType",
propertyValue = "javax.jms.Queue"),
         @ActivationConfigProperty(propertyName="destination",
propertyValue="queue/myDestination")

fails at deploy-time:

(...)
Caused by: java.lang.IllegalArgumentException: MQJMSRA_AS4001:
setDestination:Invalid destination name=queue/myDestination
         at
com.sun.messaging.jms.ra.ActivationSpec.setDestination(ActivationSpec.java:356)

thanks,
-Alexis

glassfish_at_javadesktop.org wrote:
> By "not allow" do you mean deployment fails or just that the string is not recognized properly.
> Which property are you attempting to use a / character in?
>
> If it's for a JMS MDB, you can find the ActivationSpec documentation at the bottom
> of this URL :
>
> http://docs.sun.com/app/docs/doc/819-4467/6n6k98brb?a=view
> [Message sent by forum member 'ksak' (ksak)]
>
> http://forums.java.net/jive/thread.jspa?messageID=215381
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>