« Return to Thread: JIRA MULE-714 in 1.3?

Re: JIRA MULE-714 in 1.3?

by Andrew Perepelytsya :: Rate this Message:

Reply to Author | View in Thread

Tomas,

Another way to substitute a payload preserving the meta-info is to use the eventContext.rewriteEvent() method.

Andrew

On 10/30/06, Tomas Blohm <tomas.blohm@...> wrote:

I understand. I solved it with just changing the return clause from:
return new MuleMessage(result);

to:

return new MuleMessage(result, event.getMessage().getAdapter());

Then all the properties from the old message gets past along and with the
new payload.
I don't know if it's the way to go but it works for me.



Holger Hoffstätte-2 wrote:

>
> T.B wrote:
>> Hi, I'm using the patch attached to MULE-714 for performing outbound read
>> queries and in the snapshot version it works just fine. When I switched
>> to
>
> "The snapshot version" is 1.4-SNAPSHOT, published nightly. As far as I am
> concerned, nothing else exists even if there are a few outdated
> 1.3-SNAPSHOTS still available. These should not be used and will cease to
> exist soon. If you report a bug against them, chances are that nobody will
> be able to look into the problem properly.
> If you experience a bug in 1.3 final, please do file a bug but include
> more precise information than just "properties get lost". It is impossible
> to even begin looking at the problem with that information; please help us
> a little better to be able to help you.

>
> -h
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

--
View this message in context: http://www.nabble.com/JIRA-MULE-714-in-1.3--tf2518925.html#a7070094
Sent from the Mule - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: JIRA MULE-714 in 1.3?