SMTP - Specify Name and Email in the From element using Spring

2012-01-13 Thread MichaelAtSAG
How do I specify both a Name and Email in the From eventre...@company.com" /> Camel does not like the '<' character in the 'from' value. Caused by: org.xml.sax.SAXParseException: The value of attribute "uri" associated with an element type "null" must not contain the '<' char

Re: route between imap connector and activemq connector, no body

2012-01-13 Thread Raul Kripalani
Hi Try explicitly converting the body to a String by using . Having said that it looks like the content of your mail message is not simple text (i.e. mime type is not text/plain), rather Multipart, so you may have to implement a processor or use expression languages to extract the relevant inform

Re: route between imap connector and activemq connector, no body

2012-01-13 Thread Łukasz Dywicki
Just add explicit conversion to String, then your email message will be converted to String and then will be mapped to StringMessage sent to JMS broker. More about conversions you can read in documentation. You can also use own TypeConverter if defualt conversation will not match your needs. Łu

Re: tcp socket client consumer endpoint?

2012-01-13 Thread Raul
Hello, I'm in the same situation. I need a client consumer. Has this requeriment (client consumer) solution today? I read the documentation, and I undertand that when I make a route like that: from("mina:tcp://localhost:port").process(miProcesador).to("seda:distribucion") I am making a TCP

route between imap connector and activemq connector, no body

2012-01-13 Thread Nicolas Gapaillard
Hi all, I sent the same message on activeMQ ML and I didn't have any answer. My problem is between camel and activeMQ. Maybe i will be more lucky here. I succeed to send an imap message from camel to activemq. But I have a problem, I have all information except the body. My camel configuration