一大波更新来了。

4.80.00 March 30 2015

Important notes (changes that may break existing code)
        ======================================================
        * Changed messaging transport event OnServerRequestException to OnServerException.
        * Removed NeverTimeout property from TkbmMWActor. Replaced by MaxIdleTime.
        * Removed threaded distributed delivery from hub as it was defunct and needs to be created from new
           using the new processor classes.

New stuff
        =========
        - Added support for XE8.
        - Changed server messaging transport to use a queue and a processor for server
           request/service calls instead of the old custom way.
        - Added public property ServerQueue on server messaging transport to
           optionally allow for providing a custom queue (eg. memory or file based) instead of
           the default used TkbmMWMemoryMessageQueue for server request/service call messages.
        - Added public properties ServerQueueProcessor, InboundQueueProcessor, OutboundQueueProcessor
           on server messaging transport to optionally allow for other custom processors instead of the
           default defined by the transport (typical TkbmMWSAFServerInboundQueueProcessor,
           TkbmMWSAFHubOutboundQueueProcessor, TkbmMWCustomServerMessageQueueProcessor).
           Various options are available via the properties at runtime to setup forexample PoolSize and
           PoolQueueSize which defines number of threads and allowed outstanding number of requests on a thread).
           This replaces old server transport PoolSize property. Default is PoolSize=1 and PoolQueueSize=5.
        - Added mwsloPreferWideMemoOverMemo and mwsloPreferWideStringOverString options to kbmMWSQLite.
           Makes it optional to auto map string/memo field types to widestring/widememo field types.
           As string/memo is already unicode aware, its less reason for remapping to the wide versions
           automatically.
        - Added new Distribution property to SubjectHeader of messages. It will allow for indicating grouping
           and thus sequence of messages when being processed server side by group aware processors.
           In the future it will also allow for designating a named queue for a message or an exchange.
           Syntax:
              name            - Push message on named queue
              Q:name          - Push message on named queue
              E:name          - Push message via given exhange

G:name            - Push message on default queue under group name and process message sequential via group.
              G:name/H(OLD)     - Push message on default queue under group name and hold message in that group.
              G:name/C(OMMIT)   - Push message on default queue under group name and commit all held messages in that group sequentially.
              G:name/R(OLLBACK) - Push message on default queue under group name and rollback (delete) this and all held messages in that group.

Q:name:group            - Push message on named queue under given group name and process message sequential via group.
              Q:name:group/H(OLD)     - Push message on named queue under given group name. Hold message.
              Q:name:group/C(OMMIT)   - Push message on named queue under given group name. Commit all held messages in that group in that queue sequentially.
              Q:name:group/R(OLLBACK) - Push message on named queue under given group name. Rollback (delete) this and all held messages in that group in that queue.

E:name:group            - Push message via given exchange under given group name and process message sequential via group.
              E:name:group/H(OLD)     - Push message via given exchange under given group name. Hold message in receiving queues.
              E:name:group/C(OMMIT)   - Push message via given exchange under given group name. Commit all held messages in that group in receiving queues sequentially.
              E:name:group/R(OLLBACK) - Push message via given exchange under given group name. Rollback (delete) this and all held messages in receiving queues.

name and group are case insensitive.
           Holding messages means that they are pushed on a queue, but not made available for processors until commit.
        - Removed QUE. message type as named queues will be handled by the distribution subject header, in the future.
        - Added kbmMWGetUserLoginName, kbmMWGetUserFullName, kbmMWGetDomainServerName, kbmMWGetDomainUserFullName in kbmMWGlobal.pas
           (the later two only for Windows)
        - Added property MaxIdleTime on TkbmMWActor. Can be -1 to use default, 0 for never to time out, or another value to indicate timeout for that
           actor when logged in.
        - Added Distribution string property to TkbmMWCustomClient when WIB is licensed.
        - Reintroduced new fast TkbmMWEvent lockfree event. Thus 3 different event mechanisms can be used
           in kbmMW depending on settings in kbmMWConfig.inc.
           Define {$DEFINE KBMMW_SUPPORT_FASTEVENT} for using C4Ds fast lockfree event mechanism.
           Define {$DEFINE KBMMW_SUPPORT_LIGHTWEIGHTEVENT} for using Embarcadero's lightweight event mechanism.
           Define none of the above to fall back and use Embarcaderos TEvent.
           Notice it has been seen that Embarcaderos TLightWeightEvent is not stable in a production environment
             and may end up vast amounts of CPU cycles due to it entering some sort of deadlock situation.
           C4Ds own TkbmMWEvent is very fast and seems to be stable, but it shouldnt be enabled on a production environment before
             having tested the system under load for a period of time. Internal tests indicates it to be stable, however better be safe than sorry.
           TEvent is the old mutex based event mechanism which is very slow and results in large amounts of context switches when
             used often. Its stable but performs quite bad.
        - Added TkbmMWDuration record which holds a duration value to kbmMWDateTime.pas.
           It can be used by it self or in combination with TkbmMWDateTime which now fully supports
           duration values, including calculations.
        - Added a number of message and queue processor components:
           TkbmMWSyncMessageProcessor, TkbmMWAsyncMessageProcessor, TkbmMWSyncMessageQueueProcessor,
           TkbmMWAsyncMessageQueueProcessor, TkbmMWMultithreadMessageQueueProcessor, TkbmMWGroupedMultithreadMessageQueueProcessor
        - Added mwmqoDisableBatching message queue option to actively disable batching of messages that is requested to be batched and can be batched.
        - Added support for tentatively pushing messages on a queue by additional optional boolean argument to PushMessage.
        - Added CommitMessagePush and RollbackMessagePush.
           A tentatively pushed message is on the queue, but not visible to processors popping messages off the queue,
           until the message push is committed.
        - Added public property SubjectHeaderVersion on client and server messaging transports.
           If set to <>0, will force the outbound messages to be streamed with the given subject header version
           regardless of what the message itself is set to or what has been defined as default.

Changes/minor additions
        =======================
        - Published LargeAsNative in TkbmMWBinaryStreamFormat.
        - Modified kbmMWDebugDumpMemory to output 32 bytes per line nicely formatted instead of only 8 bytes.
        - Changed messaging transport event OnServerRequestException to OnServerException.
        - Removed NeverTimeout property from TkbmMWActor. Replaced by MaxIdleTime.
        - Removed threaded distributed delivery from hub as it was defunct and needs to be created from new
           using the new processor classes.
        - Improved messaging transports to be able to auto adapt to older subject header versions.
        - Improved precision on kbmMWGetCurrentTimeNS for Windows. Now its precise to approx 15ms.
        - Ensured that REQ/SRV messages are not committed on the inbound queue until they have been
           processed by the TkbmMWServer instance even though they are pushed on intermediate queues.
        - Added Count and Instance properties to TkbmMWServiceInstances to enable easier access from C++.
           Notice you should lock before and unlock after if you will attempt to loop through all instances
           as the number may change at any time if not locked.

Fixes
        =====
        - Fixed thread leak in TkbmMWCustomThread.
        - Fixed memory leak in TkbmMWJSONStreamFormat.
        - Fixed case issue with 'hidden' attribute in TkbmMWJSONStreamFormat.
        - Fixed SQLiteServer demo which was referencing unneeded AMF3 streamformat.
        - Fixed C++ XE2-XE5 unable to link with TPerlRegEx.
        - Fixed transaction sharing issue in FireDAC adapter which caused instability.
        - Fixed thread leak issue related to transport heartbeat thread.
        - Added ValueFromUTF16String and ValueToUTF16String methods to TkbmMWJSONMarshal.
           Exiksting ValueFromString and ValueToString encodes/decodes in UTF8 format.

KBMMW 4.80.00 发布的更多相关文章

  1. kbmmw 5.05.00 发布

    新年前最后几天,kbmmw 发布了新版本,增加一大波功能.we are happy to announce v5.05.50 of our popular middleware for Delphi ...

  2. KbmMW 4.30.00 发布

    今天早上,KbmMW发布了4.30.00 版,这个版本开始支持XE4 的WIN/WIN64/OSX. 暂时不支持ios开发,同时加强了通过JSON 的对象序列化.还有就是解决了我提交的几个有关 汉字处 ...

  3. KBMMW 4.92.00 发布

    We are happy to announce the release of kbmMW Professional and Enterprise Edition. Yet again kbmMW c ...

  4. KBMMW 4.90.00 发布

    kbmMW is a portable, highly scalable, high end application server andenterprise architecture integra ...

  5. KBMMW 4.84.00 发布

    kbmMW is a portable, highly scalable, high end application server and enterprise architecture integr ...

  6. KBMMW 4.83.00 发布

    新版本又来了,端午节都不让大家过好:) 这次终于支持ios 64了,不用我再手工改了. Components4Developers is a company established in 1999 w ...

  7. KBMMW 4.82.00 发布

    作者最近加紧了更新进度,赞一个. 时间都去哪儿了? 还没好好看4.81, 新版就来了. 这个版本主要是增强日志管理,已经强大到替换delphi 本身的异常处理了. We are happy to an ...

  8. KBMMW 4.70.00 发布

    We are happy to announce the release of kbmMW v. 4.70.00 Professional and Enterprise Edition. kbmMW ...

  9. kbmmw 5.10.00 发布

    We are happy to announce v5.10.00 of the most complete development add on for Delphi and C++Builder ...

随机推荐

  1. apache http get 和 post 请求

    1.首先要把jar依赖进项目 <dependency> <groupId>org.apache.httpcomponents</groupId> <artif ...

  2. MyEclipse: Java代码与UML自动转换

    第一步:新建UML2 第二步:拖拽左边的代码向右侧

  3. VBA 调用DLL动态链接库

    在ArcMap中引用动态链接库       我在VB6下编译生成了一个动态链接库文件VBAPrj.dll,其中有一类模块VBACls,此类模块有一个方法Test(Doc As Object).     ...

  4. 序列化和反序列化(json 和pickle)dumps 为序列化, json为反序列化

    json 可以在不同语言中进行使用 下面先介绍一下json的适用方法 import json, pickle t1 = { 'name':'alex', ', ' } t1 = json.dumps( ...

  5. vmware esxi6.5安装使用教程(图文安装)

    准备工作: 下载ESXI5.5镜像和client客户端. 将ISO写入到U盘或是刻录光盘然后启动安装. 一.开始安装 欢迎界面 协议界面 安装在本地 键盘的键入方式 设置登录密码 开始安装 重启 安装 ...

  6. 让旧版本的 Flash IDE 支持更新的 Flash Player/AIR 功能

    转载:https://blog.zengrong.net/post/1568.html 让旧版本的 Flash IDE 支持更新的 Flash Player/AIR 功能 今天在论坛上看到一篇文章:H ...

  7. SpringMvc Intercetor

    对于登录的访问控制以及session的超时控制. 当用户在未登录情况下,直接在地址栏输入url进入某些页面时,会越过登录页,如果不做控制会有安全问题. 因此可添加拦截器处理异常: /** * @Des ...

  8. 在客户端浏览器中点击下载生成excel

    生成excel的样式,里面的数据已经写好,使用apache,poi来写的. 1.首先是controller /** *下载服务结构体Excel * *@return */ @RequestMappin ...

  9. Tomcat SSL配置及Tomcat CA证书安装

    Tomcat既可以作为独立的Servlet容器,也可以作为其他HTTP服务器附加的Servlet容器.如果Tomcat在非独立模式下工作, 通常不必配置SSL,由它从属的HTTP服务器来实现和客户的S ...

  10. Structs配置文件 zg项目介绍

    Structs配置文件 1.以系统代码为名称 例: