异常1. Failed to find entry point for component, the following resolvers tried but failed: [

2016-03-22 16:46:44,362>>ERROR>> com.isoftstone.esb.transformer.Json2RequestBusinessObject.transformMessage(Json2RequestBusinessObject.java:63) - syntax error, expect {, actual error, pos 0

2016-03-22 16:46:44,364>>ERROR>> org.mule.exception.AbstractExceptionListener.logException(AbstractExceptionListener.java:311) -

********************************************************************************

Message               : Failed to find entry point for component, the following resolvers tried but failed: [

ExplicitMethodEntryPointResolver: Could not find entry point on: "com.isoftstone.core.service.impl.PayResultCallback2V5IMPL" with arguments: "{}"

]

Code                  : MULE_ERROR-321

--------------------------------------------------------------------------------

Exception stack is:

1. Failed to find entry point for component, the following resolvers tried but failed: [

ExplicitMethodEntryPointResolver: Could not find entry point on: "com.isoftstone.core.service.impl.PayResultCallback2V5IMPL" with arguments: "{}"

] (org.mule.model.resolvers.EntryPointNotFoundException)

org.mule.model.resolvers.DefaultEntryPointResolverSet:49 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/model/resolvers/EntryPointNotFoundException.html)

--------------------------------------------------------------------------------

Root Exception stack trace:

org.mule.model.resolvers.EntryPointNotFoundException: Failed to find entry point for component, the following resolvers tried but failed: [

ExplicitMethodEntryPointResolver: Could not find entry point on: "com.isoftstone.core.service.impl.PayResultCallback2V5IMPL" with arguments: "{}"

]

at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:49)

at org.mule.component.DefaultComponentLifecycleAdapter.invoke(DefaultComponentLifecycleAdapter.java:339)

at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:82)

+ 3 more (set debug level logging or '-Dmule.verbose.exceptions=true' for everything)

********************************************************************************

原因本来外围传的是xml格式的,我却用了Json2RequestBusinessObject

<!-- 支付平台支付结果回调核心-->

<flow name="0202000005_V1" doc:name="0202000005_V1">

<http:inbound-endpoint

address="http://${http.address.ip}:${http.address.port}/0202000005/PayResultCallback2V5/V1"

exchange-pattern="request-response" doc:name="HTTP" />

<transformer ref="Json2RequestBusinessObject" doc:name="Transformer Reference" />

<component doc:name="Java">

<method-entry-point-resolver>

<include-entry-point method="invoke" />

</method-entry-point-resolver>

<spring-object bean="payResultCallback2V5" />

</component>

<transformer ref="ResponseBusinessObject2Json" doc:name="Transformer Reference" />

</flow>

解决方案 transformer改成如下: String2MuleMessage

<!-- 支付平台支付结果回调核心-->

<flow name="0202000005_V1" doc:name="0202000005_V1">

<http:inbound-endpoint

address="http://${http.address.ip}:${http.address.port}/0202000005/PayResultCallback2V5/V1"

exchange-pattern="request-response" doc:name="HTTP" />

<transformer ref="MuleMessage2String" doc:name="Transformer Reference" />

<component doc:name="Java">

<method-entry-point-resolver>

<include-entry-point method="invoke" />

</method-entry-point-resolver>

<spring-object bean="payResultCallback2V5" />

</component>

<transformer ref="String2MuleMessage" doc:name="Transformer Reference" />

</flow>

esb异常20160322_1948的更多相关文章

  1. AEAI ESB培训大纲

    1. 概述 本文档的目的是为了让使用者能更好的操作.维护.服务于整个ESB系统平台,该信息系统平台不仅需要成熟稳定的产品,更需要技术熟练的运行维护人员,以便能更好地进行科学有效的运行维护工作. AEA ...

  2. 面向服务架构(SOA)和企业服务总线(ESB)

    http://www.cnblogs.com/shanyou/archive/2008/04/19/1161452.html 学习和研究在企业中实施面向服务架构(SOA),简单回顾SOA和ESB,重点 ...

  3. 几种ESB(企业服务总线)介绍

    ESB(Enterprise Service Bus,即企业服务总线)是传统中间件技术与XML.Web服务等技术结合的产物.ESB提供了网络中最基本的连接中枢,是构筑企业神经系统的必要元素. 企业服务 ...

  4. <<海闻电子发票接口 ESB 封装 代码指示 文档>>

    <<海闻电子发票接口 ESB 封装 代码指示 文档>> isValid 是否有效标志 代码 中文 说明 true 成功 false 失败   code 海闻错误说明 代码 中文 ...

  5. ESB后台error日志

    本地tomcat没异常 开发环境,生产环境 ESB使用axis2.jar 后台会有错误,但不影响所有流程,该错误源自common.log的error,在捕捉异常后,并未往外继续抛 [ESB 打印] 接 ...

  6. ESB 企业服务总线

    整理的OSChina 第 38 期高手问答 —— ESB 企业服务总线,嘉宾为@肖俊_David . @肖俊_David 恒拓开源架构师,热衷于JAVA开发,有多年的企业级开发经验.曾参和设计和开发基 ...

  7. REST、SOA、SOAP、RPC、ICE、ESB、BPM知识汇总及理解

    转载自处blog.csdn.net/tantexian. SOA: 维基百科解释:SOA:面向服务的软件架构(Service Oriented Architecture),是一种计算机软件的设计模式, ...

  8. 各种ESB产品比较(转)

    介绍了主流商业和开源ESB的发展趋势.可借鉴的地方和其缺点:         主要介绍:       Oracle Service Bus       WebSphere Message Broker ...

  9. 【转载】谈谈自己对REST、SOA、SOAP、RPC、ICE、ESB、BPM知识汇总及理解

    转载自:https://blog.csdn.net/tantexian/article/details/48196453 SOA: 维基百科解释:SOA:面向服务的软件架构(Service Orien ...

随机推荐

  1. mac terminal 命令

    mac下显示隐藏文件 显示 defaults write com.apple.finder AppleShowAllFiles -bool true 隐藏 defaults write com.app ...

  2. ionic中极光推送的集成

    1.到极光官网注册账号,新建应用获得appkey. 详见:https://www.jiguang.cn/app/list 2.引入jpush插件 详见:https://github.com/jpush ...

  3. Qt之国际化(系统文本-QMessageBox按钮、QLineEdit右键菜单等)

    简介 使用Qt的时候,经常会遇到英文问题,例如:QMessageBox中的按钮.QLineEdit.QSpinBox.QScrollBar中的右键菜单等.通常情况下,我们软件都不会是纯英文的,那么如何 ...

  4. 漫游Kafka设计篇之主从同步

    Kafka允许topic的分区拥有若干副本,这个数量是可以配置的,你可以为每个topci配置副本的数量.Kafka会自动在每个个副本上备份数据,所以当一个节点down掉时数据依然是可用的. Kafka ...

  5. java之IO

    IO流主要用于硬板.内存.键盘等处理设备上得数据操作 一.IO流分类 java.io包中定义了多个流类型(类或抽象类)来实现输入/输出功能,可以从不同角度对其分类: 1.按数据流的方向不同分为:输入流 ...

  6. python练习程序(c100经典例1)

    题目: 有1.2.3.4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? num=0; for i in range(1,5): for j in range(1,5): for k in ...

  7. maven的settings.xml详细说明

    转自:http://writeblog.csdn.net/ <?xml version="1.0" encoding="UTF-8"?> <s ...

  8. *ecshop 限制文章帮助文章显示条数

    1.打开 /themes/default/library/help.lbi 文件 <!-- {foreach from=$help_cat.article item=item} --> & ...

  9. 【NYOJ-187】快速查找素数—— 枚举法、筛选法、打表法

    快速查找素数 时间限制:1000 ms  |  内存限制:65535 KB 难度:3   描述 现在给你一个正整数N,要你快速的找出在2.....N这些数里面所有的素数. 输入 给出一个正整数数N(N ...

  10. 【转】让Souce Insight支持多种语言的语法高亮:Python,Ruby,ARM汇编,windows脚本文件(bat/batch),PPC,SQL,TCL,Delphi等

    原文网址:http://www.crifan.com/source_insight_support_highlight_for_python_ruby_arm_batch_ppc_sql_tcl_de ...