Troubleshooting
Problem
Input XML template for getJobs (change in behavior)
Symptom
Any agent or integration server which uses the getJobs method to pick up messages from the queue, the input XML has main element as <Message> and two sub elements <MessageXml> and <LastMessage>. Refer to the sample below:
<Message FlowName="PURGE" TransactionKey="PURGE">
<AgentDetails>
<MessageXml Action="Get" CollectPendingJobs="N"
Live="Y" </div> <div>NumRecordsToBuffer="5000" PurgeCode="ORDERPRG"/>
</AgentDetails>
<LastMessage LastMessagesAdded="1">
<TaskQueue DocumentType="0001" LeadDays="0" Live="Y" </div>
<div>PurgeCode="ORDERPRG" TaskQKey="2009100817334212058">
<TransactionFilters Action="Get" CollectPendingJobs="N" </div>
<div>DocumentParamsKey="0001" DocumentType="0001" Live="Y" </div>
<div>NumRecordsToBuffer="5000" </div> <div>ProcessType="ORDER_FULFILLMENT"
</div> <div>ProcessTypeKey="ORDER_FULFILLMENT" PurgeCode="ORDERPRG" </div>
<div>TransactionId="PURGE" TransactionKey="PURGE"/>
</TaskQueue>
</LastMessage>
</Message>
In
the MCF 8.0 and below, the javadocs for YCPBaseAgent mentioned that
<LastMessage> element is a part of <MessageXml>.
Error Message
NA
Resolving The Problem
This is a documentation defect and has been fixed in MCF 8.5 and above.
Note that application behavior has not changed and that only documentation
has been modified to depict correct application behavior.
Please refer java docs for YCPBaseAgent in MCF8.5 for more details.
[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Historical Number
NFX10516
Product Synonym
[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21556806