users@glassfish.java.net

Re: Application Scoped Resources: Why not for JMS?

From: <forums_at_java.net>
Date: Fri, 15 Jul 2011 03:30:38 -0500 (CDT)

So if I understand correctly, the below lines will create an
application-scoped connection factory and resource:

<admin-object-resource res-adapter="*jmsra*"
res-type="*javax.jms.ConnectionFactory*" jndi-name="*jms/MyConnections*">
<property name="*MaxPoolSize*" value="*1000*" /> </admin-object-resource>
<admin-object-resource res-adapter="jmsra" res-type="*javax.jms.Topic*"
jndi-name="*jms/MyTopic*"> <property name="*PhysicalDestinationName*"
value="*MyTopic*" /> </admin-object-resource>

Are that property names correct? Particularly "PhysicalDestinationName",
since I couldn't find that in the GF manual.

And, will that apply the same defaults as it happens in the browser based
GUI? I am asking because I noticed that the manual says the default for
"MaxPoolSize" would be 8, while the GUI shows 32. How to ensure to get the
same defaults as the GUI shows?

Thanks! Markus.

 


--
[Message sent by forum member 'mkarg']
View Post: http://forums.java.net/node/821986