Annotation Type SubscribeTo


@Documented @Retention(RUNTIME) @Target(PARAMETER) public @interface SubscribeTo
This annotation is put onto one parameter of a method to indicate that this method should be called whenever a Topic sends a message. Any class that is to receive topic messages must have the MessageReceiver qualifier on it as well as use this annotation to mark the specific method to be injected into

There may be only one parameter of the method annotated with this annotation. All of the other parameters of the method are normal injection points