camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-1048) allow routes to easily be enabled/disabled based on an external predicate such as queue size
Date Mon, 03 Nov 2008 18:23:05 GMT
allow routes to easily be enabled/disabled based on an external predicate such as queue size
--------------------------------------------------------------------------------------------

                 Key: CAMEL-1048
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1048
             Project: Apache Camel
          Issue Type: New Feature
            Reporter: James Strachan
             Fix For: 2.0.0


For example we may want to do this route...

{code}
<route>
  <requires>
    <el>${broker2.queueSize('AnotherQueue') == 0}</el>
  </requires>
  <from uri="broker1:MyQueue"/>
  <to uri="broker2:AnotherQueue"/>
</route>
{code}

i.e. only implement a specific route while some predicate is true (e.g. only route while a
condition is met; disable when its not met).



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message