You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Michele Mazzucco <Mi...@ncl.ac.uk> on 2007/02/14 10:58:36 UTC

Re: [Axis2] ServiceClient question

Hi Chamikara,

what about I want to use my custom configuration ctx across different
service clients (the conf. ctx uses a multithreaded connection manager)?
Is it still ok to call configurationContext.getListenerManager().stop();
?


Thanks,
Michele

On Tue, 2006-10-24 at 09:58 +0530, Chamikara Jayalath wrote:
> To stop the listner yourself you will have to call the following
> method as well.
> 
> configurationContext.getListenerManager().stop();
> 
> Chamikara
> 
> 
> On 10/24/06, Deepal Jayasinghe <de...@opensource.lk> wrote:
>         Hi Michele;
>         
>         Yes , cleanup is enough.
>         Note : when you are creating service client if you pass your
>         own
>         configctx , then it will not stop the started listeners , but
>         if you
>         create that with default constructor it does. 
>         
>         Thanks
>         Deepal
>         
>         >Hi all,
>         >
>         >what should I use instead of the
>         ServiceClient.finalizeInvoke() call
>         >(which I guess has been removed)? Is the cleanup() call
>         enough?
>         >
>         >Thanks, 
>         >Michele
>         >
>         >---------------------------------------------------------------------
>         >To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org 
>         >For additional commands, e-mail: axis-user-help@ws.apache.org
>         >
>         >
>         >
>         >
>         >
>         
>         --
>         Thanks,
>         Deepal
>         ................................................................ 
>         ~Future is Open~
>         
>         
>         
>         ---------------------------------------------------------------------
>         To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>         For additional commands, e-mail: axis-user-help@ws.apache.org
>         
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] ServiceClient question

Posted by Michele Mazzucco <Mi...@ncl.ac.uk>.
Thanks.

Michele

On Wed, 2007-02-21 at 05:49 +0530, Chamikara Jayalath wrote:
> Hi Michele,
> 
> There is only one listener instance per configuration context. So in
> this case you will have to make sure that all the ServiceClients hv
> done with the listener, before stopping it.
> 
> Chamikara
> 
> 
> On 2/14/07, Michele Mazzucco <Mi...@ncl.ac.uk> wrote:
>         Hi Chamikara,
>         
>         what about I want to use my custom configuration ctx across
>         different
>         service clients (the conf. ctx uses a multithreaded connection
>         manager)?
>         Is it still ok to call configurationContext.getListenerManager
>         ().stop();
>         ?
>         
>         
>         Thanks,
>         Michele
>         
>         On Tue, 2006-10-24 at 09:58 +0530, Chamikara Jayalath wrote:
>         > To stop the listner yourself you will have to call the
>         following
>         > method as well.
>         >
>         > configurationContext.getListenerManager().stop();
>         >
>         > Chamikara
>         >
>         >
>         > On 10/24/06, Deepal Jayasinghe <de...@opensource.lk> wrote:
>         >         Hi Michele; 
>         >
>         >         Yes , cleanup is enough.
>         >         Note : when you are creating service client if you
>         pass your
>         >         own
>         >         configctx , then it will not stop the started
>         listeners , but 
>         >         if you
>         >         create that with default constructor it does.
>         >
>         >         Thanks
>         >         Deepal
>         >
>         >         >Hi all,
>         >         >
>         >         >what should I use instead of the 
>         >         ServiceClient.finalizeInvoke() call
>         >         >(which I guess has been removed)? Is the cleanup()
>         call
>         >         enough?
>         >         >
>         >         >Thanks,
>         >         >Michele 
>         >         >
>         >
>         >---------------------------------------------------------------------
>         >         >To unsubscribe, e-mail:
>         axis-user-unsubscribe@ws.apache.org
>         >         >For additional commands, e-mail:
>         axis-user-help@ws.apache.org
>         >         > 
>         >         >
>         >         >
>         >         >
>         >         >
>         >
>         >         --
>         >         Thanks,
>         >         Deepal
>         >         ................................................................
>         >         ~Future is Open~
>         >
>         > 
>         >
>         >
>         ---------------------------------------------------------------------
>         >         To unsubscribe, e-mail:
>         axis-user-unsubscribe@ws.apache.org
>         >         For additional commands, e-mail:
>         axis-user-help@ws.apache.org
>         >
>         >
>         
>         
>         --------------------------------------------------------------------- 
>         To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>         For additional commands, e-mail: axis-user-help@ws.apache.org
>         
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [Axis2] ServiceClient question

Posted by Chamikara Jayalath <ch...@gmail.com>.
Hi Michele,

There is only one listener instance per configuration context. So in this
case you will have to make sure that all the ServiceClients hv done with the
listener, before stopping it.

Chamikara


On 2/14/07, Michele Mazzucco <Mi...@ncl.ac.uk> wrote:
>
> Hi Chamikara,
>
> what about I want to use my custom configuration ctx across different
> service clients (the conf. ctx uses a multithreaded connection manager)?
> Is it still ok to call configurationContext.getListenerManager ().stop();
> ?
>
>
> Thanks,
> Michele
>
> On Tue, 2006-10-24 at 09:58 +0530, Chamikara Jayalath wrote:
> > To stop the listner yourself you will have to call the following
> > method as well.
> >
> > configurationContext.getListenerManager().stop();
> >
> > Chamikara
> >
> >
> > On 10/24/06, Deepal Jayasinghe <de...@opensource.lk> wrote:
> >         Hi Michele;
> >
> >         Yes , cleanup is enough.
> >         Note : when you are creating service client if you pass your
> >         own
> >         configctx , then it will not stop the started listeners , but
> >         if you
> >         create that with default constructor it does.
> >
> >         Thanks
> >         Deepal
> >
> >         >Hi all,
> >         >
> >         >what should I use instead of the
> >         ServiceClient.finalizeInvoke() call
> >         >(which I guess has been removed)? Is the cleanup() call
> >         enough?
> >         >
> >         >Thanks,
> >         >Michele
> >         >
> >
> >---------------------------------------------------------------------
> >         >To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >         >For additional commands, e-mail: axis-user-help@ws.apache.org
> >         >
> >         >
> >         >
> >         >
> >         >
> >
> >         --
> >         Thanks,
> >         Deepal
> >         ................................................................
> >         ~Future is Open~
> >
> >
> >
> >
> ---------------------------------------------------------------------
> >         To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> >         For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>