When implementing the Request-Reply pattern in a non-transacted environment using the following pattern:
final TextMessage textMessage = session.createTextMessage(content);
final MessageProducer producer = session.createProducer(destination);
final TemporaryQueue replyQueue = session.createTemporaryQueue();
textMessage.setJMSReplyTo(replyQueue);
textMessage.setJMSCorrelationID("my-very-unique-id");
producer.send(textMessage);
final MessageConsumer consumer = session.createConsumer(replyQueue, "JMSCorrelationID='my-very-unique-id'");
StompJmsSession fails with a NPE when invoking session.createTemporaryQueue due to a missing value for the field serverAdaptor (which is normally set by getChannel()).
When implementing the Request-Reply pattern in a non-transacted environment using the following pattern:
StompJmsSession fails with a NPE when invoking session.createTemporaryQueue due to a missing value for the field serverAdaptor (which is normally set by getChannel()).