Use the factory to create a connection

 

The createQueueConnection() method on the factory object is used to create a Connection, as shown in the following code:

QueueConnection connection;
connection = factory.createQueueConnection();


uj24360_