Sunny
7/26/2004 3:46:00 PM
Hi,
In article <u8hdPsxcEHA.1764@TK2MSFTNGP10.phx.gbl>, jon.turner@mail.com
says...
>
> MY question is this. I am not using RemotingConfiguration.Configure on my
> client. I am using the following
> ChannelServices.RegisterChannel(New HttpChannel(properties, New
> BinaryClientFormatterSinkProvider, Nothing))
>
> MY question is How do I add my custom sink JTHCompressionSink to the
> chain.without using the RemotingConfiguration.Configure call ?
>
> Many Thanks
>
Try:
BinaryClientFormatterSinkProvider formatter = new ...
fomatter.Next = new CompressionClientSinkProvider();
ChannelServices.RegisterChannel(New HttpChannel(properties, formatter,
Nothing));
This should place your sink after the formater sink.
Sunny