inbound

ESB MULE passing the parameters to the java method

﹥>﹥吖頭↗ 提交于 2019-12-21 21:26:58
问题 I use MULE version 3.3.0 CE, I want to get some value from header in inbound and then pass it to a java method, in java method making some changes on passed value, finally again I pass it from java method to the outbound???? 回答1: Instead of tying your Java beans to the Mule API (with Callable ), you can do this using MEL only, for example with: <invoke object-ref="yourBean" method="yourMethod" methodArguments="#[message.inboundProperties['inboundPropertyName']]" /> <set-property propertyName=

How to Edit Default Mule Error message..?

痴心易碎 提交于 2019-12-07 23:27:19
问题 I have defined a Mule HTTP Inbound Endpoint as : <flow name="jfeed_fill_data"> <http:inbound-endpoint address="http://localhost:1212/jcore/insert/feed/"> </http:inbound-endpoint> <component class="main.java.com.joshlabs.jcore.Feed"/> </flow> Now this Service Works Fine. But When i type a Deformed URL , something like "http://localhost:1212/jcore/insert/feedasdasdAwes/" , I get the following Message from MULE : Cannot bind to address "http://localhost:1212/jcore/insert/feedasdasdAwes/" No

Unable to create dynamic file inbound endpoint in mule

不羁的心 提交于 2019-12-01 23:35:39
问题 I get a file path as an input to mule inside xml. Using XPATH expression, I am able to extract the path. I want to read a particular file from that path. I tried to define file inbound endpoint as below. But it doesn't seem to be working. <flow name="flow1"> .... .... <set-session-variable variableName="filePath" value="#[xpath://filePath]" /> <flow-ref name="fileFlow"/> </flow> <flow name="fileFlow"> <file:inbound-endpoint path="#[header:SESSION:filePath]" /> </flow> My understanding here is

Unable to create dynamic file inbound endpoint in mule

拟墨画扇 提交于 2019-12-01 20:52:32
I get a file path as an input to mule inside xml. Using XPATH expression, I am able to extract the path. I want to read a particular file from that path. I tried to define file inbound endpoint as below. But it doesn't seem to be working. <flow name="flow1"> .... .... <set-session-variable variableName="filePath" value="#[xpath://filePath]" /> <flow-ref name="fileFlow"/> </flow> <flow name="fileFlow"> <file:inbound-endpoint path="#[header:SESSION:filePath]" /> </flow> My understanding here is that no code can be placed before an inbound-endpoint. Hence I defined it in another flow. Please