WSO2 ESB 自定义消息处理器示例 [英] WSO2 ESB Custom Message Processor example

查看:30
本文介绍了WSO2 ESB 自定义消息处理器示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我计划创建一个自定义消息处理器来从消息存储中获取消息.但是我还没有找到任何如何创建自定义类的示例.此主题下的文档非常有限.(http://docs.wso2.org/显示/ESB481/自定义+消息+处理器).有人可以提供示例来创建自定义消息处理器吗?

I'm planning to create a custom message processor to pick up messages from message store. However I haven't find any examples how to create a custom class. Documentation under this topic is very limited.(http://docs.wso2.org/display/ESB481/Custom+Message+Processor). Can somebody provide example to create custom message processor ?

谢谢,

推荐答案

查看MessageProcessor 接口 - 以及实现和其他类 此处.设置好处理器后,您可以将 jar 放在 lib 文件夹中.然后按照您在 OP 中发布的链接中的说明进行操作.

Have a look at the MessageProcessor interface - and the implementations and other classes here. Once you have your processor setup, you can place your jars in the lib folder. Then follow the instructions in the link you posted in the OP.

这篇关于WSO2 ESB 自定义消息处理器示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆