REST DSL Exception Handling

2014-12-12 Thread restful camel
Hi, Newbie to Camel. I want to handle a specific exception (JsonParseException) which is thrown when the Rest webservice configured in the camelContext (Spring DSL) is invoked. Right now, the JsonParseException is being caught by the Camel Context Error handler - however, I want to be able to

Re: HMSET problem with Camel Spring Redis component

2014-12-12 Thread gmh
Okay I did something stupid.. Instead of setHeader headerName=CamelRedis.Values I did setHeader headerName=CamelRedis.Value for hmset But now I am having a really strange exception: Stacktrace

HMSET problem with Camel Spring Redis component

2014-12-12 Thread gmh
Hi, I have questions regarding the camel-spring-redis component. I have a rabbitmq producer that send out a json. From other people's suggestions I took the json and converts into a Map which I can then use simple expression language. Below is my configuration: route

Re: Using camel without spring

2014-12-12 Thread yogu13
Hi claus, is there an example for using Camel and Guice with xml DSL for configuring Routes? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Using-camel-without-spring-tp5760251p5760616.html Sent from the Camel - Users mailing list archive at Nabble.com.

Using client_acknowledgement mode in route query

2014-12-12 Thread gilboy
Hi I have a route which consumes a message of a queue, transforms it and and sends the transformed message to a REST endpoint. The JMS consumer is configured to use client_acknowledge mode. Hence, the message will not get de-queued until I get a successful response from the REST endpoint. The

Re: REST DSL Exception Handling

2014-12-12 Thread Claus Ibsen
Hi Where does this exception happen? You can try setting consumer.bridgeErrorHandler=true http://camel.apache.org/why-does-my-file-consumer-not-pick-up-the-file-and-how-do-i-let-the-file-consumer-use-the-camel-error-handler.html You would need to set this with rest-dsl as a consumer property

Re: Using camel without spring

2014-12-12 Thread Claus Ibsen
Hi Not that I recall. But check out camel-guice. Instead of guice I would look into CDI instead. On Fri, Dec 12, 2014 at 10:57 AM, yogu13 yogesh@synechron.com wrote: Hi claus, is there an example for using Camel and Guice with xml DSL for configuring Routes? Regards, -Yogesh

Re: Using client_acknowledgement mode in route query

2014-12-12 Thread Claus Ibsen
Hi As its client mode, you need to call that acknoledge method yourself. Camel does not do that for you. On Fri, Dec 12, 2014 at 11:27 AM, gilboy josephoto...@gmail.com wrote: Hi I have a route which consumes a message of a queue, transforms it and and sends the transformed message to a REST

Route executed in sync - one after another

2014-12-12 Thread Svend-Ole Nielsen
Hi all I have a setup where I need to download from several FTP sites - but it needs to be done one after another. I have looked over the documentation, but nothing stands out as being what I need. I have a timer that fires once a day. This timer should trigger the first download route. When

Re: Route executed in sync - one after another

2014-12-12 Thread Christian Schneider
You could try with the polling consumer: http://camel.apache.org/polling-consumer.html In the route triggered by the timer you can use some java code to call the receive() on each endpoint. Christian On 12.12.2014 14:17, Svend-Ole Nielsen wrote: Hi all I have a setup where I need to

AWS-DDB

2014-12-12 Thread Scott Gentry
I'm attempting to write some json data to a Dynamo Table with blueprint XML. While in testing mode I was looking to send data to dynamo local with the following snippet: to uri=aws-ddb://localhost:8000?tableName=scheduleamp;accessKey=Fakeamp;secretKey=Fake / However, when this portion of the

Re: Sending to Syslog

2014-12-12 Thread mtod09
I think I'm seeing a pattern. I thought I could do this using just Spring XML and no code. I'm not a Java programmer so I was hoping to use Spring XML to do all this work. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Sending-to-Syslog-tp5760517p5760636.html

Changes in Java 8 generics breaking Camel

2014-12-12 Thread andrewcelerity
Java 8 made a changes to generics that is currently not allowing camel to start up, and if it did start up would be in a bad state. Bridge methods now get a copy of the annotations placed on the real method. This is bad when combined with Camel annotations. For example: interface SomethingT

ApacheCon NA 2015 :: Austin, TX :: April 13 - 16, 2015

2014-12-12 Thread Christian Müller
Safe the date http://events.linuxfoundation.org/events/apachecon-north-america Best, Christian

Re: LinkedHashMap vs HashMap for Camel redis hmset operation

2014-12-12 Thread scottdawson
Gordon, LinkedHashMap is a class that implements the java.util.Map interface, so, you are getting a Map back. Since Map is an interface you will always get an instance of some class that implements Map so it makes sense that the unmarshal operation is returning a LinkedHashMap. Regards, Scott

Can't find the BindingOperationInfo with operation name {urn:...}login.

2014-12-12 Thread Billy Bain
I get the following exception when trying to invoke the login() method defined in this wsdl. https://webservices.sandbox.netsuite.com/wsdl/v2014_2_0/netsuite.wsdl java.lang.IllegalArgumentException: Can't find the BindingOperationInfo with operation name

Re: Changes in Java 8 generics breaking Camel

2014-12-12 Thread Babak Vahdat
Am 12.12.14 16:48 schrieb andrewcelerity unter and...@celerityglobal.com: Java 8 made a changes to generics that is currently not allowing camel to start up, and if it did start up would be in a bad state. Bridge methods now get a copy of the annotations placed on the real method. This is bad