Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following option is set in the rejection reply message to indicate that EJM has rejected the initiation of the task specified by the control message. For example, the control message may be syntactically invalid or an input file may not exist.

Code Block
languagexml
<isNegative>true</isNegative>

Example:  Rejection (NACK) Message

The following is an example of a rejection message.

Code Block
languagexml
<EagleML
eaglemlVersion="2-0"
eaglemlType="TaskAcknowledgement"
xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd"
xsi:type="TaskAcknowledgement"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0">
      <header>
            <messageId>1BATYBL1WDIZPIZK</messageId>
            <sentBy>http://www.eagleinvsys.com/</sentBy>
            <sendTo>www.client.com</sendTo>
            <creationTimestamp>2013-10-21T15:03:21-05:00</creationTimestamp>
      </header>
      <taskIdentifier>
            <correlationId>asc_run_sched_002_DUP1</correlationId>
            <businessTaskId>asc_run_sched</businessTaskId>
      </taskIdentifier>
      <isNegative>true</isNegative>
      <reason>
            <reasonTypeEnum>ERROR</reasonTypeEnum>
            <reasonCode>1</reasonCode>
            <description>Attempt to insert duplicate correlation ID 'asc_run_sched_002'. The value has been adjusted to 'asc_run_sched_002_DUP1;.</description>
      </reason>
</EagleML>