--------------------- Using Camel Simple Expression Language Cloud Integration supports a subset of the expressions defined in Camel Simple Expression Language (see https://camel.apache.org/components/next/languages/simple-language.html ). You can use Camel Simple Expression Language when configuring the following components: Components that Support Camel Simple Expression Language Component Use Camel Simple Expression to ... More Information Content modifier Define: Message body Message header Exchange property ( Type parameter set to Expression ) Define Content Modifier Write variables Define a variable. ( Type parameter set to Expression ) Define Write Variables Router Define a routing condition. ( Expression Type parameter set to Non-XML ) Define Router Content filter Define conditions for XPath elements. To review some examples, see Examples . Define Filter Expressions Supported by Content Modifier and Write Variabl...
------------------------------------ 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,...
To integrate SAP API Management (APIM) with SAP Cloud Platform Integration (CPI) using Basic Authentication to obtain a token and subsequently call a CPI iFlow, follow these steps: 🔐 Step 1: Obtain OAuth Token via Basic Authentication Create an API Proxy in SAP APIM : Define a POST resource (e.g., /token ) in your API proxy. Configure OAuthV2 Policy : In the policy editor, add the following policy to generate an access token using the client credentials grant type: xml Copy Edit < OAuthV2 async = "false" continueOnError = "false" enabled = "true" xmlns = "http://www.sap.com/apimgmt" > < Operation >GenerateAccessToken </ Operation > < GenerateResponse /> < SupportedGrantTypes > < GrantType >client_credentials </ GrantType > </ SupportedGrantTypes > </ OAuthV2 > This setup allows clients to obtain an OAuth token by providing their client ID and s...