public interface SourcePolicyParametersTransformer
Message
. Such transformation is used to be able to execute the policy pipeline and handle the information to be sent by
the operation or modify it.Modifier and Type | Method and Description |
---|---|
Message |
fromFailureResponseParametersToMessage(Map<String,Object> parameters)
Transforms a set of parameters from the failure response function to a message that can be route through the policy pipeline.
|
Map<String,Object> |
fromMessageToErrorResponseParameters(Message message)
Transforms the output of the source policy pipeline when it's execution failed to the set of parameters to be sent by the
failure response function of the message source.
|
Map<String,Object> |
fromMessageToSuccessResponseParameters(Message message)
Transforms the output of the source policy pipeline to the set of parameters to be sent by the successful response function
of the message source.
|
Message |
fromSuccessResponseParametersToMessage(Map<String,Object> parameters)
Transforms a set of parameters to a message that can be route through the policy pipeline.
|
boolean |
supports(ComponentIdentifier componentIdentifier) |
boolean supports(ComponentIdentifier componentIdentifier)
componentIdentifier
- the operation identifier.Message fromSuccessResponseParametersToMessage(Map<String,Object> parameters)
Message
.parameters
- resolved set of parameters to be processed by the operation.Message
with all the useful content of the parameters.Message fromFailureResponseParametersToMessage(Map<String,Object> parameters)
Message
.parameters
- resolved set of parameters to be processed by the operation.Message
with all the useful content of the parameters.Map<String,Object> fromMessageToSuccessResponseParameters(Message message)
message
- the output message from the policy source pipeline.Map<String,Object> fromMessageToErrorResponseParameters(Message message)
message
- the output message from the policy source pipeline.Copyright © 2018. All rights reserved.