Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
{snippet:id=content-based-router|lang=xml|url=servicemix/smx3/trunk/deployables/serviceenginescomponents/engines/servicemix-eip/trunk/src/test/resources/org/apache/servicemix/eip/spring.xml}

...

Wiki Markup
{snippet:id=message-filter|lang=xml|url=servicemix/smx3components/trunk/deployablesengines/serviceengines/servicemix-eip/trunk/src/test/resources/org/apache/servicemix/eip/spring.xml}

...

Wiki Markup
{snippet:id=pipeline|lang=xml|url=servicemix/smx3/trunk/deployables/serviceenginescomponents/engines/servicemix-eip/trunk/src/test/resources/org/apache/servicemix/eip/spring.xml}

...

Wiki Markup
{snippet:id=static-recipient-list|lang=xml|url=servicemix/smx3/trunk/deployables/serviceenginescomponents/engines/servicemix-eip/trunk/src/test/resources/org/apache/servicemix/eip/spring.xml}

...

Wiki Markup
{snippet:id=static-routing-slip|lang=xml|url=servicemix/smx3/trunk/deployables/serviceenginescomponents/engines/servicemix-eip/trunk/src/test/resources/org/apache/servicemix/eip/spring.xml}

...

Wiki Markup
{snippet:id=wire-tap|lang=xml|url=servicemix/smx3components/trunk/deployablesengines/serviceengines/servicemix-eip/trunk/src/test/resources/org/apache/servicemix/eip/spring.xml}

...

Wiki Markup
{snippet:id=xpath-splitter|lang=xml|url=servicemix/smx3components/trunkengines/deployables/serviceengines/servicemix-eip/trunk/src/test/resources/org/apache/servicemix/eip/spring.xml}

...

Wiki Markup
{snippet:id=split-aggregator|lang=xml|url=servicemix/smx3components/trunkengines/deployables/serviceengines/servicemix-eip/trunk/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
xml
xml
<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/smx3components/trunkengines/deployables/serviceengines/servicemix-eip/trunk/src/test/resources/org/apache/servicemix/eip/spring.xml}

...