Re: Camel JPA - Clustered Deployment - Quartz Scheduling

2013-08-05 Thread dkum003
Hi, I feared this. Do you by any chance have working example which uses CronScheduledRoutePolicy and supports clustering ? This would be very helpful. Regards, Manish -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JPA-Clustered-Deployment-Quartz-Scheduling-tp57332

Camel Performance

2013-08-05 Thread salemi
Hi, I was wondering how can improve the performance of the route below! ${body.messagetype} contains 'OPER'

Re: Camel route stop consuming

2013-08-05 Thread jaime.salvador
Hi, Nice to see a reply by you (I have a paper copy of Camel in Action, great book!) The delay(500) is for spam prevention, having to much mails sends in a second the server is considerd a spam and is blocked. My route work as a massive mail sender that load balance the work to 50 mails account,

Re: Unit of Work Scope and direct/SEDA/vm components

2013-08-05 Thread Bilgin Ibryam
Hi, The file component uses onCompletion for moving files after the exchange has completed. As long as the completions are passed with the exchange the files wont move. The VM component passes the completions to the next camel context so the files are not moved... You have to use a queue or somethi

2 JaxbDataFormat in the same route doesnt work

2013-08-05 Thread mikael_th
Hello, I am trying to unmarshall an XML string to a JAXB object, convert this to another JAXB object and then marshall this before I send it on a queue. The problem is that in the example below the unmarshall call is using the vgtInternalJaxb DataFormat and not the jaxb DataFormat which is sent t

Unit of Work Scope and direct/SEDA/vm components

2013-08-05 Thread Scott Parkerson
Hi, fellow Camel riders. I was wondering where Camel's notion of UnitOfWork begins and ends with respect to processing a route or set of routes. For example, I have a route that starts with a SFTP poller that consumes files off of a server. The contents of these files are then handed to another r

Re: combining the existing content with a file having dynamic uri then moving the file

2013-08-05 Thread skumar
Hi Claus, I am using consumer template to for the same work in the thread as I want a pattern based reading of file and then move the file after renaming it with current date some thing like : file:{{inbound_home}}/bony?include=.*_BNYM_.*txt&move={{data_home}}/${file:onlyname.noext}_${dat

Re: Risk of JMS flooding with long-lasted redelivery policy ?

2013-08-05 Thread Bernard Ligny
Thanks Clause. Unfortunately, as i said, we use Camel v2.8.5 on our project, and "asyncConsumer" was introduced in Camel 2.9 :-( Do yo see a(nother) possible solution or workaround that could be applied in Camel 2.8.5 ? Bernard. -- View this message in context: http://camel.465427.n5.nabble.

Re: Promoting the exchange message cause exception as property or header when moving it to dead letter queue

2013-08-05 Thread Darwish
Many Thanks - Othman Darwish ProgressSoft Corp. -- View this message in context: http://camel.465427.n5.nabble.com/Promoting-the-exchange-message-cause-exception-as-property-or-header-when-moving-it-to-dead-letter-qe-tp5736778p5736787.html Sent from the Camel - Users mailing list archive

Re: Promoting the exchange message cause exception as property or header when moving it to dead letter queue

2013-08-05 Thread Claus Ibsen
Yeah you can do that On Mon, Aug 5, 2013 at 10:51 AM, Darwish wrote: > if i got you ... i need to define deadLetterChannel as error handler and that > dead letter channel send the exchange to direct end point , inside that > direct route enrich my exchange as i want ? > > > > > > > > > > -

Re: Promoting the exchange message cause exception as property or header when moving it to dead letter queue

2013-08-05 Thread Darwish
if i got you ... i need to define deadLetterChannel as error handler and that dead letter channel send the exchange to direct end point , inside that direct route enrich my exchange as i want ? - Othman Darwish ProgressSoft Corp. -- View this message in context: http://camel.465427

Re: Risk of JMS flooding with long-lasted redelivery policy ?

2013-08-05 Thread Claus Ibsen
Use async delayed in the error handler / onException. And also asyncConsumer=true on the jms consumer. On Fri, Aug 2, 2013 at 3:51 PM, Bernard Ligny wrote: > Can someone please confirm what my colleague has observed on our project (NB: > We use Camel 2.8.5). > > Let us take for instance: > - a JM

Re: Inserting oracle XMLType with camel

2013-08-05 Thread Christian Müller
Thanks for sharing the solution and good to know you could figure it out by yourself. Best, Christian Am 05.08.2013 07:29 schrieb "OHolzma" : > Thanks for your response. > > It was just a classpath issue. I just added oracles orai18n.jar, xdb.jar, > xmlparserv2.jar to my classpath. Then the data

Re: Promoting the exchange message cause exception as property or header when moving it to dead letter queue

2013-08-05 Thread Claus Ibsen
The dead letter endpoint can just be another route, and then use the direct component to send to that route. And in the route you can enrich the message with the details you want, before sending to the actual dead letter channel. On Mon, Aug 5, 2013 at 9:47 AM, Darwish wrote: > Hi , > > I wonder

Re: Camel route stop consuming

2013-08-05 Thread Claus Ibsen
Hi You are taking in too many messages than you can process. Its not a good idea to have 2000+ messages in memory sitting on seda queues waiting to be processed. And why do you use the delay (500) ? On Thu, Aug 1, 2013 at 4:01 AM, jaime.salvador wrote: > Hi, > > I have a big number of messages

Promoting the exchange message cause exception as property or header when moving it to dead letter queue

2013-08-05 Thread Darwish
Hi , I wonder if it possible for camel to add custom property or header on the message that exhausted all redelivery retries and moved to dead letter queue This property may contain serialized version of the exception that lead moving that message to dead letter queue This property will b

Re: Camel route stop consuming

2013-08-05 Thread Willem jiang
Hi, Can you check the status of envioMailProcessor? It could be some thing wrong when sending the mail to user. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blog