WebSphere WebSphere Enterprise Service Bus V6.0.1 操作系统: AIX, HP-UX, Linux, Solaris, Windows

配置缺省事件消息传递

异步事件传输的缺省消息传递配置将 WebSphere ESB 缺省消息传递功能用作 Java 消息服务(JMS)提供程序。

执行此任务的目的和时间

default-event-message.jacl 脚本提供了一种方法,通过将 WebSphere 缺省消息传递功能用作 JMS 提供程序,可以让您迅速设置缺省消息传递配置。此脚本将建立所有异步事件传输所需的配置对象:

要配置缺省消息传递:

完成此任务需要执行的步骤

  1. 转至 profile_path/event/application 目录,以获取用于定义想要配置缺省消息传递的 WebSphere ESB 运行时环境的概要文件。 (将 profile_path 替换为包含 WebSphere ESB 概要文件的目录。)
  2. 使用 wsadmin 命令来运行 default-event-message.jacl 脚本:
    For Windows platforms Windows 系统
    profile_path\bin\wsadmin [conntype -none] -profile event-profile.jacl
      -f default-event-message.jacl -action action -earfile event-message.ear
      -node node_name -server server_name
      [-cluster cluster_name] [-appname app_name] [-trace]
    LINUX platforms For AIX platforms Linux 和 UNIX 系统
    profile_path/bin/wsadmin.sh [conntype -none] -profile event-profile.jacl
      -f default-event-message.jacl -action install -earfile event-message.ear
      -node node_name -server server_name
      [-cluster cluster_name] [-appname app_name] [-trace]
    参数如下所示:
    node_name
    WebSphere ESB 节点,将在其中部署消息传递应用程序。要确定节点名:
    1. 运行 profile_path/bin/setupCmdLine 脚本。
    2. 对于 Linux 或 UNIX 系统,运行 echo $WAS_NODE 命令,对于 Windows 系统,运行 echo %WAS_NODE% 命令。
    此值是区分大小写的。如果要在集群中部署应用程序,则省略此参数。
    server_name
    将在其中部署消息传递应用程序的 WebSphere 服务器。此值是区分大小写的。如果要在集群中部署应用程序,则省略此参数。
    cluster_name
    想要在其中部署消息传递应用程序的 WebSphere 集群。仅当要在集群中配置消息传递并且未指定节点和服务器时,才应指定此参数。
    注: 缺省消息传递配置使用 Cloudscape 事件数据库。Cloudscape 数据库不支持在生产环境中进行集群。可使用 WebSphere Process Server 管理控制台来指定另一消息传递引擎,同时指定连接至支持多个连接的事件数据库的数据源。
    app_name
    要用于消息传递企业应用程序的名称。此参数是可选的;缺省值为 EventServerMdb

    可选 -trace 参数会导致标准输出中显示其他调试信息。

    注:
    • 如果指定 event-message.ear 文件位置的标准路径,则确保路径中使用的是正斜杠(/),即使在 Windows 系统上也是如此。
    • 如果要在独立节点上部署消息传递应用程序,则指定可选 -conntype none 参数以按本地方式运行 wsadmin
    启动脚本后,系统将提示您输入 JMS 用户标识和密码。

任务主题

使用条款 | 评价此页

Timestamp icon上次更新时间: 3 Mar 2006
http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.websphere.wesb.doc.nl1_6.0.1\doc\tcei_install_configureDefaultMessaging.html

(C) Copyright IBM Corporation 2005, 2006. All Rights Reserved.
本信息中心基于 Eclipse 技术。(http://www.eclipse.org)