publish method

dynamic publish(
  1. MigratoryDataMessage message
)

Publish a message.

If the message includes a closure, then a status notification will be provided via \link MigratoryDataListener.onStatus() \endlink to inform whether the message publication has been successful or not.

\param message a MigratoryDataMessage message

Implementation

publish(MigratoryDataMessage message) {
  clientImpl.publish(message);
}