You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2008/06/09 21:29:00 UTC
[jira] Updated: (CAMEL-597) [patch] faulty ctor initialization
[ 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.