[jboss-jira] [JBoss JIRA] (WFLY-7202) generic-jms-ra's JmsMCFProperties.getSessionDefaultType returns incorrect value for session type
Tom Ross (JIRA)
issues at jboss.org
Fri Sep 23 05:00:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-7202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Ross updated WFLY-7202:
---------------------------
Summary: generic-jms-ra's JmsMCFProperties.getSessionDefaultType returns incorrect value for session type (was: JmsMCFProperties.getSessionDefaultType() method in generic-jms-ra returns wrong type.)
> 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
(v6.4.11#64026)
More information about the jboss-jira
mailing list