You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Darshan <da...@algorhythm.co.in> on 2014/01/23 13:11:07 UTC

Add camel route at runtime using xml configuration available in database

 0 down vote favorite
	

I am new to camel

I want to build an generic API in which routing information are available in
database in xml format (this information is taken from another web
application and save it to database).

Now from second web application if user made some event then this
information is passed to this generic API then it creates route and process
this routes and give response back to user (I think this is event based
routing correct me if I am wrong).

Is this scenario possible using Camel.

If yes, then suggest some link or give example how to start here?

I have basic knowledge about Camel(like working example with file,jdbc,cxf
component).

Thanks in advance.




-----
Regards
Darshan
--
View this message in context: http://camel.465427.n5.nabble.com/Add-camel-route-at-runtime-using-xml-configuration-available-in-database-tp5746397.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Add camel route at runtime using xml configuration available in database

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yeah we have some small code samples here
http://camel.apache.org/cookbook

One is about how to load route(s) from xml into an existing camel.

On Thu, Jan 23, 2014 at 1:11 PM, Darshan <da...@algorhythm.co.in> wrote:
>  0 down vote favorite
>
>
> I am new to camel
>
> I want to build an generic API in which routing information are available in
> database in xml format (this information is taken from another web
> application and save it to database).
>
> Now from second web application if user made some event then this
> information is passed to this generic API then it creates route and process
> this routes and give response back to user (I think this is event based
> routing correct me if I am wrong).
>
> Is this scenario possible using Camel.
>
> If yes, then suggest some link or give example how to start here?
>
> I have basic knowledge about Camel(like working example with file,jdbc,cxf
> component).
>
> Thanks in advance.
>
>
>
>
> -----
> Regards
> Darshan
> --
> View this message in context: http://camel.465427.n5.nabble.com/Add-camel-route-at-runtime-using-xml-configuration-available-in-database-tp5746397.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io