SwitchYard endpoints don't work with Camel 'enrich' EIP

Solution Verified - Updated -

Issue

Use of a SwitchYard dsl will fail in a Camel EIP implementation. Example follows.

<?xml version="1.0" encoding="ASCII"?>
<routes xmlns="http://camel.apache.org/schema/spring">
  <route>
    <from uri="switchyard://EnrichRoute2"/>
    <log message="EnrichRoute2 - message received: ${body}"/>
    <!--  'to' works in the next line, 'enrich' does not -->
    <to uri="switchyard://Enrich" />
    <log message="EnrichRoute2 - after : ${body}"/>
  </route>
</routes>

Environment

JBoss Fuse Service Works 6.0GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.