Annotation Interface OneOfRoutesOutputChainResolver


@Target(METHOD) @Retention(RUNTIME) @Documented @MinMuleVersion("4.8.0") @DoNotEnforceMinMuleVersion @Experimental public @interface OneOfRoutesOutputChainResolver
Applied to router components, specifies to the DataSense engine that the payload/attributes types that will exit the owning router component is the union of the payload/attributes of each route in the router. This symbolizes that the result will be the output of (any) one of the routes.

This can be considered as a shortcut of a OutputTypeResolver that returns an UnionType with the types from each of the routes.

NOTE: Experimental feature. Backwards compatibility is not guaranteed.

Since:
0.10.0