About this task
The channel component is restructured in BTT version 7.0.
Besides
ChannelRequest and
ChannelResponse,
which help to achieve protocol and channel independency, there are
some other changes in structure and code, including:
- In BTT version 5.2, CSReqServlet implements ChannelDriver.
In BTT version 7.0, CSReqServlet is only a servlet
and does not implement ChannelDriver interface.
- BTT version 7.0 introduces a BTTChannelDriver class,
which implements ChannelDriver interface.
- Because BTTChannelDriver implements ChannelDriver in
BTT version 7.0. Some functions and methods in CSReqServlet are
not in ChannelDriver.
To migrate the customer extended channel request handler and
response handler, you only need to refactor your application to the
BTT version 7.0 new channel interface and move some methods and logic
to the classes in BTT version 7.0.