2 Replies Latest reply on Oct 22, 2007 4:10 AM by Sebastian

    original.queue.name

    Sebastian Newbie

      Hi,

      I've got problem to identify the orginal queue on JMS Gateway. My configuration is following:

      <jms-bus busid="mdsEsbOM">
       <jms-message-filter dest-type="QUEUE" dest-name="queue/mds_OmGateway"/>
       </jms-bus>
       <jms-bus busid="mdsEsbInternalBus">
       <jms-message-filter dest-type="QUEUE" dest-name="queue/mds_InternalQueue"/>
       </jms-bus>

      and the services section:
      <listeners>
       <jms-listener name="JMS-Gateway"
       busidref="mdsEsbOM"
       maxThreads="1"
       is-gateway="true" />
       <jms-listener name="InternalJMSESBListner"
       busidref="mdsEsbInternalBus"
       maxThreads="1" />
       </listeners>

      my action class:
      message.getProperties().getProperty("org.jboss.soa.esb.gatway.original.queue.name");


      I'm getting null here. I'm trying to get the orginal gateway, in my example queue/mds_OmGateway to identify the calling system and do futher steps (in first without check the contents of message body). Any sugesstions?

      Sebcio