Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-453

unable to filter the messages with out names space of the TYpe

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: 1.6.0
    • Fix Version/s: None
    • Component/s: ActiveMQ, NMS
    • Labels:
      None
    • Environment:

      C#-2010
      NMS API 1.6.0

      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

      namespace Publisher
      {
          public class HitEvent : FloorEvent, IHitEvent
          {
           }
      }
      
      namespace Subscriber
      {
          public class HitEvent : FloorEvent, IHitEvent
          {
           }
      }
      

      Created Filter as below for the consumer

      //for filter i have to give like below or else filter is not working
      public const string Filter = "JMSType = 'HitEvent'";
      

      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

        Attachments

          Activity

            People

            • Assignee:
              jgomes Jim Gomes
              Reporter:
              tamilmaran Tamilmaran
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: