Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-7202

generic-jms-ra's JmsMCFProperties.getSessionDefaultType returns incorrect value for session type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.0.0.Final
    • 10.1.0.Final
    • JMS
    • None

      The code snippet shows that the method returns wrong type.

      public String getSessionDefaultType() {
              if (type == JmsConnectionFactory.AGNOSTIC)
                  return "agnostic";
              else if (type == JmsConnectionFactory.QUEUE)
                  return TOPIC_TYPE;
              else
                  return QUEUE_TYPE;
          }
      

            rhn-support-toross Tom Ross
            rhn-support-toross Tom Ross
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: