activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tamilmaran (JIRA)" <jira+amq...@apache.org>
Subject [jira] [Created] (AMQNET-453) unable to filter the messages with out names space of the TYpe
Date Thu, 17 Oct 2013 09:49:41 GMT
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)

Mime
View raw message