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????
相关问题
- C# how to invoke a field initializer using reflect
- InvalidOperationException when using Invoke before
- How to filter an array of JSON in Mule DataWeave
- which way for RESTful webservice, Spring-WS payloa
- Mule processing strategies - call async private fl
相关文章
- PowerShell Pass Named parameters to ArgumentList
- what is invoking?
- How to implement Mule HTTP GET Method redirect?
- convert xml to soap request using xslt transformat
- How to convert SOAP web service to REST web servic
- Spring3 Dependency Injection not working with mule
- Singleton Startup Mule Component/Flow
- Dynamically calling a dll and method with argument
Instead of tying your Java beans to the Mule API (with
Callable
), you can do this using MEL only, for example with:This has the caveat that the message payload is affected by the
invoke
element. If this is a problem then you can go with:In its onCall you can get the message as follows:
MuleMessage message = eventContext.getMessage();
Now you can obtain the inbound properties:
Object someProp = message.getInboundProperty("some_prop_name");
After operating over it, you place it back as an outbound property:
message.setOutboundProperty("some_prop_name", someProp);