Am creating a completely embedded server, instantiating
an instance of EmbeddedServer and building the
Configuration object, /w
Am only registering one Connector for the factories,
and have set the Scheme type to EMBEDDED.
After registering an XA connection factory and
attempting to do a lookup, a javax.naming.Reference
object is returned instead of the actual
Upon inspection, the JmsConnectionFactoryBuilder
appears to do this conversion, but only for the Non-XA
Connection Factories (since it checks for specific types)
I was able to follow the same pattern and add the XA
reference conversion code and now get the results as
expected... not sure if this is correct or not - but
you might want to look into it.