The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

kzuno (6) [Avatar] Offline
#1
WARNING in page 120 of Mule_in_Action_Seco_v3_MEAP.pdf says
"In Mule, the encoding used by a transformer is determined by looking first at the encoding defined in the transformer then the encoding of the message".

Is this correct?

I checked the source of Mule 3.3.0, AbstractTransformer#getEncoding(Object src) is not check the encoding of the transformer at all.

I think the encoding of the transformer is used to set the encoding of messages that produced by the transformer, in the last of DefaultMuleMessage#transformMessage(MuleEvent event, Transformer transformer).