camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-597) [patch] faulty ctor initialization
Date Mon, 09 Jun 2008 19:29:00 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Brosius updated CAMEL-597:
-------------------------------

    Attachment: faulty_ctor_initialization.patch

> [patch] faulty ctor initialization
> ----------------------------------
>
>                 Key: CAMEL-597
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-597
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-jms
>    Affects Versions: 1.3.0
>            Reporter: Dave Brosius
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.4.0
>
>         Attachments: faulty_ctor_initialization.patch, faulty_ctor_initialization.patch
>
>
> JmsQueueEndpoint has faulty initialization logic, checking a parameter and if null, setting
that parameter. The code should be setting the member variable instead.
> Code was
>      public JmsQueueEndpoint(String uri, JmsComponent component, String destination,
>              JmsConfiguration configuration, QueueBrowseStrategy queueBrowseStrategy)
{
>          super(uri, component, destination, false, configuration);
>          this.queueBrowseStrategy = queueBrowseStrategy;
>          if (queueBrowseStrategy == null) {
>             queueBrowseStrategy = createQueueBrowseStrategy();
>          }
>      }
>  
> patch fixes this (two places)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message