camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ari Mando (JIRA)" <>
Subject [jira] [Created] (CAMEL-5466) new virtual endpoint component
Date Tue, 24 Jul 2012 20:01:34 GMT
Ari Mando created CAMEL-5466:

             Summary: new virtual endpoint component
                 Key: CAMEL-5466
             Project: Camel
          Issue Type: Improvement
    Affects Versions: 2.9.2
            Reporter: Ari Mando
             Fix For: 2.9.3

I had the recurring need for a virtual endpoint in camel routes. Often I need to define the
same route, but just with different endpoint locations, typically queues.

The supplied component allows for:

        <from uri="virtual://source-queue?real=amq://@?"/>
        <to uri="virtual://destination-queue?real=amq2://@?"/>

Then in a file:


The above properties file would be like adding 3 routes. 

The supplied impl is a bit rough, it needs some more work. The first cut was sufficient for
the usecase I needed it for.

I already thought it should be really like:

<virtual id="messageDrain" uri="file://queues.xml">
        <from uri="virtual://source-queue?real=amq://@?"/>
        <to uri="virtual://destination-queue?real=amq2://@?"/>

then an xml file:


Using the DSL would allow multiple virtual routes with different config being pulled from
other camel endpoints. 

Dynamic routing! Call it virtual routing or template routing.

Tasks to be finished on it:

* implement threading (concurrentConsumers)
* move to high level dsl model
* unit tests
* source configuration from enrichment uri call
* more robust error handling

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message