[jboss-as7-dev] [jboss-as] Fix the default-stateful-access-timeout and default-singleton-access-timeout to be more consistent with the management model, by making them attributes (0b149ef)

Heiko Braun hbraun at redhat.com
Wed Oct 12 03:53:39 EDT 2011


On Oct 12, 2011, at 9:33 AM, Carlo de Wolf wrote:

> On 10/12/2011 09:10 AM, Heiko Braun wrote:
>> 
>> Maybe this has been discussed elsewhere, but looking at the EJB description I can see that expressions are allowed basically anywhere.
>> This is an example how is should _not_ be done. I.e. the "default-mdb-instance-pool" is certainly not something you would like to configure by external means, do you?
> 
> I can easily counter this with: why not?
> 
> Seriously I'm thinking of something like configuration items that are based on the system environment.
> This would have the bind.address make sense.
> 
> A sliding one would be the default RA.
> 
> It would make default-mdb-instance-pool a no-go, because that's an AS configuration item without any dependencies on system environment.


You seem to have answered the question yourself. Expressions are useful when you need to configure certain aspects by external means or depending on the environment. 


Ike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20111012/6c125bd0/attachment-0001.html 


More information about the jboss-as7-dev mailing list