Options for creating dynamic filters

2012-07-28 Thread soumya_sd
Hi, I've the following static route that is loaded at my server startup. It listens for UDP messages on a port and pushes these messages to the seda queue defined in the route below. from("mina:udp://hostipaddress:9998?sync=false").wireTap( "seda:sometag?size=10

Re: RouteDefinition vs Route

2012-07-28 Thread Bob Jolliffe
Ah .. just realized that if I cast my CamelContext to a ModelCamelContext I can do all I need to do with RouteDefinitions (rather than Routes) On 28 July 2012 17:54, Bob Jolliffe wrote: > Thanks Babak > > On 28 July 2012 11:42, Babak Vahdat wrote: >> Hi >> >> the easiest is to check their javado

Re: RouteDefinition vs Route

2012-07-28 Thread Bob Jolliffe
On 28 July 2012 12:11, Babak Vahdat wrote: > And also CamelWatch could be of your interest which does already what you try > to achieve: > > http://sksamuel.github.com/camelwatch/ This looks very nice. As you say, very much like I want to do, except that I was hoping to get the description prope

Re: RouteDefinition vs Route

2012-07-28 Thread Bob Jolliffe
Thanks Babak On 28 July 2012 11:42, Babak Vahdat wrote: > Hi > > the easiest is to check their javadoc: > > http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Route.html > http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/model/RouteDefinition.html

Re: RouteDefinition vs Route

2012-07-28 Thread Babak Vahdat
And also CamelWatch could be of your interest which does already what you try to achieve: http://sksamuel.github.com/camelwatch/ BTW reading the javadoc by myself it seems the 'C' (Controller) is ModelCamelContext which can start / stop routes (the View) using their Id's. That's the API methods l

Re: RouteDefinition vs Route

2012-07-28 Thread Babak Vahdat
Hi the easiest is to check their javadoc: http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Route.html http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/model/RouteDefinition.html Another way around, in the context of the MVC pattern one could clai

RouteDefinition vs Route

2012-07-28 Thread Bob Jolliffe
A quick question which I am sure has an easy answer but I am getting a bit befuddled ... A have a simple web user interface where I want to list routes in a context with their id's and descrtiption. One purpose is being able to stop and start them. Because I am interested in the description I am