Class EsbPublishAction
java.lang.Object
com.kingsrook.qqq.backend.core.actions.AbstractQActionFunction<EsbPublishInput,EsbPublishOutput>
com.kingsrook.qqq.esb.publish.EsbPublishAction
Explicitly publish one event, with a caller-supplied type and data, to an ESB
destination (spec section 5) - callable from any process step or other code.
The event's source is qqq://instanceName/sourcePath (see EsbPublishInput),
and its causation id is the current EsbCausation id, as for every event QQQ
publishes. It is sent right away (not after any transaction's commit).
Never throws: a missing type, an unknown destination, a broker that is down,
and so on, are logged, counted as a publish failure, and returned in the
output (see EsbPublisher) - so a failed publish never fails its caller.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.kingsrook.qqq.backend.core.actions.AbstractQActionFunction
executeAsync
-
Constructor Details
-
EsbPublishAction
public EsbPublishAction()
-
-
Method Details
-
execute
- Specified by:
executein classAbstractQActionFunction<EsbPublishInput,EsbPublishOutput>
-