Hi,

I would like to know if there is way to have a multi value UriParam
that accepts a comma delimited list of elements like:

- definition:

    @UriParam
    private List<MyOption> options;


- add thing to registry:

    registry.bind("option1", new MyOption("1"));
    registry.bind("option2", new MyOption("2"));
    registry.bind("option3", new MyOption("3"));


- configure routes:

    from("...")
        .to("myEndpoint:foo?options=#option1,#option2)
    from("...")
        .to("myEndpoint:bar?options=#option1,#option3")



Thx,
Luca

Reply via email to