Sure... just add it to jira :)
Thx, Norman 2010/5/4 Terrance MacGregor <[email protected]>: > Norman, > > I created the metrics and they work great. I have insight into the > application via a quick and dirty GWT interface. Let me know if you would > like to submit the mailet that I have for review. > > Sincerely, > > Terry > > On Mon, Apr 26, 2010 at 9:56 AM, Terrance MacGregor < > [email protected]> wrote: > >> Hi Norman, >> >> I reviewed this briefly, but I realized that I don't have the background to >> use these tools effectively. Therefore, I am stuck using sticks and rocks >> to solve my solution. It is a lot less elegant than using Camel and JMX I >> am certain. >> >> If my solution ends up being very useful I will push it out and let you >> determine if there is a place for it. >> >> Sincerely, >> >> Terry >> >> >> >> On Mon, Apr 26, 2010 at 7:10 AM, Norman Maurer < >> [email protected]> wrote: >> >>> Hi Terrance, >>> >>> I did some research and its at least possible to get stats about >>> processing etc from camel via JMX: >>> >>> >>> http://camel.apache.org/camel-jmx.html#CamelJMX-UsingJConsoletomonitorCamel >>> >>> So we could maybe add something around this ? >>> >>> Bye, >>> Norman >>> >>> >>> 2010/4/25 Terrance MacGregor <[email protected]>: >>> > Norman, >>> > >>> > Excellent! I would love to know if this is the case. In the mean time, I >>> am >>> > pushing forward with my little experiment. I have an HSQLDB with one >>> table >>> > in it and a GWT page to display my metrics. All of my coding is done, >>> but I >>> > have to wire it together. >>> > >>> > This solution is not elegant as it doesn't tie into any other database >>> > schema that James is using, but it is a very loosely coupled >>> implementation. >>> > Let me know how you want me to post it if you are interested. I can >>> throw >>> > the source code up somewhere. >>> > >>> > If not, I totally understand. >>> > >>> > Sincerely, >>> > >>> > Terry >>> > >>> > On Sat, Apr 24, 2010 at 12:22 PM, Norman Maurer < >>> > [email protected]> wrote: >>> > >>> >> Hi Terrance, >>> >> >>> >> sorry for the late response but I missed your email :( I think we >>> >> could get such stats already via JMX and camel. I need to investigate >>> >> a bit and see if I'm right. >>> >> >>> >> But I agree with you such "stats" would be really cool. >>> >> >>> >> Bye, >>> >> Norman >>> >> >>> >> 2010/4/21 Terrance MacGregor <[email protected]>: >>> >> > Norman, >>> >> > >>> >> > You understand it perfectly. >>> >> > >>> >> > When you have complex processing, it is very useful to see where the >>> >> > bottlenecks are, where some processors are failing, and where the >>> most >>> >> > traffic is flowing in your logic tree. This gives you a much better >>> idea >>> >> of >>> >> > how email is flowing through the james server. >>> >> > >>> >> > For simple email servers, this would be not very useful. For large >>> >> > applications however, I believe that it is very useful. >>> >> > >>> >> > sincerely, >>> >> > >>> >> > Terry >>> >> > >>> >> > On Wed, Apr 21, 2010 at 2:11 PM, Norman Maurer < >>> >> [email protected] >>> >> >> wrote: >>> >> > >>> >> >> Hi Terrance, >>> >> >> >>> >> >> I'm not sure I understand what exactly you are looking for. Is it >>> >> >> something like generating stats about which email was send throught >>> >> >> which processor in which time etc ? Would be helpful if you could >>> give >>> >> >> some more details.. >>> >> >> >>> >> >> Thx, >>> >> >> Norman >>> >> >> >>> >> >> >>> >> >> 2010/4/21 Terrance MacGregor <[email protected]>: >>> >> >> > Hi, >>> >> >> > >>> >> >> > I am about to write a metrics program to track some basic email >>> >> metrics >>> >> >> per >>> >> >> > processor. What I was looking for the ability to store some email >>> >> >> metrics >>> >> >> > in a database. Does anyone know of a program out there that has >>> >> already >>> >> >> > been written? >>> >> >> > >>> >> >> > This is how I see this working: >>> >> >> > >>> >> >> > *config example:* >>> >> >> > >>> >> ----------------------------------------------------------------------- >>> >> >> > <processor name="processMessageFromMarty"> >>> >> >> > <mailet matcher="All" mailet="EmailAuditing"> >>> >> >> > </mailet> >>> >> >> > </processor> >>> >> >> > >>> >> >> > * >>> >> >> > EmailAuditing Mailet* >>> >> >> > >>> >> >> > service(Mail){ >>> >> >> > //insert email metrics into the database >>> >> >> > } >>> >> >> > >>> >> >> > >>> >> >> > *Datebase table would look something like this:* >>> >> >> > >>> >> ----------------------------------------------------------------------- >>> >> >> > From | To | SubjectLine | Timestamp | ProcessorName >>> >> >> > >>> >> >> >>> >> >> >>> --------------------------------------------------------------------- >>> >> >> To unsubscribe, e-mail: [email protected] >>> >> >> For additional commands, e-mail: [email protected] >>> >> >> >>> >> >> >>> >> > >>> >> > >>> >> > -- >>> >> > “The budget should be balanced, the treasury should be refilled, >>> public >>> >> debt >>> >> > should be reduced, the arrogance of officialdom should be tempered >>> and >>> >> > controlled, and the assistance to foreign lands should be curtailed >>> lest >>> >> > Rome become bankrupt. People must again learn to work, instead of >>> living >>> >> on >>> >> > public assistance.” Cicero, 55 BC >>> >> > >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: [email protected] >>> >> For additional commands, e-mail: [email protected] >>> >> >>> >> >>> > >>> > >>> > -- >>> > “The budget should be balanced, the treasury should be refilled, public >>> debt >>> > should be reduced, the arrogance of officialdom should be tempered and >>> > controlled, and the assistance to foreign lands should be curtailed lest >>> > Rome become bankrupt. People must again learn to work, instead of living >>> on >>> > public assistance.” Cicero, 55 BC >>> > >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> “The budget should be balanced, the treasury should be refilled, public >> debt should be reduced, the arrogance of officialdom should be tempered and >> controlled, and the assistance to foreign lands should be curtailed lest >> Rome become bankrupt. People must again learn to work, instead of living on >> public assistance.” Cicero, 55 BC >> > > > > -- > “The budget should be balanced, the treasury should be refilled, public debt > should be reduced, the arrogance of officialdom should be tempered and > controlled, and the assistance to foreign lands should be curtailed lest > Rome become bankrupt. People must again learn to work, instead of living on > public assistance.” Cicero, 55 BC > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
