This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<os:contains id="#[userId]" objectStore="tokensStore" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@OnException(SalesforceSessionExpiredExceptionSalesforceSocketConnectionExceptionEnricher.class) | |
@OutputResolver(output = ApexSoapMetadataCategoryResolver.class) | |
public XMLStreamReader invokeApexSoapMethod(@Connection AbstractConfig connection, | |
@DisplayName("Apex Class Method Name") @MetadataKeyId(ApexSoapMetadataCategoryResolver.class) String soapMethodName, | |
@Content @TypeResolver(ApexSoapMetadataCategoryResolver.class) XMLStreamReader input) | |
throws SalesforceException, SoapCallException { | |
SalesforceConnector connector = new SalesforceConnector(); | |
connector.setConfig(connection); | |
connector.initialize(); | |
// TODO: Accessing the Message or Event is no longer permitted in SDK operations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public XMLStreamReader invokeApexSoapMethod(String soapMethodName, XMLStreamReader input, MuleEvent event) { | |
... | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="useTheForceBatch"> | |
<http:listener path="/forceWielders" config-ref="forceListener" /> | |
<batch:job name="forceJob"> | |
.... | |
</batch:job> | |
</flow> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<batch:job name="forceJob"> | |
<batch:input> | |
<http:listener path="/forceWielders" config-ref="forceListener" /> | |
<ee:transform> | |
<ee:message> | |
<ee:set-payload><![CDATA[%dw 2.0 | |
output application/java | |
--- | |
payload | |
}]]></ee:set-payload> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "Luke Skywalker", | |
"darkSide": true | |
}, | |
{ | |
"name": "Ben Solo", | |
"darkSide": true | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[recordVars[‘foo’]] -> #[vars.foo] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[failureExceptionForStep('step1')] -> #[Batch::failureExceptionForStep('step1')] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<batch:aggregator size="100"> | |
<foreach> | |
<script:execute engine="groovy"> | |
<script:code> | |
vars['id'] = 'someValue' | |
</script:code> | |
</script:execute> | |
</foreach> | |
</batch:aggregator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<batch:commit size="100"> | |
<foreach> | |
<expression-component> | |
record.recordVars['id'] = 'someValue' | |
</expression-component> | |
</foreach> | |
</batch:commit> |