Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-1756

Resource Adapter's ManagedSessionProxy.setMessageListener is commented out.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 5.0.0, 5.1.0
    • 5.2.0
    • Connector, JCA Container
    • None

    Description

      In the org.apache.activemq.ra.ManagedSessionProxy class the setMessageListener method doesn't do anything;.

      This prevents the MessageListener from being added to the Session and that makes it kind of hard to listen to messages.

      It seems quite probable that this is just a quick debugging fix that accidentally made it into subversion; but if there is some reason for this that I can't see please let me know.

      The code:
      public void setMessageListener(MessageListener listener) throws JMSException

      { getSession(); // .setMessageListener(listener); }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rajdavies Robert Davies
            mtrimpe Michiel Trimpe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Issue deployment