...
Wiki Markup |
---|
{snippet:id=content-based-router|lang=xml|url=servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/resources/org/apache/servicemix/eip/spring.xml} |
...
Wiki Markup |
---|
{snippet:id=message-filter|lang=xml|url=servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/resources/org/apache/servicemix/eip/spring.xml} |
...
Wiki Markup |
---|
{snippet:id=pipeline|lang=xml|url=servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/resources/org/apache/servicemix/eip/spring.xml} |
...
Wiki Markup |
---|
{snippet:id=static-recipient-list|lang=xml|url=servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/resources/org/apache/servicemix/eip/spring.xml} |
...
Wiki Markup |
---|
{snippet:id=static-routing-slip|lang=xml|url=servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/resources/org/apache/servicemix/eip/spring.xml} |
...
Wiki Markup |
---|
{snippet:id=wire-tap|lang=xml|url=servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/resources/org/apache/servicemix/eip/spring.xml} |
...
Wiki Markup |
---|
{snippet:id=xpath-splitter|lang=xml|url=servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/resources/org/apache/servicemix/eip/spring.xml} |
...
Wiki Markup |
---|
{snippet:id=split-aggregator|lang=xml|url=servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/resources/org/apache/servicemix/eip/spring.xml} |
...
For comparing elements of a sequence the resequencer component can be configured with a sequence element comparator. A default comparator is provided that compares message exchanges based on Long
sequence numbers. This comparator expects the sequence number to be the value of the org.apache.servicemix.eip.sequence.number
property of the exchanges's in
-NormalizedMessage. The name of the property can be customized in the comparator configuration (see below). You may also provide a custom comparator by implementing the SequenceElementComparator interface.
Code Block | ||||
---|---|---|---|---|
| ||||
<eip:resequencer service="sample:Resequencer" endpoint="ResequencerEndpoint" comparator="#comparator" capacity="100" timeout="2000"> <eip:target> <eip:exchange-target service="sample:SampleTarget" /> </eip:target> </eip:resequencer> <!-- Configure default comparator with custom sequence number property --> <eip:default-comparator id="comparator" sequenceNumberKey="seqnum"/> |
...
Wiki Markup |
---|
{snippet:id=namespace-context|lang=xml|url=servicemix/smx3/trunk/deployables/serviceengines/servicemix-eip/src/test/resources/org/apache/servicemix/eip/spring.xml} |
...