due to jboss bug:
http://jira.jboss.com/jira/browse/JBAS-65
which is shared details with:
http://jira.jboss.com/jira/browse/JBJCA-6
should be fixed as i understand in jboss 4.0.3 final
when we insert selection string in the <message-
selector> tag on topic (<message-
selector>agent_name='mon2'</message-selector>) ,
no metter what the selection is i get the message.
in Queue it seem to work fine.
till this is fixed in jboss i can't test this.