camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-460) Add spring unit tests for the intercept() feature
Date Thu, 19 Jun 2008 03:59:00 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43573#action_43573
] 

Claus Ibsen commented on CAMEL-460:
-----------------------------------

What if the spring xml is combined in one route? That would be in line with the java DSL use-case.
Note: I haven't checked if the syntax/order of elements is valid according to the XSD.

{code}
<route>
  <intercept>
    <choice>
      <when>
        <xpath>$foo = 'bar'</xpath>
        <to uri="mock:b"/>
      </when>
      <otherwise>
        <proceed/>
      </otherwise>
    </choice>
  </intercept>
  <from uri="direct:start"/>
  <to uri="mock:a"/>
</route>
{code}



> Add spring unit tests for the intercept() feature
> -------------------------------------------------
>
>                 Key: CAMEL-460
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-460
>             Project: Apache Camel
>          Issue Type: Test
>          Components: camel-spring
>    Affects Versions: 1.3.0
>            Reporter: Jonathan Anstey
>            Assignee: Willem Jiang
>             Fix For: 1.4.0
>
>         Attachments: camel-460.patch
>
>


-- 
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