异常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. Linux多线程(二)(线程等待,退出)

    1. 线程的等待退出 1.1. 等待线程退出 线程从入口点函数自然返回,或者主动调用pthread_exit()函数,都可以让线程正常终止 线程从入口点函数自然返回时,函数返回值可以被其它线程用pth ...

  2. ASP.NET MVC 实现二级域名

      自从微软发布 ASP.NET MVC 和routing engine (System.Web.Routing)以来,就设法让我们明白你完全能控制URL和routing,只要与你的applicati ...

  3. 2016年4月TIOBE编程语言排行榜 Visual Basic正渐行渐远

    COBOL, BASIC 和 FORTRAN 很长一段时间作为主力开发语言被使用.有很多软件使用这些语言来编写,并且发展的不亦乐乎.然而经过多年的发展,COBOL和FORTRAN逐渐被抛弃, 而得益于 ...

  4. SQL语句方法语法总结(二)

    1.给表插入数据. (1)INSERT INTO TBL_NAME VALUES (VALUE_1,VALUE_2,...) (2)INSERT INTO TBL_NAME (COL_1,COL_2, ...

  5. 理解ASP.NET MVC的路由系统

    引言 路由,正如其名,是决定消息经由何处被传递到何处的过程.也正如网络设备路由器Router一样,ASP.NET MVC框架处理请求URL的方式,同样依赖于一张预定义的路由表.以该路由表为转发依据,请 ...

  6. console.log的一个应用 -----用new方法生成一个img对象和document.createElement方法创建一个img对象的区别

    我用两种方法来生成img对象,第一种方法是用new方法,第二种方法是用document.createElement方法. var img1 = new Image(); var img2 = docu ...

  7. Matlab---size,length和numel函数的用法

    size:获取数组的行数和列数 length:数组长度(即行数或列数中的较大值) numel:元素总数. 1.size()函数 s=size(A),当只有一个输出参数时,返回一个行向量,该行向量的第一 ...

  8. ECSHOP 商品评论条件修改——购买过该商品且只能评价一次(购买多少次能评价多少次)

    下文转自http://bbs.ecshop.com/thread-1131529-1-1.html ECSHOP 商品评论条件修改,修改为购买过该商品多少次,就只能评价多少次.不需要修改数据库,原理简 ...

  9. 定时任务处理-Quartz

    Quartz Scheduler,定时任务 Quartz是一个作业调度系统(a job scheduling system),负责在约定的时间到达时执行(或通知)其他软件控制.是一个Java的定时任务 ...

  10. LeetCode——Add Two Numbers

    Question:You are given two linked lists representing two non-negative numbers. The digits are stored ...