Property "object-paths" needs to be provided in the Drools' content based router.
Example:
<action class="org.jboss.soa.esb.actions.ContentBasedRouter" name="cbr-router">
<property name="cbrAlias" value="Drools"/>
<property name="ruleSet" value="/META-INF/drools/airport-code.drl"/>
<property name="ruleLanguage"/>
<property name="destinations">
<route-to destination-name="ERROR"
service-category="com.example.soa" service-name="error-service"/>
<route-to destination-name="SUCCESS"
service-category="com.example.soa" service-name="successful-record"/>
</property>
<property name="object-paths">
<object-path esb="body.'org.jboss.soa.esb.message.defaultEntry'" />
</property>
</action>
This currently requires that you jump into XML view to add the required property object-paths. Otherwise, only the Message object is mapped into the rule context. This should be provided in the ContentBasedRouter UI in JBoss Tools if possible.