Interface BaseRoutingComponent<T>
-
- All Superinterfaces:
Stage
- All Known Subinterfaces:
DocumentRoutingComponent
,MessageRoutingComponent
public interface BaseRoutingComponent<T> extends Stage
Indicates that the implementor returns values to populate aWorkflowQueue
.Classes implementing this interface expose themselves to topology based features that require special processing for endpoint values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getRoutingKey(T t)
Process a message and return the key to use for routing to a workflow.
-
-
-
Method Detail
-
getRoutingKey
java.lang.String getRoutingKey(T t)
Process a message and return the key to use for routing to a workflow.This routing key will reference a workflow configured in the "routingMap" configured for the component. If this key is not specified in the "routingMap", the workflow specified in the "routingMapElse" property will be used instead.
-
-