Posts

Showing posts from 2022

checking system exception properties in router in cpi, unknown , if known it easy filter system and application errors

Image
  Om  first need to check odata 1) which raise structure related problem, ex: sending double values instead string. ${exception.message} check this in router ; as below( if any words like BAD) 2) this plant is not found in SAP ( Applicatoin) related. see the xml output ; xpath ; captcher error You can get more details on exception using  ${exception.message}  or  ${exception.stacktrace} .

SAP CPI camel conditions and xpath conditions

  ------------------------------------ Context You perform this task when you have to specify conditions based on which the messages are routed to a receiver or an interface during runtime. If the message contains XML payload, you form expressions using the XPath-supported operators. If the message contains non-XML payload, you form expressions using the operators shown in the table below: Usage of Operators in Non-XML Conditions Operator Example = ${header.SenderId} = '1' != ${header.SenderId} != '1' > ${header.SenderId} > '1' >= ${header.SenderId} >= '1' < ${header.SenderId} < '1' <= ${header.SenderId} <= '1' and ${header.SenderId}= '1' and ${header.ReceiverId} = '2' or ${header.SenderId}= '1' or ${header.ReceiverId}= '2' contains ${header.SenderId} contains '1' not contains ${header.SenderId} not contains '1' in ${header.SenderId} in '1,...