I'm looking into it right now, here are some ideas that I found on web:

https://stackoverflow.com/questions/11580248/how-to-set-character-encoding-in-beanio
https://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/Exchange.html#CHARSET_NAME
http://camel.apache.org/string.html

So basically, I would like the last java dsl example rewritten in spring 
xml,

from("jms://queue/order").unmarshal().string("UTF-8").processRef("newOrder");

and I would think that I need to set string to UTF-8 charset before doing 
unmarshal with BeanIO?
There is always an alternative to use something else, like Bindy, but if 
possible I would stick to BeanIO, 
and maybe setting CHARSET_NAME property of Exchange would be an 
alternative way to pass that info to camel-beanio?
______________________

Napomena:
Ova elektronička poruka i njeni prilozi mogu sadržavati povjerljive i/ili 
povlaštene informacije, a namijenjena je isključivo za upotrebu naznačenog 
primatelja. Ako ste ovu poruku primili greškom, molimo Vas da o tome bez 
odlaganja obavijestite pošiljatelja, da uništite izvornu poruku i njene priloge 
i bez odlaganja poruku i njene priloge izbrišete iz Vašeg sistema. Neovlaštena 
uporaba, distribucija, otkrivanje, umnožavanje ili izmjena ove poruke je 
zabranjena. Raiffeisenbank Austria d.d. ne daje niti ne prihvaća pravno 
obvezujuće izjave putem elektroničkih poruka osim ukoliko drugačije nije 
izričito navedeno. Budući da komunikacija internetom nije zaštićena, 
Raiffeisenbank Austria d.d. ne prihvaća odgovornost za sadržaj ove poruke, kao 
ni za eventualnu štetu nastalu zbog zaraženosti ove poruke virusom ili drugim 
štetnim programom, te zbog eventualnih tehničkih problema prilikom dostave ove 
poruke.

Disclaimer:
This e-mail message and any attachment may contain confidental and/or 
privileged information and is intended for use by the indicated addressee only. 
If you have received this message in error, please notify the sender 
immediately, destroy the original message and any attachment and delete this 
message and any attachment from your system. Unauthorized use, distribution, 
disclosure, reproduction, or alteration of this e-mail message is forbidden. 
Raiffeisenbank Austria d.d. neither makes nor accepts legally binding 
statements via e-mail unless otherwise stated. Considering that internet 
communication is not secured, Raiffeisenbank Austria d.d. is not responsible 
for the content of this message, for potential damage occured due to infection 
of this message with a virus or other malicious program, and for potential 
technical problems during delivery of this message.

Reply via email to