Package org.chenile.proxy.interceptors
Class ProxyTypeRouter
- All Implemented Interfaces:
AttachableCommand<ChenileExchange>,BypassableCommand<ChenileExchange>,Command<ChenileExchange>,OrchestrationAware<ChenileExchange>
Returns the correct route based on if the service is local or remote
- Author:
- Raja Shankar Kolluru
-
Field Summary
FieldsFields inherited from class org.chenile.owiz.impl.Router
commandsMap, DEFAULT, defaultCommandDescriptor, ROUTEFields inherited from class org.chenile.owiz.impl.CommandBase
commandDescriptor, orchConfigurator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate StringcomputeDynamic(ChenileExchange exchange) protected StringcomputeRoutingString(ChenileExchange exchange) private StringproxyMode(ChenileExchange exchange) Methods inherited from class org.chenile.owiz.impl.Router
attachCommand, doExecuteMethods inherited from class org.chenile.owiz.impl.CommandBase
bypass, execute, getConfigValue, getId, getParentId, obtainCommand, postprocess, preprocess, setCommandDescriptor, setOrchConfigurator
-
Field Details
-
chenileConfiguration
-
-
Constructor Details
-
ProxyTypeRouter
public ProxyTypeRouter()
-
-
Method Details
-
computeRoutingString
- Specified by:
computeRoutingStringin classRouter<ChenileExchange>- Throws:
Exception
-
proxyMode
-
computeDynamic
-