You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2013/10/17 12:39:44 UTC

[jira] [Commented] (AMQNET-453) unable to filter the messages with out names space of the TYpe

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

Timothy Bish commented on AMQNET-453:
-------------------------------------

So far I don't see anything setting the type field so not sure what you are expecting to happen here. Best bet is to provide a sample unit test that shows your problem.  

> unable to filter the messages with out names space of the TYpe
> --------------------------------------------------------------
>
>                 Key: AMQNET-453
>                 URL: https://issues.apache.org/jira/browse/AMQNET-453
>             Project: ActiveMQ .Net
>          Issue Type: Bug
>          Components: ActiveMQ, NMS
>    Affects Versions: 1.6.0
>         Environment: C#-2010
> NMS API 1.6.0
>            Reporter: Tamilmaran
>            Assignee: Jim Gomes
>
> i am going to use filter in activeMQ based on NMSType of message header
> i have two solutions with different names(i.e. namesspace). Both the solutions have two same classes like below
> {code}
> namespace Publisher
> {
>     public class HitEvent : FloorEvent, IHitEvent
>     {
>      }
> }
> {code}
> {code}
> namespace Subscriber
> {
>     public class HitEvent : FloorEvent, IHitEvent
>     {
>      }
> }
> {code}
> Created Filter as below for the consumer
> {code}
> //for filter i have to give like below or else filter is not working
> public const string Filter = "JMSType = 'HitEvent'";
> {code}
> but on the consumer side activemq checking for type with names space. so i am not receiving the messages 
> can you help me to work with out names spaces



--
This message was sent by Atlassian JIRA
(v6.1#6144)