此内容没有您所选择的语言版本。

3.9. Creating an ESB Action


  1. Open an ESB or Java project.
  2. Select File New Other in the main menu or from the context project menu. Then click ESB ESB Action in the new dialog.
  3. Click Next and you will be brought to the New ESB Action wizard where the class name should be specified. You can also set a package or add an interface.
  4. JBoss ESB 4.9 introduced a new set of Action Annotations. The new set of Action Annotations help make it easier to create clean ESB Action implementations by hiding the complexities of implementing interfaces and abstract classes, as well as dealing with the ConfigTree type. If you wish use these annotations, check the type As annotated POJO. Otherwise check the type As AbstractActionPipelineProcessor implementation.
    The Annotations are:
    • @Process
    • @ConfigProperty
    • @Initialize
    • @Destroy
    • @BodyParam
    • @PropertyParam
    • @AttachmentParam
    • @OnSucess
    • @OnException
  5. Click on Finish to generate the ESB Action class. This class will become available in ESB Editor wizards.

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat