Surya, Thank you for responding. Looks like you have a good deal of experience with drools and camel.
What I'm trying to do is apply rule-based filtering to objects. However, these rules are defined at runtime by the users. For example, the user may say "Give me all places that serve _Italian_ food and have a _user rating_ more than 4.0" Therefore, it's not possible to have predefined rules and then select to rules to fire at runtime. Can you give an idea of how "expensive" is it to create a new KnowledgeSession? Currently, my route has a fixed knowledge session pre-defined in the route. So, if the only way to create/remove rules dynamically is to create a new knowledge session, then as you said I'll need a way to define my Camel routes dynamically as well. In that case I don't know think it's worth the effort to use the Drool-Camel component. Do you agree ? Thanks again ! -- View this message in context: http://camel.465427.n5.nabble.com/Inserting-rules-dynamically-into-camel-drools-component-tp5681880p5683872.html Sent from the Camel - Users mailing list archive at Nabble.com.