Hi
I will let others answer the rest of the question.
> Using JMS and a Topic seemed like a solution, but
glassfish only invokes
> one MDB for a message so the change will not be
propogated to all instances.
The default OpenMQ resource adapter,as you rightly pointed
out, implements a
"shared" [across all instances in the cluster]
topic subscription and hence an
incoming message from a Topic is delivered to only one
instance in the cluster.
There is no way to disable this.
[http://docs.sun.com/app/docs/doc/819-7755/6n9m8u
5nc?a=view#aeooq]
If you still want to have "unshared" topic
subscriptions in GlassFish, you might
want to look at Generic JMS RA, available at http://genericjmsra.
dev.java.net
and bundled in GlassFish, and configure shareClientId
property in your MDB's
ActivationSpec to false.
http://fisheye5.cenqua.com/browse/genericjmsra/src/java/com/
sun/genericra/inbound/ActivationSpec.java?r=1.6#l324
If you feel that OpenMQ should fix this to provide a
mechanism to disable shared
subscriptions in a cluster, please feel free to raise a RFE
in the OpenMQ issue
tracker.
Thanks
--Siva.
Shyamal Mehta wrote:
>
> Hi,
>
> In a clustered environment I need to publish data to
all instances in
> the cluster. What is the best way to do it?
>
> The use case is for the requirement is to be able to
process an external
> rate feed, which will be done by only one of the
instances and then make
> that available in all instances. The external feed is
parsed every 10-15
> seconds.
>
> Using JMS and a Topic seemed like a solution, but
glassfish only invokes
> one MDB for a message so the change will not be
propogated to all instances.
>
> Thanks,
> SM
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection
around
> http://mail.yahoo.com
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe glassfish.dev.java.net
For additional commands, e-mail: users-help glassfish.dev.java.net
|