Base ActorStream implementation using introspection and {@link com.caucho.bam.Message @Message} annotations to simplifyActor development.
Message Handling
To handle a message, create a method with the proper signature for the expected payload type and annotate it with {@link com.caucho.bam.Message @Message}. To send a response message or query, use
getBrokerStream()
or
getClient()
.
@Message public void myMessage(String to, String from, MyPayload payload);