users@shoal.java.net

sending targetted messages to peers

From: Jerry Raj <jerryr_at_sun.com>
Date: Mon, 15 Jun 2009 13:34:13 +0530

Hi,
I'm trying to send a message to a particular node in the network. I'm using the
GroupHandle.sendMessage(targetServerToken, targetComponentName, message) method.
The message gets delivered fine, but how can the recipient tell whether this
message was sent explicitly to it, or was broadcast generally to the whole
group? I could not find a way other than encoding this data into the message
byte array itself.

Thanks
-Jerry