public class PostPublishUtility
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Define the CLASSNAME.
|
Modifier and Type | Method and Description |
---|---|
void |
propagateData(java.lang.String data,
java.lang.String dataTopicId,
java.sql.Connection connection)
propagates the post-publish data to production server, where any data processors that subscribe to
the data topic will be notified to process the data.
|
static PostPublishUtility |
singleton()
returns the singleton of the PostPublishUtility.
|
public static PostPublishUtility singleton()
public void propagateData(java.lang.String data, java.lang.String dataTopicId, java.sql.Connection connection) throws ECException
data
- string data object.dataTopicId
- data topic ID. It should be defined in the post-publish configuration file.connection
- the jdbc database connection to the database on production server.ECException
- a problem occurs when propagating the data.