C - the consumer properties typeP - the producer properties typepublic interface ProvisioningProvider<C extends ConsumerProperties,P extends ProducerProperties>
| Modifier and Type | Method and Description |
|---|---|
ConsumerDestination |
provisionConsumerDestination(String name,
String group,
C properties)
Creates the middleware destination on the physical broker for the consumer to
consume data.
|
ProducerDestination |
provisionProducerDestination(String name,
P properties)
Creates middleware destination on the physical broker for the producer to send
data.
|
ProducerDestination provisionProducerDestination(String name, P properties) throws ProvisioningException
name - the name of the producer destinationproperties - producer propertiesProducerDestination that represents a producerProvisioningException - on underlying provisioning errors from the middlewareConsumerDestination provisionConsumerDestination(String name, String group, C properties) throws ProvisioningException
name - the name of the destinationgroup - the consumer groupproperties - consumer propertiesConsumerDestination that represents a consumerProvisioningException - on underlying provisioning errors from the middlewareCopyright © 2018 Pivotal Software, Inc.. All rights reserved.