CronScheduledRoutePolicy

2016-04-11 Thread Minh Tran
Hi I have a use case where I’d like a route to run only between certain times of the day, let’s say 9am-5pm. This route policy looks like it will do the job but I have some concerns. It appears as though it triggers stop/start transitions only on the cron schedule I provide which make sense.

Re: Camel consuming from multiple queues but with different options

2016-04-11 Thread Quinn Stevenson
I think you’ll need multiple routes as I don’t think you can have to elements in the same route. You can setup your routes so they send to a direct endpoint ( , and then have a for the actual processing. > On Apr 11, 2016, at 5:08 PM, rbkumar88 wrote: > > Hi, > > I am able to split the co

Re: Camel consuming from multiple queues but with different options

2016-04-11 Thread rbkumar88
Hi, I am able to split the consumer config into two from URI's. But am getting the following error for one of the following queue JmsConsumer[queue1] WARN: Setup of JMS message listener invoker failed for destination 'queue1' - trying to recover. Cause: ${header.check} = 'Y' Setup: Cons

CronScheduledRoutePolicy

2016-04-11 Thread Minh Tran
Hi I have a use case where I’d like a route to run only between certain times of the day, let’s say 9am-5pm. This route policy looks like it will do the job but I have some concerns. It appears as though it triggers stop/start transitions only on the cron schedule I provide which make sense.

AMQP & Artemis

2016-04-11 Thread John D. Ament
Hi, I was trying to setup the AMQP component to talk to an Artemis server (1.2.0). I know that artemis has some support for automatic destination creation. I'm not seeing this behavior, is there some special setting I need to set? Setup of JMS message listener invoker failed for destination 'in

How do we to setup retries and interval when using Consumer template

2016-04-11 Thread Premkumar
How do we to setup retries and interval when using Consumer template. I tried below code but consumer receive method returns null and consumer stops. Is there any any thing i am missing here. Appreciate your help. consumerTemplate.start(); /* Sample srcEndpoint "ftp://batch.co

Re: Accessing the HTTP Response Code with netty4

2016-04-11 Thread Alex Soto
It was my fault, I had a custom Trace Formatter that was printing null mistakenly. Best regards, Alex soto > On Apr 9, 2016, at 3:11 AM, Claus Ibsen wrote: > > That would be a bit odd as this is the code that maps the netty status to > Camel > > headers.put(Exchange.HTTP_RESPONSE_CODE,

Reason why namespaces is not available as attribute for

2016-04-11 Thread Charles Moulliard
Hi, The XMLSecure DataFormat doesn't propose as atrribute within the XMLSecure tag the attribute for the namespaces as the annotation @XMLTransient us defined within the class for JAXB @Metadata(label = "dataformat,transformation", title = "XML Security") @XmlRootElement(name = "secureXML") @XmlA

Guaranteed file processing - JMS and file producer

2016-04-11 Thread glenn
Hi I’ve been looking at how to use camel-jms to consume xml from a persistent queue, do some minor transformation/validation of the xml and either output a single file or route a message to an error queue. The ultimate goal is to ensure that ALL messages are consumed and either a file is create

Re: Email not copied to sent items

2016-04-11 Thread Walzer, Thomas
You can try to send (cc:) the mail not only to the intended recipients but to your mailbox as well. Then use a rule to sort it as needed. Other than that I see no options. > Am 11.04.2016 um 04:16 schrieb NewCamelDev : > > Thanks Walzer. Thanks for your reply. I am not an expert in mail servers