Versions Compared

Key

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

...

By default, the targetURI is used as the operation. This can be changed by providing an optional ExtCallComponentParams.EXTERNAL_CALL_OPERATION exchange property. The targetURI will still be the URI that is called, if the external call is not skipped, but the duplicate/obsolete protection logic will use the ExtCallComponentParams.EXTERNAL_CALL_OPERATION value for checking, if the call should be made or skipped.

...

Explanation

  • two external systems are called during message processing
  • there are two extcall's stops to which we can return during processing
  • if error occurres 
    • before first request to external system 1 then then next processing try will start from the beginning, same as new message arrives
    • during communication with external system 2 then next processing try will start from extcall1
    • after successful response from external system 2 then next processing try will start from extcall2

Example

Code Block
.to("extcall:message:direct:printGreeting")
.to("extcall:custom:direct:printGreeting")