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

RH Bugzilla Integration (JIRA) issues at jboss.org
Tue Nov 22 11:16:00 EST 2016


    [ https://issues.jboss.org/browse/WFLY-7202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13326566#comment-13326566 ] 

RH Bugzilla Integration commented on WFLY-7202:
-----------------------------------------------

Peter Mackay <pmackay at redhat.com> changed the Status of [bug 1378723|https://bugzilla.redhat.com/show_bug.cgi?id=1378723] from ON_QA to VERIFIED

> generic-jms-ra's JmsMCFProperties.getSessionDefaultType returns incorrect value for session type
> ------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-7202
>                 URL: https://issues.jboss.org/browse/WFLY-7202
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 10.1.0.Final
>            Reporter: Tom Ross
>            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
(v7.2.3#72005)


More information about the jboss-jira mailing list