Hello ,

We are developers from caerusone(www.caerusone.org) project, We are
looking for constraints for the apache camel routes.

Basically in our html UI, we can create camel routes graphically , but
we are not sure how to constraint the routes in UI or validate them
without actually creating them.

By constrain we mean, we want to restrict user to create invalid routes for eg:
       from("file:src/data?noop=true")
            .convertBodyTo(PersonDocument.class)
            .to("jpa:org.apache.camel.example.etl.CustomerEntity");

is valid but

convertBodyTo(PersonDocument.class)
  .from("file:src/data?noop=true")
            .to("jpa:org.apache.camel.example.etl.CustomerEntity");

is not valid.

What would be the best way to build up constraint information, like
which component can come in route after which component etc.

any help will be appreciated.

thanks and regards,
Sumit

Reply via email to