I'm in the same boat, looking for the same information.  The only help I can provide is regarding selectors: the filtering happens server-side, so only consumers that have subscribed using that selector will receive the message.  We still want a way to be able to send a message to a specific client (like client.call() in FMS2), and there's got to be a better way than using selectors.

-Tom

On 7/21/06, m88e24 < [EMAIL PROTECTED]> wrote:

The selector attribute of the Consumer class allows messages to be
filtered based on information in the header of the message. The
downside is that a message is always delivered to all clients which is
inefficient and is also a potential security hazard.

I just want to deliver a message to a single client from a server side
Java class.

Both methods, routeMessageToService and routeMessageToClient, are
missing from the Flex Java API. The routeMessageToService obviously
routes messages to all clients connect to the same destination. It
maybe very likely that the routeMessageToClient will route the message
to a single peer. But the methods needs a MessageClient which is also
missing from the Java doc. With some googling I found a Java doc which
contains a very terse definition of the MessageClient. But only very
terse and of no use to someone who doesn't now the Flex internals.

Is there any example or some more verbose documentation on how to use
these classes. Much appreciate any help.


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to