@Documented
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface Subscription
MessageReceiver
that is bound to the annotated method.Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The name of the subscription, it could be a simple name such as "animals" or
a FQN such as
projects/<project_name>/subscriptions/<subscription_name> . |
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
configuration
Defines the name of a particular configuration used for a Subscriber.
|
java.lang.String |
contentType
Defines the Content-Type to be used for message deserialization.
|
public abstract java.lang.String value
projects/<project_name>/subscriptions/<subscription_name>
.