Hi Charles -
Here are the links below - this is part of the imq suite - OpenMQ - the
implementation within Glassfish (using 3 and 3.0.1 builds).
Java::ComSunMessagingJmsRa::ConnectionFactoryAdapter:
http://www.docjar.com/html/api/com/sun/messaging/jms/ra/ConnectionFactoryAdapter.java.html
http://www.docjar.com/docs/api/com/sun/messaging/ConnectionFactory.html
http://www.docjar.com/docs/api/com/sun/messaging/QueueConnectionFactory.html
the method is in:
http://www.docjar.com/docs/api/com/sun/messaging/QueueConnectionFactory.html
It is part of the AdministeredObject:
http://www.docjar.com/docs/api/com/sun/messaging/AdministeredObject.html#setProperty(String,%20String)
ConnectionFactoryAdapter extends ConnectionCreator
implements javax.jms.ConnectionFactory,
javax.jms.QueueConnectionFactory,
javax.jms.TopicConnectionFactory,
javax.resource.Referenceable,
java.io.Serializable
QueueConnectionFactory extends com.sun.messaging.ConnectionFactory
implements javax.jms.QueueConnectionFactory
I do this on a java counterpart already - this is why I became curious
on this - since I couldn’t create the jruby counterpart the same way.
Thanks a lot for looking. I had been banging my head on a wall trying to
figure this one out. 
–
Robert B. Weeks
From: Charles Oliver N. [[email protected]]
Sent: Wednesday, May 12, 2010 6:23 PM
To: [email protected]
Subject: Re: [jruby-user] jruby/jndi/ConnectionFactoryAdapter - and
casting
Looking at docs online for the ConnectionFactoryAdapter class, it
doesn’t appear that it or any of its superclasses implements the
setProperty method you’re looking for, nor does QueueConnectionFactory
or ConnectionFactory. Are you sure you’re looking for the right method
in the right place?
On Wed, May 12, 2010 at 6:48 PM, Robert W. [email protected]
wrote:
reasons other than it not being there. The lack of a cast is not the
problem, I guarantee it.
Ahh - I found it:
undefined method `setProperty’ for #Java::ComSunMessagingJmsRa::ConnectionFactoryAdapter:0x4f124609 (NoMethodError)
This was from the lines above.
I am now getting a ‘Java::ComSunMessagingJmsRa::DirectConnectionFactory’ back from the call and there is a ‘setConfigurationProperty’ on that - but not sure (still experimenting) that it is setting the limit for me correctly.
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email