|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ProviderEndpoint
org.apache.servicemix.eip.EIPEndpoint
org.apache.servicemix.eip.support.AbstractContentBasedRouter
org.apache.servicemix.eip.patterns.ContentBasedRouter
public class ContentBasedRouter
ContentBasedRouter can be used for all kind of content-based routing. This component implements the Content-Based Router pattern.
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.eip.EIPEndpoint |
|---|
lockManager, store, storeFactory, timerManager, wsdlExchangeTarget, wsdlResource |
| Fields inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint |
|---|
logger |
| Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
|---|
definition, description, endpoint, interfaceName, service, serviceUnit |
| Constructor Summary | |
|---|---|
ContentBasedRouter()
|
|
| Method Summary | |
|---|---|
protected ExchangeTarget |
getDestination(javax.jbi.messaging.MessageExchange exchange)
Find the target destination for the given JBI exchange |
RoutingRule[] |
getRules()
|
void |
setRules(RoutingRule[] rules)
The list of routing rules. |
void |
validate()
|
| Methods inherited from class org.apache.servicemix.eip.support.AbstractContentBasedRouter |
|---|
isForwardOperation, processAsync, processSync, setForwardOperation |
| Methods inherited from class org.apache.servicemix.common.endpoints.ProviderEndpoint |
|---|
activate, deactivate, getRole, processInOnly, processInOut |
| Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint |
|---|
done, fail, getChannel, getContext, getExchangeFactory, send, sendSync |
| Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
|---|
getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContentBasedRouter()
| Method Detail |
|---|
public RoutingRule[] getRules()
public void setRules(RoutingRule[] rules)
rules - The rules to set.
public void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class AbstractContentBasedRouterjavax.jbi.management.DeploymentException
protected ExchangeTarget getDestination(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
getDestination in class AbstractContentBasedRouterexchange -
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||