@PubSubListener public class SimpleSubscriber extends java.lang.Object
Constructor and Description |
---|
SimpleSubscriber() |
Modifier and Type | Method and Description |
---|---|
void |
onMessage(Animal animal) |
void |
onMessageEU(Animal animal) |
@Subscription(value="animals") public void onMessage(Animal animal)
@Subscription(value="projects/eu-project/subscriptions/animals") public void onMessageEU(Animal animal)