You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/01 19:42:00 UTC

[jira] [Commented] (ARTEMIS-2802) Federation not working when clients connect using OpenWire protocol

    [ https://issues.apache.org/jira/browse/ARTEMIS-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293136#comment-17293136 ] 

ASF subversion and git services commented on ARTEMIS-2802:
----------------------------------------------------------

Commit 4c4d7a71cbd665b75aab8bd33f4719220e4dea7d in activemq-artemis's branch refs/heads/master from Christopher L. Shannon (cshannon)
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=4c4d7a7 ]

ARTEMIS-2802: Add a null check when checking matching metaData inside
Federated Queue

Other protocols besides CORE may not have a metadata map so we need to
check for null before passing to the filter matcher


> Federation not working when clients connect using OpenWire protocol
> -------------------------------------------------------------------
>
>                 Key: ARTEMIS-2802
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2802
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: OpenWire
>    Affects Versions: 2.13.0
>            Reporter: jerhat
>            Assignee: Christopher L. Shannon
>            Priority: Minor
>             Fix For: 2.18.0
>
>         Attachments: FederatedQueueTest.java, FederatedTestBase.java
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Reproducible by switching from:
>  
> {code:java}
> import org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory;{code}
>  
> to:
> {code:java}
> import org.apache.activemq.ActiveMQConnectionFactory;{code}
>  
> and adding dependency:
> {code:java}
> <dependency>
>   <groupId>org.apache.activemq</groupId>
>   <artifactId>activemq-client</artifactId>
>   <version>${activemq5-version}</version>
> </dependency>{code}
> to *federated-queue* example.
> Test will fail, below error is logged:
> {{ERROR [org.apache.activemq.artemis.core.server] AMQ224006: Invalid filter: hyphenated_props:federation-name IS NOT NULL}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)