You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Alexander__5 <an...@gmail.com> on 2010/10/14 07:26:05 UTC
Does resource adapter support session pooling in jboss
Hello I need to know whether active mq resource adapter supports session
pooling
when used in jboss or not.
Thanks in advance
Alik
--
View this message in context: http://activemq.2283324.n4.nabble.com/Does-resource-adapter-support-session-pooling-in-jboss-tp2994816p2994816.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Does resource adapter support session pooling in jboss
Posted by Gary Tully <ga...@gmail.com>.
Apologies if I mislead, the session pool support is inbound only.
configured by the maxSessions activation spec value and used as per
the Java connector arch. spec.
For outbound connections, there is no implicit session pool.
On 18 October 2010 04:09, Alexander__5 <an...@gmail.com> wrote:
>
> Hi Gary
>
> Thank you for your feedback.
> Can you provide details about
> how to configure session pooling when using activemq resource adapter in
> jboss
> or if there is not such possibility to configure session pooling what is
> default values for session pooling
> parameter such as max_sessions etc.
>
> Thanks in advance
> Alik
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Does-resource-adapter-support-session-pooling-in-jboss-tp2994816p2999616.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
http://blog.garytully.com
Open Source Integration
http://fusesource.com
Re: Does resource adapter support session pooling in jboss
Posted by Alexander__5 <an...@gmail.com>.
Hi Gary
Thank you for your feedback.
Can you provide details about
how to configure session pooling when using activemq resource adapter in
jboss
or if there is not such possibility to configure session pooling what is
default values for session pooling
parameter such as max_sessions etc.
Thanks in advance
Alik
--
View this message in context: http://activemq.2283324.n4.nabble.com/Does-resource-adapter-support-session-pooling-in-jboss-tp2994816p2999616.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Does resource adapter support session pooling in jboss
Posted by Ivan Pechorin <iv...@gmail.com>.
2010/10/14 Ed <ce...@yahoo.com>:
> All the tests show that pool size
> defined under <tx-connection-factory> affects connections pooling only.
>
> Is sessions pooling really done so strange way?
> Sessions are pooled but no way to manage/configure that pooling from
> outside?
My understanding is that the resource adapter implements one session
per connection strategy. At least, that's what I observed from the log
files (JBoss 5.1 + ActiveMQ's resource adapter 5.3.x and 5.4.x).
Re: Does resource adapter support session pooling in jboss
Posted by Ed <ce...@yahoo.com>.
Hi guys!
I'm also interested. Honestly, I could not find any prof that sessions are
pooled.
We have integration done according to ActiveMQ instruction. So, JBoss JCA
configured in "activemq-jms-ds.xml" file. All the tests show that pool size
defined under <tx-connection-factory> affects connections pooling only.
Is sessions pooling really done so strange way?
Sessions are pooled but no way to manage/configure that pooling from
outside? And you should simply use "createSession" method intending that
sessions are returned from the pool according to some internal logic of
particular "Connection impl"?
The issue is that I would really prefer to have single connection with
sessions pooling. But printing the sessions returned I always have different
session IDs and hashcode. Of course it can be some object wrapping actual
Connection, but still, no way to prove..
It would be nice if someone can help to clarify the point.
Thanks and regards,
Edgar
--
View this message in context: http://activemq.2283324.n4.nabble.com/Does-resource-adapter-support-session-pooling-in-jboss-tp2994816p2995181.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Does resource adapter support session pooling in jboss
Posted by Gary Tully <ga...@gmail.com>.
yes it does.
On 14 October 2010 06:26, Alexander__5 <an...@gmail.com> wrote:
>
> Hello I need to know whether active mq resource adapter supports session
> pooling
> when used in jboss or not.
> Thanks in advance
> Alik
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Does-resource-adapter-support-session-pooling-in-jboss-tp2994816p2994816.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
http://blog.garytully.com
Open Source Integration
http://fusesource.com