2 Replies Latest reply on Sep 16, 2010 5:05 AM by seb fou

    Tracefilter configuration on JBossESB

    Christophe BEAUVERGER Newbie

      Hi,

      I've followed Administration Guide to enable trace filter on JBossESB.

      I've updated "deploy\jbossesb.sar\jbossesb-properties.xml"

      <properties name="filters">
       <property name="org.jboss.soa.esb.filter.1" value="org.jboss.internal.soa.esb.message.filter.MetaDataFilter"/>
       <property name="org.jboss.soa.esb.filter.2" value="org.jboss.internal.soa.esb.message.filter.GatewayFilter"/>
       <property name="org.jboss.soa.esb.filter.3" value="org.jboss.internal.soa.esb.message.filter.TraceFilter"/>
       </properties>


      and

      <properties name="core">
       <property name="org.jboss.soa.esb.jndi.server.context.factory" value="org.jnp.interfaces.NamingContextFactory"/>
       <property name="org.jboss.soa.esb.jndi.server.url" value="${jboss.esb.bind.address}:1099"/>
       <property name="org.jboss.soa.esb.persistence.connection.factory" value="org.jboss.internal.soa.esb.persistence.format.MessageStoreFactoryImpl"/>
       <property name="org.jboss.soa.esb.loadbalancer.policy" value="org.jboss.soa.esb.listeners.ha.RoundRobin"/>
       <property name="jboss.esb.invm.scope.default" value="NONE"/>
       <property name="org.jboss.soa.esb.messagetrace" value="ON"/>
       </properties>



      I see no trace in console.

      Can you give me more information because the guide is a little poor on that aspect ?

        • 1. Re: Tracefilter configuration on JBossESB
          Brent Sordyl Newbie

          The org.jboss.soa.esb.messagetrace property needs to be defined in the filters properties section:

           

          <properties name="filters">       

             <property name="org.jboss.soa.esb.filter.1" value="org.jboss.internal.soa.esb.message.filter.MetaDataFilter"/>            
             <property name="org.jboss.soa.esb.filter.2" value="org.jboss.internal.soa.esb.message.filter.GatewayFilter"/>        
          <!-- add the logging MetaData Filter for message tracing -->        
             <property name="org.jboss.soa.esb.filter.3" value="org.jboss.internal.soa.esb.message.filter.TraceFilter"/>      

          <!-- enable global message tracing -->        
             <property name="org.jboss.soa.esb.messagetrace" value="ON"/>    
          </properties>

          • 2. Re: Tracefilter configuration on JBossESB
            seb fou Newbie

            you can also add this in filters properties section

            <property name="org.jboss.soa.esb.permessagetrace" value="on"/>