camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mamouros <csst0...@yahoo.gr>
Subject Re: AW: Creating routes dynamically like a for()
Date Wed, 02 Oct 2013 08:49:18 GMT
To further clarify, I have a database with smpp accounts. I want to query at
runtime the database every predefined time, get the username and password
and then open a consumer for each account either with separate from() routes
passing the credentials or creating separate consumer templates.

At  runtime:
query database ->
     returns 3 accounts
create 3 routes ->
    from( account 1 )
    from( account 2 )
    from( account 3 )
go again from start



--
View this message in context: http://camel.465427.n5.nabble.com/Creating-routes-dynamically-like-a-for-tp5740703p5740746.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message