|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.model.OptionalIdentifiedType<Type>
org.apache.camel.model.ProcessorType<ProcessorType>
org.apache.camel.model.ResequencerType
public class ResequencerType
Represents an XML <resequencer/> element
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.model.ProcessorType |
|---|
DEFAULT_TRACE_CATEGORY |
| Fields inherited from class org.apache.camel.model.OptionalIdentifiedType |
|---|
nodeCounters |
| Constructor Summary | |
|---|---|
ResequencerType()
|
|
ResequencerType(List<Expression> expressions)
|
|
| Method Summary | |
|---|---|
void |
addRoutes(RouteContext routeContext,
Collection<Route> routes)
|
ResequencerType |
batch()
Configures the batch-based resequencing algorithm using the default configuration. |
ResequencerType |
batch(BatchResequencerConfig config)
Configures the batch-based resequencing algorithm using the given BatchResequencerConfig. |
protected Resequencer |
createBatchResequencer(RouteContext routeContext,
BatchResequencerConfig config)
|
Processor |
createProcessor(RouteContext routeContext)
|
protected StreamResequencer |
createStreamResequencer(RouteContext routeContext,
StreamResequencerConfig config)
|
ResequencerType |
expression(ExpressionType expression)
|
BatchResequencerConfig |
getBatchConfig()
|
BatchResequencerConfig |
getBatchConfig(BatchResequencerConfig defaultConfig)
|
List<ExpressionType> |
getExpressions()
|
String |
getLabel()
Returns a label to describe this node such as the expression if some kind of expression node |
List<ProcessorType<?>> |
getOutputs()
|
String |
getShortName()
Returns a short name for this node which can be useful for ID generation or referring to related resources like images |
StreamResequencerConfig |
getStreamConfig()
|
void |
setBatchConfig(BatchResequencerConfig batchConfig)
|
void |
setOutputs(List<ProcessorType<?>> outputs)
|
void |
setStreamConfig(StreamResequencerConfig streamConfig)
|
ResequencerType |
stream()
Configures the stream-based resequencing algorithm using the default configuration. |
ResequencerType |
stream(StreamResequencerConfig config)
Configures the stream-based resequencing algorithm using the given StreamResequencerConfig. |
String |
toString()
|
| Methods inherited from class org.apache.camel.model.OptionalIdentifiedType |
|---|
createId, description, description, getDescription, getId, getNodeCounter, id, idOrCreate, setDescription, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResequencerType()
public ResequencerType(List<Expression> expressions)
| Method Detail |
|---|
public String getShortName()
OptionalIdentifiedType
getShortName in class OptionalIdentifiedType<ProcessorType>public ResequencerType stream()
this instance.public ResequencerType batch()
this instance.public ResequencerType stream(StreamResequencerConfig config)
StreamResequencerConfig.
this instance.public ResequencerType batch(BatchResequencerConfig config)
BatchResequencerConfig.
this instance.public ResequencerType expression(ExpressionType expression)
public String toString()
toString in class Objectpublic String getLabel()
ProcessorType
getLabel in class ProcessorType<ProcessorType>public List<ExpressionType> getExpressions()
public List<ProcessorType<?>> getOutputs()
getOutputs in class ProcessorType<ProcessorType>public void setOutputs(List<ProcessorType<?>> outputs)
public BatchResequencerConfig getBatchConfig()
public BatchResequencerConfig getBatchConfig(BatchResequencerConfig defaultConfig)
public StreamResequencerConfig getStreamConfig()
public void setBatchConfig(BatchResequencerConfig batchConfig)
public void setStreamConfig(StreamResequencerConfig streamConfig)
public Processor createProcessor(RouteContext routeContext)
throws Exception
createProcessor in class ProcessorType<ProcessorType>Exception
public void addRoutes(RouteContext routeContext,
Collection<Route> routes)
throws Exception
addRoutes in class ProcessorType<ProcessorType>Exception
protected Resequencer createBatchResequencer(RouteContext routeContext,
BatchResequencerConfig config)
throws Exception
Exception
protected StreamResequencer createStreamResequencer(RouteContext routeContext,
StreamResequencerConfig config)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||