You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
createTemporaryQueue and createTemporaryTopic fails in non-transacted environment #10
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()).
Activity
zapodot commentedon Apr 19, 2013
No that this has been merged into master, any chance of a patch release?
I have tested the SNAPSHOT version and it seems to work as intendend
remove NPE by always calling getChannel().getServerAdaptor(). Solves f…
Merge pull request #12 from zapodot/remove-server-adapter-field
remove NPE by always calling getChannel().getServerAdaptor(). Solves f…
zapodot commentedon Apr 29, 2013
Any change of a new release version including this change, @chirino ?