On Thu, Oct 22, 2009 at 8:27 AM, Ruwan Linton <[email protected]> wrote:

> Hiranya Jayathilaka wrote:
> > Hi Samisa,
> >
> > On Wed, Oct 21, 2009 at 10:49 AM, Samisa Abeysinghe <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     It looks to me, that when you talk about fault count for a proxy,
> >     that counts faults within the ESB and not the faults sent by back
> >     end.
> >     I agree that this is correct.
> >
> >     However, at the same time, at the ESB level, there needs to be
> >     some mechanism to track, using stats, if the back end sent a
> >     fault. In other words, we need to be able to track both internal
> >     faults, as well as external faults from the ESB mediation stats.
> >     What is the technical feasibility of this? I need this for BAM
> >     to portray the business meaning of the invocations.
> >
> >
> > This can be done but IMO implementing this feature means the ESB will
> > have to build and analyze each and every response message to see
> > whether it is a SOAP fault or not. So ideally we should implement this
> > in a configurable manner so users can enable it only when they want
> > to. This functionality can be implemented as a part of the proxy
> > service message dispatching or may be even as a mediator (I'm not sure
> > about this option - Need to dig deeper on this). We can simply add the
> > backend faults to the ESB fault count.
> No... Hiranaya we need to separate these tow out. Faults w.r.t. ESB are
> mediation faults, doesn't mean that is a SOAPFault, I agree it is better
> to count SOAPFaults going through the ESB as well separately. I think we
> already check whether a particular response is a fault or not, do not a
> big deal when it comes to performance, I guess Axis2 does that before
> Synapse :-) and sets a flag on the message context :-)
> >
> > If we can access the stats at the mediator level we can use the filter
> > mediator in the out-sequence to separate out SOAP faults and write a
> > custom mediator which will go and increment the Synapse fault count.
> Nope, stats are not something that should require a configuration to
> enable (it is bad to have a mediator to do that). How urgent is this?
> Can this wait one more week??
>

Yes

Samisa...
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to