1 Reply Latest reply on Dec 23, 2010 6:17 AM by beve

    Cretion of Action instances

    dushmanlk

      Dear all,

       

      When creating action pipeline for a service, I noticed two instances of objects are created.

       

      ex:      <actions mep="OneWay">
                       <action name="feedVoiceCallEvent" class="lk.dialog.charging.cep.feeders.StatefullINUDPVoiceEventFeeder"></action>
                  </actions>                                                     

       

      In above code when defining StatefullINUDPVoiceEventFeeder I extended the AbstractActionPipelineProcessor and placed a logging in constarctor. when i deployed this to Jboss at the deploy time logging got printed twice indicating calling constructor twice.  Is this possible? or could it be my fault?

        • 1. Re: Cretion of Action instances
          beve

          Hi,

           

          this should happing but might if your logging configuration is not in order.

          If you try one of the quickstarts to see if also logs twice?

          For example, you could try the custom_action quickstart and add logging to it.

           

          Regards,

           

          /Daniel