-
1. Re: TopicConnectionFactory in JBoss 3.0
yu_anderson Dec 24, 2001 2:47 AM (in response to terry_ray)Try
TopicConnectionFactory topicConnectionFactory =
(TopicConnectionFactory)jndiContext.lookup ("ConnectionFactory"); -
2. Re: TopicConnectionFactory in JBoss 3.0
dshaul Jun 26, 2002 11:20 AM (in response to terry_ray)Hi
I have the same problem, I tried using this line and I get back null, what is the reason? -
3. Re: TopicConnectionFactory in JBoss 3.0
coughlam Jul 12, 2002 7:55 AM (in response to terry_ray)Is it possible to create your own QueueConnectionFactory or TopicConnectionFactory ? If so, how do you do it ?
-
4. Re: TopicConnectionFactory in JBoss 3.0
schaefera Jul 12, 2002 9:11 PM (in response to terry_ray)This could have several reasons:
1) you use the wrong JNDI server
2) you use the minimal configuration
3) in your jbossmq-service.xml there is no "ConnectionFactoryJNDIRef" attribute with the value of "ConnectionFactory".
Not that any connection factory implements the Topic as well as the Queue Connection Factory and can be casted to any of them.
Andy -
5. Re: TopicConnectionFactory in JBoss 3.0
schaefera Jul 12, 2002 9:13 PM (in response to terry_ray)To change the JNDI names just look into the jbossmq-service.xml file and change "ConnectionFactoryJNDIRef" or "XAConnectionFactoryJNDIRef" attribute.
Note that it is not easy to create your own implementation of a connection factory because you also have to implement the ServerILService etc. meaning the way the messages are sent over the wire.
Andy