Re: I need to set Body by new Pojo each time the router called

2017-03-15 Thread souciance
Why don't you do the new Y() part in your changeYbean? On Wed, Mar 15, 2017 at 12:23 PM, ayman.elshayb [via Camel] < ml-node+s465427n5795518...@n5.nabble.com> wrote: > Hello All, > > I have a problem . I have a sub router . The router get in the body an > object with type x then i need to

Re: camel-jpa and PersistenceException

2017-03-15 Thread jamest
It doesn't look very clean perhaps but adding the try/catch around the whole transactionTemplate.execute() block worked for us. https://github.com/jamesET/camel/blob/master/components/camel-jpa/src/main/java/org/apache/camel/component/jpa/JpaConsumer.java As the stack trace confirms,

Re: Unmarshalling error.

2017-03-15 Thread Tomohisa Igarashi
Just a wild guess though, it may be suggesting that the namespace should be empty while it had "url"? On 03/15/2017 10:35 PM, Siddharth Patil wrote: Hi , I am getting the following error when I am trying to hit the SOAP endpoint. Unmarshalling Error: unexpected element (uri:"url",

Unmarshalling error.

2017-03-15 Thread Siddharth Patil
Hi , I am getting the following error when I am trying to hit the SOAP endpoint. Unmarshalling Error: unexpected element (uri:"url", local:“objectname”). Expected elements are <{}objectname> Can anyone tell me what

Re: AWS Kinesis URI sequenceNumber unknown parameter

2017-03-15 Thread elaufis
This has been resolved. The issue was that an older version of the amazon-kinesis-client was being used for the CamelContext: com.amazonaws amazon-kinesis-client 1.6.5 This was incompatible with the Camel Kinesis component 2.18.1. *Solution*:

I need to set Body by new Pojo each time the router called

2017-03-15 Thread ayman.elshayb
Hello All, I have a problem . I have a sub router . The router get in the body an object with type x then i need to convert x to y then i need to do series of changes to x and return back x . To do this , i have done the following DSL

Re: AWS Kinesis URI sequenceNumber unknown parameter

2017-03-15 Thread Tomohisa Igarashi
Hmm weird, actually the sequenceNumber is already there in 2.18.1 https://github.com/apache/camel/blob/camel-2.18.1/components/camel-aws/src/main/java/org/apache/camel/component/aws/kinesis/KinesisEndpoint.java#L51 As following test is specifying it, you may want to run it through the debugger

Re: AWS Kinesis URI sequenceNumber unknown parameter

2017-03-15 Thread elaufis
I have checked the docs for 2.18.x here: https://github.com/apache/camel/blob/camel-2.18.x/components/camel-aws/src/main/docs/aws-kinesis-component.adoc The parameter name hasn't changed, so I still have the issue. -- View this message in context:

Re: camel-jsonpath to filter classname with path

2017-03-15 Thread Claus Ibsen
Hi Look at the jsonpath project and the syntax it uses, its not a Camel question you have but a json path question. On Wed, Mar 15, 2017 at 9:55 AM, partha006 wrote: > My route to filter the json classname with class is > > > >

camel-jsonpath to filter classname with path

2017-03-15 Thread partha006
My route to filter the json classname with class is $..com.mycompany.app10.Person My sample input is

Re: AWS Kinesis URI sequenceNumber unknown parameter

2017-03-15 Thread Claus Ibsen
Look in the docs for your version eg 2.18.1 On Wed, Mar 15, 2017 at 9:32 AM, elaufis wrote: > I am using the Camel 2.18.1 Kinesis component. > > When I try to use the 'sequenceNumber' parameter in the Kinesis URI as > below: > >

AWS Kinesis URI sequenceNumber unknown parameter

2017-03-15 Thread elaufis
I am using the Camel 2.18.1 Kinesis component. When I try to use the 'sequenceNumber' parameter in the Kinesis URI as below: aws-kinesis://DataFeedStream?amazonKinesisClient=#kinesisClient=30s=5=6=true=DEBUG=AFTER_SEQUENCE_NUMBER=49571334517568117679905736569937663848287351789108330498 I get