[ https://issues.apache.org/jira/browse/AMQNET-453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tamilmaran updated AMQNET-453: ------------------------------ Description: 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 was: we are going to filter messages based on the type sent through NMSType of message header I have 5 classes in two solutions. In both the solutions classes are same but the namespace is different. Publishing side i am sending the NMSType as JackpotHitEvent. but on subscription side it is looking for same with Namespace of the class. so i am unable to filter the messages Example code {code} namespace FloorEventMessagePrototype { public class JackpotHitEvent : FloorEvent, IJackpotHitEvent { } } {code} {code} //for filter i have to give like below or else filter is not working public const string Filter = "JMSType = 'FloorEventMessagePrototype.JackpotHitEvent'"; {code} > 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)