Hi
Is this a duplicate? We got this mail yesterday (I think) as well? And
answered it.
On Tue, Apr 21, 2009 at 9:05 AM, Nawaz Ahmed wrote:
>
>
> Hi all,
>
> I was going through the Resequencer camel component available in the
> link: http://camel.apache.org/resequencer.html
>
>
>
> On trying
Hi all,
I was going through the Resequencer camel component available in the
link: http://camel.apache.org/resequencer.html
On trying the resequencer camel component with the StreamResequencer
config with the code below:
from("jms:queue:nq1").
convertBodyTo(Strin
Hi Nawaz,
Some comments to your code:
- Technically you should be able to get the code working using
constant(Long.valueOf("1000")) but this doesn't resequence the message
because all will have the same sequence number
- How to customize the resequencer using sequence numbers other than
long
BTW the code you have can work if you change
constant("1000")
to a long type, something like this:
constant(Long.valueOf("1000"))
On Mon, Apr 20, 2009 at 8:46 AM, Nawaz Ahmed wrote:
> Hi all,
>
> I was going through the Resequencer camel component available in the
> link: http://camel.apache.
Hi
Are you using Camel 1.x?
In Camel 2.0 it should use the Camel type converter system so it can
automatic convert it to a Long type that the resequencer requires.
In Camel 1.x you must provide a Long type as it uses the regular java
type converter = (Long).
And yes we should probably propagate
Hi all,
I was going through the Resequencer camel component available in the
link: http://camel.apache.org/resequencer.html
On trying the resequencer camel component with the StreamResequencer
config with the code below:
from("jms:queue:nq1").
convertBodyTo(String.c