Skip to content

How do I add raise_fault_policy in apiman 3.1.1 #2508

Answered by msavy
zumikavvayi asked this question in Help
Discussion options

You must be logged in to vote

chain.doFailure

Example:

IPolicyFailureFactoryComponent failureFactory = context.getComponent(IPolicyFailureFactoryComponent.class);
PolicyFailure failure = failureFactory.createFailure(...);
chain.doFailure(failure);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ronimhd
Comment options

@msavy
Comment options

Answer selected by msavy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants