public class AssetConsumerPublisher extends Object
| Constructor and Description |
|---|
AssetConsumerPublisher(Connection assetConsumerOutTopic,
OMRSAuditLog auditLog)
The constructor is given the connection to the out topic for Asset Consumer OMAS
along with classes for testing and manipulating instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
publishNewAssetEvent(NewAssetEvent event)
Output a new asset event.
|
void |
publishUpdatedAssetEvent(UpdatedAssetEvent event)
Output an updated asset event.
|
public AssetConsumerPublisher(Connection assetConsumerOutTopic, OMRSAuditLog auditLog) throws OMAGConfigurationErrorException
assetConsumerOutTopic - connection to the out topicauditLog - log file for the connector.OMAGConfigurationErrorExceptionpublic void publishNewAssetEvent(NewAssetEvent event)
event - event to sendpublic void publishUpdatedAssetEvent(UpdatedAssetEvent event)
event - event to send.Copyright © 2018–2019 ODPi. All rights reserved.