This example (JMSQTest.Java)
demonstrates how to publish to a JMS Queue. Before using
this example with Nirvana you will need to create a
queue connection factory and queue using JMSAdmin.
Assuming you have used the default options with JMSAdmin
and run the JMSAdmin example
type the following command.
Java -DPRINCIPAL=anon -DPASSWORD=anon -DCONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
-DPROVIDER_URL=file:.com.pcbsys.Nirvana.nSpace.JMSQTest
qvegetta movie
This will connect you to the movie queue on the via
qvegatta. Each message you enter will be published in
a TextMessage when the return key is pressed.