camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From contactreji <>
Subject Re: Email Attachments - Adding to Exchange Attachments
Date Sat, 21 Sep 2013 15:33:57 GMT
Hi Bharath

I am using Fuse version 2.10.0.fuse-71-047.. Seems like there is some
serious issue with attaching files..
I modified my program and added the processor right before the email

My processor code is as follows
public class AddAttachment implements Processor{

	public void process(Exchange exchng) throws Exception {
		// TODO Auto-generated method stub
		Message in = exchng.getIn();
	/*	in.addAttachment("payload", new DataHandler(new FileDataSource(
		exchng.getOut().addAttachment("payload.txt", new DataHandler(new

payload.txt is the file which i want to attach and send ..
Could you suggest.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message