[resolved] How to use the Camel Resequencer

One Star

[resolved] How to use the Camel Resequencer

Hello,
I have queue with messages I need to reorder (of course they are already in a group and with a sequence, but the order can be 2, 1, 4, 3) . I am using a route with a cJMS.
I would like to use the camel resequencer something like:
from("direct:start")
    .resequence(header("seqnum")).stream(new StreamResequencerConfig(5000, 4000L))
    .to("mock:result")
I did try to design a route to be able to use it but was not able to do so.
My question is how I use a Camel resequencer? (as described in http://camel.apache.org/resequencer.html)
Thanks in advance,
Best Regards,
Francois
One Star

Re: [resolved] How to use the Camel Resequencer

François,
I don't think this is possible inside the studio.
What you can do is like you did in Camel/Java.(Develop it with studio & make a .kar yourself Smiley Happy)
And call that "direct:" from the studio.
That need to be tested on a Runtime. Can't be tested inside the studio.