Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Remote » SQL Remote 部署和管理 » SQL Remote 管理 » 控制消息大小

 

编码:防止消息损坏

SQL Remote 会对消息进行编码,以确保消息经过消息系统时不会损坏。SQL Remote 的缺省消息编码行为如下:

  • 如果消息系统可支持二进制消息格式,则不对消息进行编码。

  • 如果消息系统(例如 SMTP)需要基于文本的消息格式,则编码 DLL (dbencod.dll) 会在发送消息之前将其转换为文本格式。在接收端,将使用相同的 DLL 对消息格式进行解码。

    可以自定义编码方案以提供额外功能。请参见创建自定义编码方案

  • 如果数据库选项 compression 已设置为 -1,则与版本 5 兼容的编码可用于所有消息系统。请参见升级 SQL Remote


创建自定义编码方案