Re: Camel JPA Name Query with Parameters

2017-03-10 Thread Tomohisa Igarashi
Hi, As you can see the parameter name starts with 'consumer', it's a consumer option. Right now JPA producer doesn't support named query yet. I'll work on that enhancement soon. https://issues.apache.org/jira/browse/CAMEL-10265 Thanks, Tomo On 03/11/2017 08:24 AM, urwithsumit wrote: Hi, I h

Camel JPA Name Query with Parameters

2017-03-10 Thread urwithsumit
Hi, I have been going through different post to see how i can use JPA component to invole named query with parameter. I know from documentation that we need to add it to the registry. Right now i am stuck and not able tot find a way to get the parameter to the registry. Below is the route i have.

Re: Tracing performance

2017-03-10 Thread souciance
You can get the processing times of each step buy adding this class to context. https://dzone.com/articles/measure-elapsed-time-camel-0 On Fri, Mar 10, 2017 at 8:41 PM, catequil [via Camel] < ml-node+s465427n5795264...@n5.nabble.com> wrote: > I would like to be able to print out in the logs tempo

Tracing performance

2017-03-10 Thread catequil
I would like to be able to print out in the logs temporarily a traceRoute with processing times. similar to the message history, but without an exception happening. Is there a way at the end of the route to print the message history or is there a better way to diagnose performance? -- View thi

Regarding Kafka Component Offset Auto Commit

2017-03-10 Thread wriiblo
Hi, I have a few questions regarding Kafka component's offset management. 1) On the consumer side, there is a configuration called 'autoCommitEnable' according to the documentation. (http://camel.apache.org/kafka.html) This configuration seems synonymous to auto.commit.enabledescribed in Apac

Re: Camel xmlJson not working properly?

2017-03-10 Thread Preben.Asmussen
It depends on your needs. I tend to flatten the json structure in the same way that xml2json does in the example above. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-xmlJson-not-working-properly-tp5795194p5795232.html Sent from the Camel - Users mailing list archive

Re: Camel xmlJson not working properly?

2017-03-10 Thread Ranabroto
Did you not miss the InstallKey element name ? Should it not be like below { "Version": "2.0", "ErrorCode": "0", "ErrorMsg": "OK", "Value": {"InstallKey": [{ "CustomerProductId": "5957152", "KeyPoolName": "Standard_EMEA",

Re: what does camel.transactionKey actually mean

2017-03-10 Thread Claus Ibsen
Ask the computer ;) Its the id of the transaction template and it ought to be different when you do these transaction switches. On Wed, Mar 8, 2017 at 10:39 AM, erik_romson wrote: > in the documentation > > /The id of the transaction for transacted exchanges. Note the id is not > unique, but its

Re: Intermittent issue, Camel-FTP : GenericFileOperationFailedException: Error writing file

2017-03-10 Thread sshivampp
I have configured the error handler but somehow the code doesn't land in catch when this exception occurs and file gets stuck in "processing" directory. .doCatch(Exception.class) .process(new Processor() {

Re: Intermittent issue, Camel-FTP : GenericFileOperationFailedException: Error writing file

2017-03-10 Thread Claus Ibsen
Yes you can configure Camel's error handler to retry with the redelivery options On Fri, Mar 10, 2017 at 8:44 AM, sshivampp wrote: > Thanks for quick reply ! > Sorry I missed to inform the version I'm using. It's 2.12.1. > > And about "re-connect on each file".I will be having lots of files to >