Re: Camel 2.0 -M1 Mail - Sending HTML Email

2009-03-19 Thread Claus Ibsen
On Wed, Mar 18, 2009 at 6:23 PM, dougly wrote: > > Hi, > I am using camel 2.0 M1 release. Does the mail component allow HTML email to > be sent? Yeah it should. See the unit test MailHtmlAttachmentTest. You need to set the contentType option to text/html. http://camel.apache.org/mail.html > > Th

Re: Camel JMS Component (ActiveMQ) Repeatedly Reconnects

2009-03-19 Thread Claus Ibsen
On Wed, Mar 18, 2009 at 8:07 PM, greenbean wrote: > > I made the change you suggested.  However, I am getting the same error. :-( > > Do you have any other suggestions? Isnt it because you have CACHE_NONE? I would assume all resources is cleared after use and thus the it needs to reconnect on e

Re: process() not called when mime type in Base64

2009-03-19 Thread Claus Ibsen
Hi Can you see the MailHtmlAttachmentTest unit test for inspiration. It does a send and receive a HTML mail with attachment. On Mon, Mar 16, 2009 at 5:16 PM, Claus Ibsen wrote: > On Mon, Mar 16, 2009 at 4:38 PM, AHardy wrote: >> >> >> Correction, the process() component is called! The Base64

Apache Camel RefCard - Review

2009-03-19 Thread Claus Ibsen
Hi We are working on a new reference card about Enterprise Integration Patterns with Apache Camel. The card is to be published at DZone at http://refcardz.dzone.com/ The first card, in a two card series, is provided as a final draft and we would like to give the Apache community the opportunity t

Re: Camel JMS Component (ActiveMQ) Repeatedly Reconnects

2009-03-19 Thread James Strachan
2009/3/19 Claus Ibsen : > On Wed, Mar 18, 2009 at 8:07 PM, greenbean wrote: >> >> I made the change you suggested.  However, I am getting the same error. :-( >> >> Do you have any other suggestions? > Isnt it because you have CACHE_NONE? >   > > I would assume all resources is cleared after use an

Re: Starting, stopping and removing routes at runtime

2009-03-19 Thread Bruno Borges
I'm sorry I'm getting this thread in the middle without reading previous messages, but just one thought: isn't this what ESBs are supposed to manage? I mean, with ESBs we can plug'n play routes easily, add, remove, whatever. If Camel start to have functions like this, wouldn't be overlapping with

Re: References to objects processed in routes held, eventually run out of memory

2009-03-19 Thread ee7arh
Hi, Thanks for response. I'm using Camel 1.6.0 and ActiveMQ 5.2.0. I also had the same results with camel 1.5 and activeMQ 5.1 I have attached a graph from Jconsole showing what happens as the application starts, runs for a about 1.5 hours then crashes with out of memory. http://www.nabble.com/

Re: References to objects processed in routes held, eventually run out of memory

2009-03-19 Thread Claus Ibsen
Hi Just a very quick reply without digging into it yet. There was/is a leak in camel-jaxb. I cant remember if we got it fixed in 1.6.0 or its in 1.6.1. At least its fixed in 2.0m1. Could you either: - try without any JAXB - try with 1.6.1-SNAPSHOT or 2.0m1/2.0-SNAPSHOT On Thu, Mar 19, 2009 at

Re: References to objects processed in routes held, eventually run out of memory

2009-03-19 Thread ee7arh
Hi, Thanks but we are not using camel-jaxb, everything is being done manually using the JaxB classes directly (although now I see camel has this built in I will change well for R2.0 anyway!) As way of double checking, I found only 7 instances of my unmarshalled objects in the memory dump, no

Re: References to objects processed in routes held, eventually run out of memory

2009-03-19 Thread ee7arh
Hi again, A bit more information which might help. I have been running the application for the last 4 hours with 256MB memory and so far it looks like the outOfMemory problem will probably not occur anytime soon because the heap usage drops dramatically after the initial high load processing. In

Questions about camel Exchange that contains a CxfMessage with POJO dataFormat

2009-03-19 Thread Michael Ramnarine
Is the original xml message available given a camel Exchange for a soap message that contains a CxfMessage with POJO dataFormat? Specifically, working in a custom processor, if the inbound message is a CxfMessage with MESSAGE dataFormat, the body is a copy of the original raw message (accessible v

RE: Questions about camel Exchange that contains a CxfMessage with POJO dataFormat

2009-03-19 Thread Michael Ramnarine
One thing I just noticed... Using getContentFormats() on a POJO CxfMessage for a soap over http endpoint via: CxfMessage message = (CxfMessage) exchange.getIn() message.getMessage().getContentFormats() Returns: [interface java.util.List, class java.io.InputStream, interface javax.xml.s