asynch-child

Component creates new asynchronous message.

New messages can be created from asynchronous and even from synchronous messages (binding type will be SOFT for this case).

Current message body will be body of new asynch. message.

URI format

asynch-child:service:operation[?options]

where service is service name (e.g. customer) and operation is operation name (e.g. createCustomer).

Options

ParameterDefaultDescription
correlationIdnull

Unique message ID. If not defined then ID is generated with UUID.randomUUID().

sourceSystemnull

Source system (e.g. CRM). If not defined then default value IP (internal integration platform) is used.

bindingType

HARD

Binding type defines how tightly child message does influence parent message:

  • HARD: result of child message influences result of parent message (for example when child message ends in FAILED state then parent message will in FAILED state too)
  • SOFT: result of child message has no effect to parent message
objectIdnull

Object ID which is impacted by this message. For example when we change customer object then this is customer ID.

funnelValuenull

This value is used in detection of concurrent messages which impact identical target object.

Parameter is specific for msg-funnel component use.

Examples

asynch-child:customer:createCustomer
asynch-child:customer:createCustomer?bindingType=HARD&correlationId=566&sourceSystem=CRM