Skip to content

createTemporaryQueue and createTemporaryTopic fails in non-transacted environment #10

Open

Description

@zapodot

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

  1. zapodot commented on Apr 19, 2013

    @zapodot
    ContributorAuthor

    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

  2. added a commit that references this issue on Apr 24, 2013
  3. zapodot commented on Apr 29, 2013

    @zapodot
    ContributorAuthor

    Any change of a new release version including this change, @chirino ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions