The connection factory is org.jboss.jms.client.JBossConnectionFactory and as you can see it implements all connection factory interfaces.
It would have to, or we wouldn't pass JMS 1.1 compliance.
public class JBossConnectionFactory implements ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory, XATopicConnectionFactory,
How do specify that in the connection-factories-service.xml file?
You don't need to.
All connection factories implement all required interfaces.
Then I am not doing something right because when I do this:
Context initial = getInitialContext();
QueueConnectionFactory cf = (QueueConnectionFactory) initial.lookup("jms/eRegQueueConnectionFactory");
I get a ClassCastException.
When I check the class it is an instance of ConnectionFactory.
Please post the full exception
I have been experimenting with a simple case compiled against the jboss-j2ee .jar with some success.
I am beginning to believe the problem lies in the fact we are compiling against a 1.3 j2ee jar and trying to deploy on a different version of the jar.
Before I burden you any more with this, I will build out my test case a bit more.