[jboss-jira] [JBoss JIRA] (WFLY-7249) [GSS](7.0.z) generic-jms-ra's JmsMCFProperties.getSessionDefaultType returns incorrect value for session type

Brad Maxwell (JIRA) issues at jboss.org
Fri Sep 30 23:58:00 EDT 2016


Brad Maxwell created WFLY-7249:
----------------------------------

             Summary: [GSS](7.0.z) generic-jms-ra's JmsMCFProperties.getSessionDefaultType returns incorrect value for session type
                 Key: WFLY-7249
                 URL: https://issues.jboss.org/browse/WFLY-7249
             Project: WildFly
          Issue Type: Bug
          Components: JMS
    Affects Versions: 10.1.0.Final
            Reporter: Brad Maxwell
            Assignee: Tom Ross


The code snippet shows that the method returns wrong type.

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




--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list