Can we create our own Connection Factory ?
2 posts in topic
Flat View  Flat View

Posted By:   Murali_Rajagopalan
Posted On:   Monday, May 27, 2002 11:50 PM

Can we create a ConnectionFactory that deals with new destination, say a stack instead of the existing queue ? In that case, how can we create a stack destination object ?

Re: Can we create our own Connection Factory ?

Posted By:   Nicholas_Whitehead  
Posted On:   Saturday, June 29, 2002 09:45 AM


Can you explain what you mean by a stack ? The queue itself is simply and abstraction construct intended to provide a consistent interface for point to point operations. The underlying implementation is irrelevant to most users of the JMS services.

If you are referring to replacing FIFO with PUSH and POP operations like a traditional programing stack, I suppose you could implement something like that, but it is not a JMS supported pattern.


Re: Can we create our own Connection Factory ?

Posted By:   William_Xu  
Posted On:   Friday, June 28, 2002 02:01 PM

You can surely implement any of the JMS api classes. But why would you want to do what a JMS service provider is supposed to be doing?
About | Sitemap | Contact