This content has been marked as final. Show 2 replies
I've developed a JCA RA and need to pass some parameters to it.
So I ask: It's possible to get parameters inside my JCA from the datasource file ? I mean, data added to the mydatasourse-ds.xml.
Yes. If by JCA you mean your ManagedConnectionFactory javabean properties.
Also, inside the mydatasourse-ds.xml file I receive the number referred to the max connection pool size. Could I get such parameter from inside my JCA ?
No. The pooling parameters are used to configure the ... wait for it ... pool. :-)
By last, I wonder wich is the expected way of pool to work. If I define a min of 10 connection and max of 30, when JBoss starts, it will use my JCA to create 10 connections ?
No, unless you configure it to "prefill".
If you want better answers then ask better questions, or better yet
try reading the docs before asking questions already answered there.
Thanks for your reply.
May be my questions were so newbie but be sure I know how to make questions. I´ve asked what I want to know and your answers were useful and "on topic".
Thank you again