Re: JMX Management
Dear Claus, I think you spotted exactly the issue. Therefore I will wait for the new release 8-). Thanks a lot, Cataldo. -- View this message in context: http://camel.465427.n5.nabble.com/JMX-Management-tp550p555.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: JMX Management
But how do you stop the Camel route? Do you just undeploy the application in weblogic, or do you call some Camel API to stop a routue, and remove it or what do you do? On Mon, Feb 15, 2016 at 4:51 PM, ursouca wrote: > Hi Claus, > > Sorry I forgot to mention it! > This is the 2.16.2 and i am deploying in Weblogic 12.1.1. > > Br, > Cataldo. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JMX-Management-tp550p552.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
Re: JMX Management
Hi Claus, Sorry I forgot to mention it! This is the 2.16.2 and i am deploying in Weblogic 12.1.1. Br, Cataldo. -- View this message in context: http://camel.465427.n5.nabble.com/JMX-Management-tp550p552.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: JMX Management
What version of Camel do you use? And what do you mean by "not more used", eg do you remove a route or what do you do? And btw I spotted an issue with camel-jpa and logged that ought to help https://issues.apache.org/jira/browse/CAMEL-9604 On Mon, Feb 15, 2016 at 3:49 PM, ursouca wrote: > Dears, > > I activated the JMXAgent for monitoring purpose. > But I have a problem because I am using a JPA endpoint as 'TO' (defined as > XML route), and when the route is activated, it creates a new instance of > JPAProducer and it is visible via JMX but when is not more used is stays > register as mbean and stays is memory. Therefore useless instances of > JPAProducer are accumulated in memory and in the mbean tree. > Is there a way to either ask to not register a stopped producers or either > any producer? > > Br, > Cataldo. > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JMX-Management-tp550.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2
JMX Management
Dears, I activated the JMXAgent for monitoring purpose. But I have a problem because I am using a JPA endpoint as 'TO' (defined as XML route), and when the route is activated, it creates a new instance of JPAProducer and it is visible via JMX but when is not more used is stays register as mbean and stays is memory. Therefore useless instances of JPAProducer are accumulated in memory and in the mbean tree. Is there a way to either ask to not register a stopped producers or either any producer? Br, Cataldo. -- View this message in context: http://camel.465427.n5.nabble.com/JMX-Management-tp550.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: JMX Management
The routes are defined using Java DSL. So I was looking for something like camelContext.addRoutes(rb), just as a JMX operation that I can invoke on my MBeanServer. Thanks, Alfred -- View this message in context: http://camel.465427.n5.nabble.com/JMX-Management-tp4879844p4879903.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: JMX Management
On Fri, Oct 7, 2011 at 2:13 PM, Alfred Hiebl 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/
JMX Management
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? 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.