Skip to main content

Web application acting as thin client?

1 reply [Last post]
Joined: 2012-10-23

Is it possible to have a web application deployed to a glassfish cluster(cluster on same machine as the server) and be able to access the queue in the server from the basically acting as a thin client.
I have managed to create a standalone java application and act as a thin client but I am unable to do so from a web application deployed on a cluster.

I want to be able to reroute a cluster ms message to a server queue. Is there any other way to do so ?(without sharing the other queue to the cluster)
Thank you.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-10-12

If you want your application to connect to the DAS server's JMS broker then all you need to do is to configure the connection factory that your application is using to connect to it. Set its addressList property to mq://hostname:port where port is the DAS server's JMS port.