From: Scott B. <Sco...@ev...> - 2001-07-13 20:56:19
|
Can I create more than one TopicConnectionFactory? I would like to use one for Durable Subscribers and the other for non-durable. But when I try to access the DurableTopicConnFactory it says it's not bound. In JNDIView there is only one entry for TopicConnectionFactory. HELP! jboss.xml -------------- .... <resource-ref> <res-ref-name>jms/DurableTopicConnFactory</res-ref-name> <resource-name>jms/DurableTopicConnFactory</resource-name> </resource-ref> <resource-ref> <res-ref-name>jms/TopicConnectionFactory</res-ref-name> <resource-name>jms/TopicConnectionFactory</resource-name> </resource-ref> ..... ejb-jar.xml --------------- .... <resource-ref> <description>Supports Durable Subscriber for AFS-ATS</description> <res-ref-name>jms/DurableTopicConnFactory</res-ref-name> <res-type>javax.jms.TopicConnectionFactory</res-type> <res-auth>Container</res-auth> </resource-ref> <resource-ref> <description></description> <res-ref-name>jms/TopicConnectionFactory</res-ref-name> <res-type>javax.jms.TopicConnectionFactory</res-type> <res-auth>Container</res-auth> </resource-ref> |