异常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. 编程时 对 用途这个字段定义时 不要用using 这个英文

    编程时  对 用途这个字段定义时  不要用using 这个英文

  2. PHP开发调优clockwork工具

    clockwork对于曾经做过C,c++代码调优的工程师并不会陌生,它可以指出代码中的潜在问题,比如内存泄漏,数组越界等.他也可以做profiler动作,指出系统各个函数的执行时间,性能瓶颈到底在哪里 ...

  3. LA 4725 (二分) Airport

    题意: 有W.E两个跑道,在每个时刻每个跑道的飞机都从0开始编号,而且每个时刻都有Wi和Ei架飞机到达这两个跑道.而且每个时刻只能选择一个跑道的一架飞机起飞.问如何选择才能使得飞机的最大编号最小.(每 ...

  4. HDu 3449 (有依赖的01背包) Consumer

    题意: 有n件物品,对应有不同的价格和价值,这是典型的01背包.但现在有了一个限制,要买物品先买能装这件物品的特定的盒子,盒子的价值为0 代码理解得还不是太好,感觉这是一个“二重”的01背包.首先假设 ...

  5. HDU 1317 XYZZY【Bellman_Ford判断正环】

    题意:给出n个房间,初始在房间1有100的能量值,每次进入一个房间,能量值可能增加也可能减小,(是点权,不是边权),问能否到达终点的时候能量值还为正 这题自己写的时候wa--wa-- 后来看了题解,还 ...

  6. IOS中tableView每组的头部控件、通过tableView的代理方法控制某一行的cell能否达到高亮选中状态

    一.tableView每组的头部控件 1.控件宽度默认就是tableView的宽度 2.控件高度由下面的代理方法决定 - (CGFloat)tableView:(UITableView *)table ...

  7. Android之判断某个服务是否正在运行的方法

    /** * 判断某个服务是否正在运行的方法 * * @param mContext * @param serviceName * 是包名+服务的类名(例如:net.loonggg.testbackst ...

  8. VPN协议PPTP/L2TP/OpenVPN及SSH的区别与详解

    大家在使用VPN的时候都会看到商家有提供PPTP VPN.L2TP  VPN.OpenVPN.SSH代理等多种协议选择,但是许多朋友却不知道它们之间有什么区别,也不知道该如何选择,今天整理了一些日常收 ...

  9. 本地Git环境配置

    在Git Bash下获取源码时,提示permission denied publickey. 原因是本地帐号配置不正确,解决办法 生成SSH文件 1,进入Git Bash 2,  输入下面文字 ssh ...

  10. Hibernate查询出现java.lang.IllegalArgumentException异常解决方法

    Hibernate查询出现java.lang.IllegalArgumentException. 异常信息如下:java.lang.IllegalArgumentException        at ...