Versions Compared

Key

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

Sequencer is used to Generate a sequence to the messages and send them to outputport based on Retention DurationNotification Interval,Resequence Interval and Sequence type.In a Multithreaded environment the messages are not guaranteed to reach the output in the order of their arrival.Sequencer can be used to to guarantee the output reaching in the order of their arrival to the output port.

The generation of the sequence could be Continuous and NON-continuous as well.

Configuration

Image RemovedImage Added

Sequencer Mode:it has two options  Generate and Resequence.The first option is used to generate a sequence starting  from the given Initial Sequence Number .Resequence sorts all the messages as it is stored in the sorted map,hence they appear in the order of their arrival.This is most useful in Multithreaded environment.

Sequence Holder Property is the property by  which the messages are compared.

Retention DurationNotification Interval: Duration for which the message is retained in the component.

...

Sequence Numbering on Component Restart: Previous runcount will be considered if Continue from previous run is choosen,else the run count is started from initial Sequence number set in the cps.

Note

Retention DurationNotification IntervalResequence Interval,Sequence Type  is not applicable for Generate Sequencer Mode.

...

Configure component as shown in Figure 1. Using Feeder send input messages and it can be observed that received messages have different Sequence_id generated continuously.

Sample Output

Useful Tips

  • Retention DurationNotification IntervalResequence Interval,Sequence Type  properties appear only on selection of Resequence from Sequencer Mode.
  • Sequence Holder Property and Table Name Prefix values cannot be left empty.

...

Adaptavist ThemeBuilder EngineAtlassian Confluence