异常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. Java关键字static、final

    static  1. static变量     按照是否静态的对类成员变量进行分类可分两种:一种是被static修饰的变量,叫静态变量或类变量:另一种是没有被static修饰的变量,叫实例变量.两者的 ...

  2. MVC 简单发送邮件示例

    没啥好说的 直接上代码 @{ try { WebMail.SmtpServer = "smtp.qq.com";//SMTP邮件服务器 WebMail.SmtpPort = ;// ...

  3. UVa 699 (二叉树) The Falling Leaves

    题意: 按先序方式输入一棵二叉树,节点是带权的,左孩子在父节点的左一个单位,右孩子在父节点的右一个单位,从左到右输出相同水平位置节点之和. 分析: 做了好几道二叉树的题,代码应该也很好理解了.这里ma ...

  4. iOS8 LaunchScreen.storyboard

    我目前的需求是需要将启动图片通过LaunchScreen.storyboard  来实现. 我首先想到的是创建一个Sb,使用自动布局来布局imageview,并设置如下图: 布局好之后,在Image里 ...

  5. 每天一个Linux命令(1): find

    1 find 命令是用来查找制定目录下符合条件的文件执行相应的动作(print exec等) find [path...] [expression] path:find命令所查找的目录路径.例如用.来 ...

  6. Scala下载安装配置(Mac)

    ---恢复内容开始--- 1.访问scala的官网这里下载最新版的scala. 2.解压缩文件包,可将其移动至/usr/local/share下 1 mv /download/scalapath /u ...

  7. SpringMvc+jquery easyui模块开发7步骤

    搞了一段java的开发,总结出模块开发经验: SpringMvc+jquery easyui模块开发7步骤:1) 数据表(table):                定义表结构并创建数据表t_use ...

  8. canvas小知识

    清单 1. 绘制 canvas 矩形 function drawRect(){ var canvas = document.getElementById('canvas'); if (canvas.g ...

  9. table应用之colspan与rowspan

    <table border=" borderColorDark="#66ff33"> <tr> <td rowspan=" ali ...

  10. 【LeetCode】232 & 225 - Implement Queue using Stacks & Implement Stack using Queues

    232 - Implement Queue using Stacks Implement the following operations of a queue using stacks. push( ...