Annotation Type Subscription
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface SubscriptionRepresents a PubSub subscription. Methods annotated with this annotation will be invoked when a new message is received by aMessageReceiverthat is bound to the annotated method.- Since:
- 2.0
- Author:
- Vinicius Carvalho
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe name of the subscription, it could be a simple name such as "animals" or a FQN such asprojects/<project_name>/subscriptions/<subscription_name>.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringconfigurationDefines the name of a particular configuration used for a Subscriber.java.lang.StringcontentTypeDefines the Content-Type to be used for message deserialization.
-