Thanks, I hadn't looked into the channels for this, but looking in
now,
It appears that BaseChannel is also Observable, so if I needed to, I
could set my manager up to pullthis particualr channel out of the
NameRegistrar and observe it.
Checking for when it gets set to unusable, but before the
closeSocket. THe only public method that it appears I could use is
isConnected(), but I imigine I would be checking in my manager
code,
if( obj.isConnected() == false() ){
if ( previous_IsConnectedValue_FromLast_Notify_Call =connected){
yaddayadda;
}
}
If the channel is really unusable, it wont go through, but if its in
the disconnect phase it will.
Does it seem appropriate to use the socket at this time?
Thanks for your time.
On Oct 21, 3:07 pm, Alejandro Revilla <
a...@jpos.org> wrote:
> You can extend the ChannelAdaptor and override the stopService method. There
> you can create a 0800 message and send it to the Space queue, then call
> super.stopService().
>
> Ideally, your ChannelAdaptor implementation could implement
> XmlConfiguration, so you could pull the message to be sent from the XML
> configuration itself (i.e. a <stop> element that could have an inner
> <isomsg>).
>