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

Reply via email to