You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by ivan <iv...@dhousestudio.com> on 2008/10/27 08:40:34 UTC
Correct shutdown of SMX
Hi!
I have running SMX and some service processes MessageExchange.
I would like to stop JBI container, but "cleanly".
I mean, to allow active service to finish processing of MessageExchange,
and then stop container.
Is it possible?
Truly yours, Ivan Pryvalov.
Re: Correct shutdown of SMX
Posted by ivan <iv...@dhousestudio.com>.
Hi!
Is it possible somehow to know if some SA (or SU) is processing
MessageExchange or not?
Truly yours,
Ivan Pryvalov.
ivan пишет:
> Guillaume Nodet пишет:
>> The stop will be immediate. In smx 3.3, when a SA is in a stopped
>> state, exchange will be processed, but consumer endpoint will not
>> accept new external requests (i.e. no new HTTP requests, no new JMS
>> messages, etc...)
>
>
> I use SMX 3.2.1 and after SA.stop(), exchange continues processing, but
> new messages are not processed.
> In case JBIContainer.stop(), really, exchange is interrupted.
>
>>
>> On Mon, Oct 27, 2008 at 10:44 AM, ivan <iv...@dhousestudio.com> wrote:
>>> Guillaume Nodet пишет:
>>>> It will be possible in 3.3 which should be out very shortly.
>>>> This will still involve a manual step at this time (i.e. stop the
>>>> service assemblies, then shut them down once all exchanges have been
>>>> processed).
>>> Ok, I use stop SA. But if SU in SA is processing now MessageExchange,
>>> how
>>> can I know, when SA stopped (after processing)?
>>> Is there some notification or return-status-method via JMX?
>>>
>>>
>>> Thanks, Ivan Pryvalov.
>>>
>>>
>>>>
>>>> On Mon, Oct 27, 2008 at 8:40 AM, ivan <iv...@dhousestudio.com> wrote:
>>>>> Hi!
>>>>>
>>>>> I have running SMX and some service processes MessageExchange.
>>>>>
>>>>> I would like to stop JBI container, but "cleanly".
>>>>> I mean, to allow active service to finish processing of
>>>>> MessageExchange,
>>>>> and
>>>>> then stop container.
>>>>> Is it possible?
>>>>>
>>>>>
>>>>> Truly yours, Ivan Pryvalov.
>>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
>
Re: Correct shutdown of SMX
Posted by ivan <iv...@dhousestudio.com>.
Guillaume Nodet пишет:
> The stop will be immediate. In smx 3.3, when a SA is in a stopped
> state, exchange will be processed, but consumer endpoint will not
> accept new external requests (i.e. no new HTTP requests, no new JMS
> messages, etc...)
I use SMX 3.2.1 and after SA.stop(), exchange continues processing, but
new messages are not processed.
In case JBIContainer.stop(), really, exchange is interrupted.
>
> On Mon, Oct 27, 2008 at 10:44 AM, ivan <iv...@dhousestudio.com> wrote:
>> Guillaume Nodet пишет:
>>> It will be possible in 3.3 which should be out very shortly.
>>> This will still involve a manual step at this time (i.e. stop the
>>> service assemblies, then shut them down once all exchanges have been
>>> processed).
>> Ok, I use stop SA. But if SU in SA is processing now MessageExchange, how
>> can I know, when SA stopped (after processing)?
>> Is there some notification or return-status-method via JMX?
>>
>>
>> Thanks, Ivan Pryvalov.
>>
>>
>>>
>>> On Mon, Oct 27, 2008 at 8:40 AM, ivan <iv...@dhousestudio.com> wrote:
>>>> Hi!
>>>>
>>>> I have running SMX and some service processes MessageExchange.
>>>>
>>>> I would like to stop JBI container, but "cleanly".
>>>> I mean, to allow active service to finish processing of MessageExchange,
>>>> and
>>>> then stop container.
>>>> Is it possible?
>>>>
>>>>
>>>> Truly yours, Ivan Pryvalov.
>>>>
>>>
>>>
>>
>
>
>
Re: Correct shutdown of SMX
Posted by Guillaume Nodet <gn...@gmail.com>.
The stop will be immediate. In smx 3.3, when a SA is in a stopped
state, exchange will be processed, but consumer endpoint will not
accept new external requests (i.e. no new HTTP requests, no new JMS
messages, etc...)
On Mon, Oct 27, 2008 at 10:44 AM, ivan <iv...@dhousestudio.com> wrote:
> Guillaume Nodet пишет:
>>
>> It will be possible in 3.3 which should be out very shortly.
>> This will still involve a manual step at this time (i.e. stop the
>> service assemblies, then shut them down once all exchanges have been
>> processed).
>
> Ok, I use stop SA. But if SU in SA is processing now MessageExchange, how
> can I know, when SA stopped (after processing)?
> Is there some notification or return-status-method via JMX?
>
>
> Thanks, Ivan Pryvalov.
>
>
>>
>>
>> On Mon, Oct 27, 2008 at 8:40 AM, ivan <iv...@dhousestudio.com> wrote:
>>>
>>> Hi!
>>>
>>> I have running SMX and some service processes MessageExchange.
>>>
>>> I would like to stop JBI container, but "cleanly".
>>> I mean, to allow active service to finish processing of MessageExchange,
>>> and
>>> then stop container.
>>> Is it possible?
>>>
>>>
>>> Truly yours, Ivan Pryvalov.
>>>
>>
>>
>>
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com
Re: Correct shutdown of SMX
Posted by ivan <iv...@dhousestudio.com>.
Guillaume Nodet пишет:
> It will be possible in 3.3 which should be out very shortly.
> This will still involve a manual step at this time (i.e. stop the
> service assemblies, then shut them down once all exchanges have been
> processed).
Ok, I use stop SA. But if SU in SA is processing now MessageExchange,
how can I know, when SA stopped (after processing)?
Is there some notification or return-status-method via JMX?
Thanks, Ivan Pryvalov.
>
>
> On Mon, Oct 27, 2008 at 8:40 AM, ivan <iv...@dhousestudio.com> wrote:
>> Hi!
>>
>> I have running SMX and some service processes MessageExchange.
>>
>> I would like to stop JBI container, but "cleanly".
>> I mean, to allow active service to finish processing of MessageExchange, and
>> then stop container.
>> Is it possible?
>>
>>
>> Truly yours, Ivan Pryvalov.
>>
>
>
>
Re: Correct shutdown of SMX
Posted by Guillaume Nodet <gn...@gmail.com>.
It will be possible in 3.3 which should be out very shortly.
This will still involve a manual step at this time (i.e. stop the
service assemblies, then shut them down once all exchanges have been
processed).
On Mon, Oct 27, 2008 at 8:40 AM, ivan <iv...@dhousestudio.com> wrote:
> Hi!
>
> I have running SMX and some service processes MessageExchange.
>
> I would like to stop JBI container, but "cleanly".
> I mean, to allow active service to finish processing of MessageExchange, and
> then stop container.
> Is it possible?
>
>
> Truly yours, Ivan Pryvalov.
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com