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

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

Tamilmaran created AMQNET-453:
---------------------------------

             Summary: 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


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}



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