I am trying to filter my channel messaging with blazeDS so that it only gets 
read by 
specific clients, but it doesn't seem to be working as expected.

Here's what I'm doing.  In flex:

var id:String = "someValue";
consumer.selector = "ID = '"+id+"'";

And in java I do this to pass the message:

String clientID = UUIDUtils.createUUID();
                 message = new AsyncMessage(); 
         message.setDestination("factory");
                 message.setClientId(clientID);
                 message.setMessageId(UUIDUtils.createUUID());
                 message.setTimestamp(System.currentTimeMillis());
                 message.setHeader("ID", item.getID());
message.setBody(data);
service.pushMessageToClients(message, false);

But the flex app is still getting info from all of the messages sent, not just 
those where I 
set the ID to it's id in the header.  How can I get this to work?

                                           


Reply via email to