[jboss-as7-dev] exposing Transaction timeout
Francesco Marchioni
marchioni.francesco at gmail.com
Mon May 9 11:57:28 EDT 2011
Hello,
I beg your pardon I was meaning to expose the default transaction timeout in
standalone.xml (not in the .xsd stylesheet) . At the moment, it's a "hidden"
default element of coordinator-environment.
<subsystem xmlns="urn:jboss:domain:transactions:1.0">
<core-environment socket-binding="txn-socket-process-id"/>
<recovery-environment socket-binding="txn-recovery-environment"
status-socket-binding="txn-status-manager"/>
<coordinator-environment/>
<object-store/>
</subsystem>
Could it be useful for a common user to have this attribute handy ?
Regards
Francesco
2011/5/9 Brian Stansberry <brian.stansberry at redhat.com>
> It's already there:
>
> <xs:complexType name="coordinator-environment">
> <xs:annotation>
> <xs:documentation>
> <![CDATA[
> The coordinator environment configuration.
> ]]>
> </xs:documentation>
> </xs:annotation>
> <xs:attribute name="enable-statistics" type="xs:boolean"
> default="false"/>
> <xs:attribute name="default-timeout" type="xs:int" default="300" />
> </xs:complexType>
>
> Apologies if it got added since this thread started.
>
> On 5/5/11 7:22 AM, Francesco Marchioni wrote:
> > Dear devs,
> > a small proposal: would it be fine to expose transaction timeout
> > defaults as a property in the transactions subsystem ?
> > AFAIK you have to include it in the coordinator-environment element. ....
> >
> > <subsystem xmlns="urn:jboss:domain:transactions:1.0">
> > <core-environment socket-binding="txn-socket-process-id"/>
> > <recovery-environment socket-binding="txn-recovery-environment"
> > status-socket-binding="txn-status-manager"/>
> >
> > <coordinator-environment enable-statistics="false" default-timeout="300"
> />
> >
> > </subsystem>
> >
> > kind regards,
> > Francesco Marchioni
> >
> >
> >
> > _______________________________________________
> > jboss-as7-dev mailing list
> > jboss-as7-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
> --
> Brian Stansberry
> Principal Software Engineer
> JBoss by Red Hat
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110509/4ee82589/attachment.html
More information about the jboss-as7-dev
mailing list