pub.publish:syncToBroker
WmPublic.
Deprecated - Replaced by
pub.publish:syncToProvider.
Synchronizes one or more publishable document types with the corresponding Broker document types by pushing the publishable document types towebMethods Broker.
Note: | This service can be used to synchronize publishable document types for which the Connection alias name property is a Broker connection alias only. |
Input Parameters
documentTypes | String List Fully qualified names of the publishable document types to synchronize with their associated provider definition. |
Output Parameters
successfulPDTs | String List Conditional. Fully qualified names of the publishable document types that Integration Server updated successfully on the provider. The service only produces this output parameter if one or more publishable document types updated successfully. |
unsuccessfulPDTs | String List Conditional. Fully qualified names of the publishable document types that Integration Server did not update successfully on the provider. The service only produces this output parameter if one or more publishable document types did not update successfully. |
errors | Document List Conditional. Lists any errors that occurred during document type synchronization. |
warnings | Document List Conditional. Lists any warnings that occurred during document type synchronization. |
Usage Notes
You can use pub.publish:syncToBroker as a start up service for a package to avoid using Software AG Designer to synchronize document types.
You can use the
pub.publish:syncToBroker service with
Broker only. The use of
pub.publish:syncToBroker with
Universal Messaging is not supported. Use
pub.publish:syncToProvider or
Designer to synchronize publishable document types with corresponding provider definitions (channels) on
Universal Messaging.
The Connection alias name property for a document type specifies the messaging connection alias assigned to the document type which indicates the provider to which a document type will be pushed.
If the documentTypes parameter contains document types that are not publishable or do not exist, Integration Server lists the errors in the errors parameter.