public interface MessageSubscription
Modifier and Type | Method and Description |
---|---|
String |
getResourceTypeId() |
List<String> |
getTypes() |
static MessageSubscription |
of(String resourceTypeId)
Creates a message subscription for all message types of the given resource type.
|
static MessageSubscription |
of(String resourceTypeId,
List<String> types)
Creates a message subscription for the given messages types of the given resource type.
|
String getResourceTypeId()
static MessageSubscription of(String resourceTypeId)
resourceTypeId
- the resource type idstatic MessageSubscription of(String resourceTypeId, List<String> types)
resourceTypeId
- the resource type idtypes
- the message type ids