You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2016/08/15 14:22:20 UTC
[jira] [Resolved] (FLINK-4394) RMQSource: The QueueName is not
accessible to subclasses
[ https://issues.apache.org/jira/browse/FLINK-4394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Metzger resolved FLINK-4394.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Thank you for the contribution.
Resolved in http://git-wip-us.apache.org/repos/asf/flink/commit/5ccd9071
> RMQSource: The QueueName is not accessible to subclasses
> --------------------------------------------------------
>
> Key: FLINK-4394
> URL: https://issues.apache.org/jira/browse/FLINK-4394
> Project: Flink
> Issue Type: Bug
> Components: Streaming Connectors
> Affects Versions: 1.1.1
> Reporter: Dominik Bruhn
> Assignee: Dominik Bruhn
> Fix For: 1.2.0
>
>
> In version 1.1.0 we made the RMQSource extensible so that subclasses can configure how they want their queue for RabbitMQ/AMQP create. The subclasses can override
> {code}
> protected void setupQueue() throws IOException {
> channel.queueDeclare(queueName, true, false, false, null);
> }
> {code}
> The problem is, that the queueName property is private. So when override the setupQueue parameter, you don't know what actual queueName was provided. A simple change of the queueName property to protected fixes this.
> PR will follow
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)