users@glassfish.java.net

Re: Specifying destination on a Message-Driven Bean

From: Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_Sun.COM>
Date: Mon, 28 Apr 2008 17:27:42 -0700

Did you set resource-adapter-mid to point to the active mq RA?
http://docs.sun.com/app/docs/doc/819-3659/6n5s6m5av?a=view

--Siva.

glassfish_at_javadesktop.org wrote:
> Doesn't work. The ActiveMQ-RA doesn't pick it up. I get Exceptions in the server.log saying I need the PhysicalName, which is on the managed object that I had created. I found http://activemq.apache.org/maven/activemq-ra/apidocs/org/apache/activemq/ra/ActiveMQActivationSpec.html#setActiveMQDestination(org.apache.activemq.command.ActiveMQDestination) in the ActivationSpec for ActiveMQ, but it doesn't work if I have an @ActivationConfigProperty with that parameter and the managed object's JNDI name as the value. Says it can't find that method, which I imagine has to do with the fact that it simply passes the parameter value as a String.
> [Message sent by forum member 'drizzt321' (drizzt321)]
>
> http://forums.java.net/jive/thread.jspa?messageID=271855
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>