Skip to content

Can custom scripting possible in microcks to implement some business logics #988

Answered by lbroudoux
Athira31 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes sure!

You may want to look at SCRIPT dispatcher to implement business logic and then put the result into requestContext. Then you can use request context expression when expressing your response using a template. That way you may re-inject the result of business logic computation into the response.

Hope it helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lbroudoux
Comment options

Answer selected by lbroudoux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment