You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Michael W Moser (Jira)" <ji...@apache.org> on 2024/02/23 20:27:00 UTC

[jira] [Resolved] (NIFI-6959) JMS Durable subscription does not support filters

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

Michael W Moser resolved NIFI-6959.
-----------------------------------
    Resolution: Fixed

> JMS Durable subscription does not support filters
> -------------------------------------------------
>
>                 Key: NIFI-6959
>                 URL: https://issues.apache.org/jira/browse/NIFI-6959
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.10.0, 1.9.1, 1.9.2
>         Environment: All
>            Reporter: john uiterwyk
>            Priority: Major
>
> The ConsumeJMS processor does not support passing filters when creating a topic subscription.
> This can be seen in line 72 of JMSConsumer.java, where null is passed for the filter when calling :
> |return session.createDurableConsumer((Topic) destination, subscriberName, null, JMSConsumer.this.jmsTemplate.isPubSubDomain());|
> | | |
> Some JMS implementations require a filter when creating a durable subscription for performance reasons. 
> This can be resolved by adding a property 'filter' of type string to the ConsumeJMS processor, and then passing that filter string to the JMSConsumer  method createMessageConsumer and then passing it to the createDurableConsumer method.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)