*/
public void handleEvent(Event event) {
try {
//System.out.println(getName() + " recived an event");
TopicPermission permissionAquired
= new TopicPermission((String)event.getProperty
(EventConstants.EVENT_TOPIC),"subscribe");
TopicPermission actualPermission
= new TopicPermission("com/acme/*","subscribe");
assertTrue(getName() +"Should not recevice this topic:"
+(String)event.getProperty(EventConstants.EVENT_TOPIC),
actualPermission.implies(permissionAquired));
Object message;
/* try to get the message */
message = event.getProperty("Synchronus message");
/* check if message is null */