Discussion:
how to write component that produce response and output
Pablo La Greca
2012-06-27 15:51:55 UTC
Permalink
That's not the right approach with mule.
<br /><br />
The message sent to the outbound endpoint it's the result of the previous message processors (transformer, component, outbound endpoint, etc). The response message sent to the inbound endpoint is the result of the last message processors of your flow.
<br /><br />
Can you post your config? Please use <code> tags.
<br /><br />
If you really need the component to be the one creating the message to send to outbound endpoint and response you can: return from the component the message that you want to sent through the outbound endpoint. Also add in your component an invocation variable with the message you want to return. As last message processor of your flow restore the message payload with the one saved in the invocation property.
<br /><br />
HTH, Pablo.</code>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Loading...