users@glassfish.java.net

Connection to a remote JMS Queue

From: <glassfish_at_javadesktop.org>
Date: Tue, 25 Nov 2008 15:10:12 PST

I am using the following version of GlassFish, is there a known issue with Annotations and Remote Q being broken ?.

asadmin> version
Version = Sun Java System Application Server 9.1_02
Command version executed successfully.

I have a MDB on my local instance of the glassfish on machine EARTH.

I have a remoteQ configured on a remote instance of SUN MQ 4.1 on JUPITER.

After setting the AddressList / creating the appropriate connection factories, the local MDB is trying to receive messages from the remoteQ on EARTH.

This used to work on EJB 2.x ( xml descriptor way ). But some how its broken now.


Our MDB using annotations look like this.

@MessageDriven(mappedName = RemoteQ, activationConfig = {
        @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
        @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic")
@ActivationConfigProperty(propertyName = "connectionFactoryJndiName", propertyValue = "jms/TopicConFactory)
@ActivationConfigProperty(propertyName="connectionFactoryJndiName", propertyValue="jms/TopicConnectionFactory"),
@ActivationConfigProperty(propertyName="destinationName", propertyValue="jms/myTopic"),
@ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic"),
}
)

Is there some thing wrong with this ?

Thanks in Advance
[Message sent by forum member 'durgadeep' (durgadeep)]

http://forums.java.net/jive/thread.jspa?messageID=318735