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

Michael Andre Pearce edited comment on ARTEMIS-2802 at 2/23/21, 2:31 AM:
-------------------------------------------------------------------------

[~jbertram] I modified [^FederatedQueueTest.java]and [^FederatedTestBase.java] 
attached to start up an actual port, instead of invm only, and then adjusted 
the test cases to use the activemq 5.x jms client, and ran the tests, and they 
pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within junit to demonstrate the issue, then we can look at more.

 

>From what i understand, "hyphenated_props:federation-name IS NOT NULL" is a 
>valid filter, infact the extra "hyphenated_props:" prefix on the filter is 
>something [~cshannon] added to fix a filter issue. 


was (Author: michael.andre.pearce):
[~jbertram] I modified [^FederatedQueueTest.java]and [^FederatedTestBase.java] 
attached to start up an actual port, instead of invm only, and then adjusted 
the test cases to use the activemq 5.x jms client, and ran the tests, and they 
pass. So currently im unsure of the issue, it be great if 
FederatedQueueTest.java can be extended with a failure test case that will run 
within junit to demonstrate the issue, then we can look at more.

> 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
>            Priority: Minor
>         Attachments: FederatedQueueTest.java, FederatedTestBase.java
>
>
> 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)

Reply via email to