This content has been marked as final.
Show 3 replies
-
1. Re: ConnectionFactory vs QueueConnectionFactory
pra Jan 29, 2002 2:45 AM (in response to keithk)Its the same object that implements both Topic and Queue stuff, you just typecast it to the type you want.
//Peter -
2. Re: ConnectionFactory vs QueueConnectionFactory
keithk Jan 29, 2002 9:33 AM (in response to keithk)But, is that breaking the specs? Or invalidate examples of the specs and books like Java Message Service by Richard Monson-Haefel & David A. Chappell?
I still don't see the advance of using ConnectionFactory over TopicConnectionFactory and QueueConnectionFactory.
Am I missing something?
Thanks
keith -
3. Re: ConnectionFactory vs QueueConnectionFactory
pra Jan 30, 2002 3:05 AM (in response to keithk)If you read the spec, it says somethink like this: the name you use to lookup the connection factories is implementation and JMS provider specific. It's not in the spec.
On the other hand, if I remember correctly, there are JNDI aliases for the old names, so they should work too.
//Peter