1 Reply Latest reply on Aug 14, 2005 7:19 AM by Sasi Levi

    How do you create a connection factory?

    Patrick Onyeyiri Newbie

      I have been playing around with JBossMQ trying to figure out how to create a connection factory, but have so far been unsuccessful. The last code that I tried is

       <adapter-display-name>JMS Adapter</adapter-display-name>
       <config-property name="SessionDefaultType" type="java.lang.String">javax.jms.Topic</config-property>
       <config-property name="JmsProviderAdapterJNDI" type="java.lang.String">java:/DefaultJMSProvider</config-property>

      But this shows in JBoss initialisation in the line
      [ConnectionFactoryBindingService] Unbound connection factory for resource adapter for ConnectionManager 'jboss.jca:name=TopicConnectionFactory,service=ConnectionFactoryBinding from JNDI name 'java:TopicConnectionFactory'

      And the connection factory isnt there - so far I have only had success by creating an alias by the name of TopicConnectionFactory that redirects to ConnectionFactory.

      Finally, does the ConnectionFactory implementation handle topics and queue connections properly? if it does then I dont need to create the extra factories.