On Fri, Oct 7, 2011 at 2:13 PM, Alfred Hiebl <a.hi...@mic-cust.com> wrote: > Hi, > > We are running Camel in a webapp container, which allows us to bundle a > little admin webapp to configure and monitor the routes (among other stuff). > > Camel JMX support works great for a lot of this! But what I did not find so > far is this: > - sendBody in MBean org.apache.camel:type=context,name="camel" does not > support headers. Is there another way to start a route? > - Is there a way to create a new route through JMX?
Yeah there should be API to add/update routes from an XML description of the routes. > > I could do all this by exporting my own MBean (e.g. Spring MBeanExporter). > Not sure, though, how it would get access to CamelContext which I obiously > need to create routes? > > Can someone give me a sample how this can be done or if these things can > already be done? > > Thanks in advance, > Alfred > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JMX-Management-tp4879844p4879844.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/