Is it possible to write to a queue without a JNDI lookup?
Currently I have a UIL2 invocation layer service. Using this I can use SpyConnectionFactory to get the QueueConnectionFactory, and the QueueConnection object. However I don't have InitialContext to get the Queue object.
Without the Queue object I don't have anything to pass to QueueSession to create a QueueSender or QueueReceiver.
I figured it out.
You can call QueueSession's createQueue object, however you have to pass just the queue name, not prefixed with queue/...
ie queueSession.createQueue("blahqueue");
not
queueSession.createQueue("queue/blahqueue");