Re: Mail component ContentTypeResolver SPI customization

2011-12-07 Thread Claus Ibsen
; From: Claus Ibsen [mailto:claus.ib...@gmail.com] >> Sent: Wednesday, December 07, 2011 12:58 AM >> To: users@camel.apache.org >> Subject: Re: Mail component ContentTypeResolver SPI customization >> >> Hi >> >> The ContentTypeResolver is used when *sending* emails.

Re: Mail component ContentTypeResolver SPI customization

2011-12-07 Thread Claus Ibsen
n > > > -Original Message- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: Wednesday, December 07, 2011 12:58 AM > To: users@camel.apache.org > Subject: Re: Mail component ContentTypeResolver SPI customization > > Hi > > The ContentTypeResolver is used w

RE: Mail component ContentTypeResolver SPI customization

2011-12-07 Thread Justin Rosenberg
inal Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Wednesday, December 07, 2011 12:58 AM To: users@camel.apache.org Subject: Re: Mail component ContentTypeResolver SPI customization Hi The ContentTypeResolver is used when *sending* emails. It was introduced to work around issues wit

Re: Mail component ContentTypeResolver SPI customization

2011-12-06 Thread Claus Ibsen
Hi The ContentTypeResolver is used when *sending* emails. It was introduced to work around issues with the Geronimo Mail Implementation. The SUN Mail Provider works fine, so the resolver shouldn't really be needed anymore. What's your use case to use the ContentTypeResolver ? On Wed, Dec 7, 20

Mail component ContentTypeResolver SPI customization

2011-12-06 Thread Justin Rosenberg
I'm having trouble understanding how to use a custom ContentTypeResolver for the mail component using Spring. Here is my Spring XML: I'm retrieving the attachment in the processor as follows: DataHandler dh = exchange.getIn().getAttachments().values().iterator().next(); String c