users@glassfish.java.net

Re: Glassfish jms usage with richfaces 4.2 a4j push

From: <forums_at_java.net>
Date: Sun, 14 Oct 2012 20:10:46 -0500 (CDT)

Hi Timo, What do you mean "to be notified to only one specific user"? If
anyone of A, B, C can be a valid receiver, then you can use jms Queue instead
of Topic as the solution. Thus one of A, B, C will receive the message sent
to the queue (The jms server will decide who will receive the message from
queue) once the publisher sends messages to the queue. If the receiver can
not be random and should be specific to the message, then you can still use
Topic, but add a property to the messages when publisher creates them. The
subscribers (A, B, C) may filter the topic messages based on filtering the
property to make sure there is only one specific subscriber for one topic
message. Let me know if you have further questions. --- David

--
[Message sent by forum member 'liang.x.zhao']
View Post: http://forums.java.net/node/891195