ReSubmitSubXmlDoc

Mon 01 January 2018

Syntax

ReSubmitSubXmlDoc(PubID, PubNode, ChannelName, VersionName, MessageName, SubscriptionName[, Segment])

Description

Use the ReSubmitSubXmlDoc function to programmatically resubmit a message, much the same as you can do in the message monitor. This function resubmits the corresponding subscription contract.

Note: This function has been deprecated and remains for backward compatibility only. Use the IntBroker class Resubmit method instead.

You may want to use this method after an end user has finished fixing any errors in the message data, and you want to resubmit the message, rerunning the subscription PeopleCode.

The function is only available when the message has one of the following statuses:

  • Error

  • Timeout

  • Edited

  • Canceled

Parameters

Field or Control

Definition

PubID

Specify the PubID as a number.

PubNode

Specify the Pub node as a string.

ChannelName

Specify the channel name as a string.

VersionName

Specify the version name as a string.

MessageName

Specify the name of the message as a string.

SubscriptionName

Specify the name of the subscription as a string.

Segment

Specify an integer representing which segment you want to access. The default value is one, which means that if you do not specify a segment, the first segment is accessed.

Returns

A Boolean value: True if function completed successfully, False otherwise.