0 Replies Latest reply on Oct 24, 2002 8:57 AM by Steve Jenkings

    Creating TopicConnectionFactory without JNDI

    Steve Jenkings Newbie

      I'm using plain old Java not J2EE and wish to use JBoss-MQ as a distributed messaging protocol. I do not wish to use JNDI within this system though so I need to create objects explicitly.

      I'm trying to create a TopicConnectionFactory and it looks as though the class I need to instantiate is org.jboss.mq.cluster.jms.ClusterTopicConnectionFactory, however, when I try to create this object (empty constructor) I get a null pointer at line 35.

      Can anyone please confirm that this is indeed the correct object and if so offer suggestions as to why I cannot create it.

      Thanks.