On Thu, Apr 18, 2013 at 5:01 PM, Nalin Chandraratne <[email protected]> wrote:
> Hi, > > @Sagara : The flag strategy only works if the content actually comes > through the specific builder. Suppose the content came through a xml > builder and we want to find out if the jsonStreamBuilder is active.. Then > this method wouldn't work. > > @Nirmal : Couldn't find the builders from the axis2config. Appreciate if > you could elaborate :) > I can see that you can get relevant MessageBuilders given that you have the content type http://axis.apache.org/axis2/java/core/api/org/apache/axis2/engine/AxisConfiguration.html > > On Thu, Apr 18, 2013 at 4:09 PM, Sagara Gunathunga <[email protected]>wrote: > >> >> >> >> On Thu, Apr 18, 2013 at 3:11 PM, Nalin Chandraratne <[email protected]>wrote: >> >>> Hi, >>> >>> How to identify all the *AVAILABLE* message builders and formatters in >>> run time ? >>> As an example, I want to know whether jsonOmBuilder or JsonStreamBuilder >>> is active. >>> >> >> AFAIK JsonStreamBuilder is a custom builder cerated for ESB usages. >> Within the processDocument() method of JsonStreamBuilder class set a flag >> to MC. Now whenever required you can check above flag from MC and determine >> whether message was build by JsonStreamBuilder or not, if the flag found on >> MC means message came through JsonStreamBuilder if flag is not found >> message didn't come through JsonStreamBuilder. >> >> Thanks ! >> >> >>> >>> -- >>> Nalin Chamara >>> Software Engineer >>> [email protected] >>> +94715614756 >>> >> >> >> >> -- >> Sagara Gunathunga >> >> Technical Lead; WSO2, Inc.; http://wso2.com >> V.P Apache Web Services; http://ws.apache.org/ >> Linkedin; http://www.linkedin.com/in/ssagara >> Blog ; http://ssagara.blogspot.com >> >> > > > -- > Nalin Chamara > Software Engineer > [email protected] > +94715614756 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ <http://nirmalfdo.blogspot.com/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
