Re: Changes in Java 8 generics breaking Camel

2014-12-12 Thread Babak Vahdat
Am 12.12.14 16:48 schrieb "andrewcelerity" unter : >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

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 {urn:platform_2014_2.webservices.netsuite.

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 -

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

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 Something {

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 Sent

EventNotifierSupport - Endpoint ID accessible ?

2014-12-12 Thread Michael Täschner
Hi Camel-Riders, using Camel 2.13.2 we extend EventNotifierSupport to implement statistics collection for routes and endpoints. For endpoints we can extract the configured route id via exchange.getFromRouteId() but I can see no way to access the "id" for endpoints in our camel spring dsl, only thi

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: However, when this portion of the route is reached, I receive the following error: 2014-12-11 17:24:00,354 | ERROR | mix-5.3

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 downloa

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 t

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 wrote: > 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

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 wrote: > Hi claus, > > is there an example for using Camel and Guice with xml DSL for configuring > Routes? > > Regards, > -Yogesh > > > > -- > View this

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 htt

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 er

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.

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:

Re: HMSET problem with Camel Spring Redis component

2014-12-12 Thread gmh
Okay I did something stupid.. Instead of I did for hmset But now I am having a really strange exception: Stacktrace --- java.lang.ClassCastException: java.util.A

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 writ