How can I get an existing JMS queue?

Normally, the container in which your application runs will bind the Queue in its naming service. An application in the container can look it up with JNDI and use it.

Thanks! Is it possible to access the queue from a standalone java program? Eventually, I will be using the Queue from a Java EE application, but right now I'm trying to just experiment get more familiar with JMS.

If it isn't possible to do this, I can probably skip this step, but I would like to have some code that interacts with the Queue without all the other complexity in my application. – pkaeding Jan 23 '10 at 4:24 1 Usually it is possible to do this from a standalone application, but the details depend a lot on the JMS provider you are using. For example, many app servers provide a JNDI provider and JMS driver that you can use in an application outside the app server itself to establish a connection.

– erickson Jan 23 '10 at 4:55.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions