public interface Publisher<T>
| Modifier and Type | Method and Description |
|---|---|
int |
getInitialRetryCount()
The initial retry count for messages sent by this publisher.
|
void |
publish(String tenantId,
List<T> items)
This method publishes the list of items.
|
void |
publish(String tenantId,
List<T> items,
int retryCount,
long delay)
This method publishes the list of items.
|
int getInitialRetryCount()
void publish(String tenantId, List<T> items) throws Exception
tenantId - The tenantitems - The list of itemsException - Failed to publishCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.