How do you bind a queue to a context for subsequent applications to look up? If queues are created in the context of a session, how can they be used by another session?

Andreas Mueller

A client cannot create a queue, except temporary queues. If your question refers to the createQueue() method of a QueueSession, the JMS 1.0.2 specification states, that this method is not to create the physical queue instance but only the destination object, which is the address of the queue. Creating physical queues is an administration task not to be performed by a client. This is well separated in JMS.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact